mirror of https://github.com/YosysHQ/yosys.git
Fixed "scc" for cells that have feedback singals _and_ are part of a larger loop
This commit is contained in:
parent
33742f4e8f
commit
611f121cb9
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue