projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7fe268f
)
scc command to ignore blackboxes
author
Eddie Hung
<eddie@fpgeh.com>
Fri, 3 Jan 2020 00:06:39 +0000
(16:06 -0800)
committer
Eddie Hung
<eddie@fpgeh.com>
Fri, 3 Jan 2020 00:06:39 +0000
(16:06 -0800)
passes/cmds/scc.cc
patch
|
blob
|
history
diff --git
a/passes/cmds/scc.cc
b/passes/cmds/scc.cc
index 99f4fbae8799ff5c19c1b99d94154ab35c95d260..dd26f82586052082c6565d4b2cd4a6fb5ddab3d9 100644
(file)
--- 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;
RTLIL::Selection newSelection(false);
int scc_counter = 0;
- for (auto
&mod_it : design->modules_
)
- if (
design->selected(mod_it.secon
d))
+ for (auto
mod : design->modules()
)
+ if (
!mod->get_blackbox_attribute() && design->selected(mo
d))
{
{
- SccWorker worker(design, mod
_it.second
, nofeedbackMode, allCellTypes, maxDepth);
+ SccWorker worker(design, mod, nofeedbackMode, allCellTypes, maxDepth);
if (!setAttr.empty())
{
if (!setAttr.empty())
{