Skip if abc_box_id earlier

This commit is contained in:
Eddie Hung 2019-04-17 16:36:03 -07:00
parent 709f76c107
commit a20ed260e1
1 changed files with 3 additions and 3 deletions

View File

@ -1402,14 +1402,14 @@ struct Abc9Pass : public Pass {
for (auto mod : design->selected_modules())
{
if (mod->attributes.count("\\abc_box_id"))
continue;
if (mod->processes.size() > 0) {
log("Skipping module %s as it contains processes.\n", log_id(mod));
continue;
}
if (mod->attributes.count("\\abc_box_id"))
continue;
assign_map.set(mod);
signal_init.clear();