diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-02-03 23:45:01 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-02-03 23:45:01 +0100 |
commit | a8f4a099b5f1c51ccd46d875c874bbb1e7e5766b (patch) | |
tree | 35ee64182a3c170e86b1f10a52446d23171eea83 /passes/opt/opt_const.cc | |
parent | 5b41470e151e3b1019e87dfddf900cea51922409 (diff) | |
download | yosys-a8f4a099b5f1c51ccd46d875c874bbb1e7e5766b.tar.gz yosys-a8f4a099b5f1c51ccd46d875c874bbb1e7e5766b.tar.bz2 yosys-a8f4a099b5f1c51ccd46d875c874bbb1e7e5766b.zip |
Using design->selected_modules() in opt_*
Diffstat (limited to 'passes/opt/opt_const.cc')
-rw-r--r-- | passes/opt/opt_const.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/opt/opt_const.cc b/passes/opt/opt_const.cc index 55da987af..1758a34fa 100644 --- a/passes/opt/opt_const.cc +++ b/passes/opt/opt_const.cc @@ -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); |