diff options
author | Eddie Hung <eddie@fpgeh.com> | 2020-01-06 09:44:00 -0800 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2020-01-06 09:44:00 -0800 |
commit | 020606f81c39df234d7a3f5e3e605e5f27422d87 (patch) | |
tree | 8334168ea6ad76983226fa3bbc631ff151d4fedd /passes/cmds/scc.cc | |
parent | 36d79c80d05f93cd4cb565fe7a92d7cb88683852 (diff) | |
parent | b5f60e055d07579a2d4f23fc053ca030f103f377 (diff) | |
download | yosys-020606f81c39df234d7a3f5e3e605e5f27422d87.tar.gz yosys-020606f81c39df234d7a3f5e3e605e5f27422d87.tar.bz2 yosys-020606f81c39df234d7a3f5e3e605e5f27422d87.zip |
Merge remote-tracking branch 'origin/eddie/abc9_refactor' into xaig_arrival_required
Diffstat (limited to 'passes/cmds/scc.cc')
-rw-r--r-- | passes/cmds/scc.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/passes/cmds/scc.cc b/passes/cmds/scc.cc index 99f4fbae8..dd26f8258 100644 --- a/passes/cmds/scc.cc +++ b/passes/cmds/scc.cc @@ -301,10 +301,10 @@ struct SccPass : public Pass { RTLIL::Selection newSelection(false); int scc_counter = 0; - for (auto &mod_it : design->modules_) - if (design->selected(mod_it.second)) + for (auto mod : design->modules()) + if (!mod->get_blackbox_attribute() && design->selected(mod)) { - SccWorker worker(design, mod_it.second, nofeedbackMode, allCellTypes, maxDepth); + SccWorker worker(design, mod, nofeedbackMode, allCellTypes, maxDepth); if (!setAttr.empty()) { |