From: Clifford Wolf Date: Fri, 27 May 2016 14:33:13 +0000 (+0200) Subject: Fixed "scc" for cells that have feedback singals _and_ are part of a larger loop X-Git-Tag: yosys-0.7~213 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=611f121cb9fb8a451e891356a6260f4b299afc7d;p=yosys.git Fixed "scc" for cells that have feedback singals _and_ are part of a larger loop --- 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));