aboutsummaryrefslogtreecommitdiffstats
path: root/passes
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-01-06 12:29:13 -0800
committerEddie Hung <eddie@fpgeh.com>2020-01-06 12:29:13 -0800
commit4f13ab823fcfc52c91013eb45f0c3886ed8bcc40 (patch)
tree999e159b087ded7d1df6d0a7d316b5b030358e0d /passes
parent36ae2e52e49ee510a0bec45e7faa4ed60fdc760d (diff)
downloadyosys-4f13ab823fcfc52c91013eb45f0c3886ed8bcc40.tar.gz
yosys-4f13ab823fcfc52c91013eb45f0c3886ed8bcc40.tar.bz2
yosys-4f13ab823fcfc52c91013eb45f0c3886ed8bcc40.zip
Revert "scc command to ignore blackboxes"
This reverts commit 32695e5032fcaa932a67f63946ae5e2a1edc8d65.
Diffstat (limited to 'passes')
-rw-r--r--passes/cmds/scc.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/passes/cmds/scc.cc b/passes/cmds/scc.cc
index dd26f8258..99f4fbae8 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 : design->modules())
- if (!mod->get_blackbox_attribute() && design->selected(mod))
+ for (auto &mod_it : design->modules_)
+ if (design->selected(mod_it.second))
{
- SccWorker worker(design, mod, nofeedbackMode, allCellTypes, maxDepth);
+ SccWorker worker(design, mod_it.second, nofeedbackMode, allCellTypes, maxDepth);
if (!setAttr.empty())
{