Revert "scc command to ignore blackboxes"

This reverts commit 32695e5032.
This commit is contained in:
Eddie Hung 2020-01-06 12:29:13 -08:00
parent 36ae2e52e4
commit 4f13ab823f
1 changed files with 3 additions and 3 deletions

View File

@ -301,10 +301,10 @@ struct SccPass : public Pass {
RTLIL::Selection newSelection(false);
int scc_counter = 0;
for (auto mod : design->modules())
if (!mod->get_blackbox_attribute() && design->selected(mod))
for (auto &mod_it : design->modules_)
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())
{