Use selection helpers
Catch more uses of selection constructor without assigning a design.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user