diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-05-27 16:33:13 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-05-27 16:33:13 +0200 |
commit | 611f121cb9fb8a451e891356a6260f4b299afc7d (patch) | |
tree | e64e6a22d9f783ee6d400e0019d5cb470af4f0df /passes | |
parent | 33742f4e8f5b39940a1dc6aa9582e94516cd0a5f (diff) | |
download | yosys-611f121cb9fb8a451e891356a6260f4b299afc7d.tar.gz yosys-611f121cb9fb8a451e891356a6260f4b299afc7d.tar.bz2 yosys-611f121cb9fb8a451e891356a6260f4b299afc7d.zip |
Fixed "scc" for cells that have feedback singals _and_ are part of a larger loop
Diffstat (limited to 'passes')
-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 007172406..bb6d74474 100644 --- a/passes/cmds/scc.cc +++ b/passes/cmds/scc.cc @@ -181,10 +181,10 @@ struct SccWorker cell2scc[cell] = sccList.size(); scc.insert(cell); sccList.push_back(scc); - workQueue.erase(cell); log("\n"); - } else - run(cell, 0, maxDepth); + } + + run(cell, 0, maxDepth); } log("Found %d SCCs in module %s.\n", int(sccList.size()), RTLIL::id2cstr(module->name)); |