From 611f121cb9fb8a451e891356a6260f4b299afc7d Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Fri, 27 May 2016 16:33:13 +0200 Subject: [PATCH] Fixed "scc" for cells that have feedback singals _and_ are part of a larger loop --- passes/cmds/scc.cc | 6 +++--- 1 file 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)); -- 2.30.2