From: Eddie Hung Date: Wed, 17 Apr 2019 23:36:03 +0000 (-0700) Subject: Skip if abc_box_id earlier X-Git-Tag: working-ls180~1237^2~195 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a20ed260e1b12da64bc4b40682c53145f6ffe827;p=yosys.git Skip if abc_box_id earlier --- diff --git a/passes/techmap/abc9.cc b/passes/techmap/abc9.cc index 8b5b172ab..18f860e36 100644 --- a/passes/techmap/abc9.cc +++ b/passes/techmap/abc9.cc @@ -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();