3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-07 09:55:20 +00:00

check: Consider read ports in loop detection

This commit is contained in:
Martin Povišer 2024-02-12 11:10:41 +01:00
parent 3a1ef44564
commit b6112b3551

View file

@ -220,7 +220,7 @@ struct CheckPass : public Pass {
}
}
if (yosys_celltypes.cell_evaluable(cell->type))
if (yosys_celltypes.cell_evaluable(cell->type) || cell->type.in(ID($mem_v2), ID($memrd), ID($memrd_v2)))
edges_db.add_edges_from_cell(cell);
}