mirror of https://github.com/YosysHQ/yosys.git
Skip if abc_box_id earlier
This commit is contained in:
parent
709f76c107
commit
a20ed260e1
|
@ -1402,14 +1402,14 @@ struct Abc9Pass : public Pass {
|
||||||
|
|
||||||
for (auto mod : design->selected_modules())
|
for (auto mod : design->selected_modules())
|
||||||
{
|
{
|
||||||
|
if (mod->attributes.count("\\abc_box_id"))
|
||||||
|
continue;
|
||||||
|
|
||||||
if (mod->processes.size() > 0) {
|
if (mod->processes.size() > 0) {
|
||||||
log("Skipping module %s as it contains processes.\n", log_id(mod));
|
log("Skipping module %s as it contains processes.\n", log_id(mod));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mod->attributes.count("\\abc_box_id"))
|
|
||||||
continue;
|
|
||||||
|
|
||||||
assign_map.set(mod);
|
assign_map.set(mod);
|
||||||
signal_init.clear();
|
signal_init.clear();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue