mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-29 23:43:16 +00:00
Use selection helpers
Catch more uses of selection constructor without assigning a design.
This commit is contained in:
parent
a67b57bd64
commit
dac2bb7d4d
23 changed files with 84 additions and 78 deletions
|
@ -340,7 +340,7 @@ struct SccPass : public Pass {
|
|||
int origSelectPos = design->selection_stack.size() - 1;
|
||||
extra_args(args, argidx, design);
|
||||
|
||||
RTLIL::Selection newSelection(false);
|
||||
RTLIL::Selection newSelection(false, false, design);
|
||||
int scc_counter = 0;
|
||||
|
||||
for (auto mod : design->selected_modules())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue