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