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
1 changed files with 1 additions and 1 deletions

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);
}