mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 19:05:52 +00:00
Using design->selected_modules() in opt_*
This commit is contained in:
parent
5b41470e15
commit
a8f4a099b5
5 changed files with 20 additions and 36 deletions
|
@ -1002,7 +1002,7 @@ struct OptConstPass : public Pass {
|
|||
}
|
||||
extra_args(args, argidx, design);
|
||||
|
||||
for (auto module : design->modules())
|
||||
for (auto module : design->selected_modules())
|
||||
{
|
||||
if (undriven)
|
||||
replace_undriven(design, module);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue