1
0
mirror of synced 2026-05-05 15:45:07 +00:00

Use selection helpers

Catch more uses of selection constructor without assigning a design.
This commit is contained in:
Krystine Sherwin
2025-03-14 14:08:13 +13:00
parent a67b57bd64
commit dac2bb7d4d
23 changed files with 84 additions and 78 deletions

View File

@@ -42,7 +42,7 @@ struct NlutmapWorker
RTLIL::Selection get_selection()
{
RTLIL::Selection sel(false);
RTLIL::Selection sel(false, false, module->design);
for (auto cell : module->cells())
if (!mapped_cells.count(cell))
sel.select(module, cell);