mirror of https://github.com/YosysHQ/yosys.git
Revert "scc command to ignore blackboxes"
This reverts commit 32695e5032
.
This commit is contained in:
parent
36ae2e52e4
commit
4f13ab823f
|
@ -301,10 +301,10 @@ struct SccPass : public Pass {
|
||||||
RTLIL::Selection newSelection(false);
|
RTLIL::Selection newSelection(false);
|
||||||
int scc_counter = 0;
|
int scc_counter = 0;
|
||||||
|
|
||||||
for (auto mod : design->modules())
|
for (auto &mod_it : design->modules_)
|
||||||
if (!mod->get_blackbox_attribute() && design->selected(mod))
|
if (design->selected(mod_it.second))
|
||||||
{
|
{
|
||||||
SccWorker worker(design, mod, nofeedbackMode, allCellTypes, maxDepth);
|
SccWorker worker(design, mod_it.second, nofeedbackMode, allCellTypes, maxDepth);
|
||||||
|
|
||||||
if (!setAttr.empty())
|
if (!setAttr.empty())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue