Do not call abc on modules with abc_box_id attr
authorEddie Hung <eddie@fpgeh.com>
Tue, 16 Apr 2019 18:19:42 +0000 (11:19 -0700)
committerEddie Hung <eddie@fpgeh.com>
Tue, 16 Apr 2019 18:19:42 +0000 (11:19 -0700)
passes/techmap/abc9.cc

index caaff925691e7efa7c9fb03d115aaa4fb3e6bc3c..fbf3a47ee997b19205bbe2f6017683192a030eec 100644 (file)
@@ -1405,6 +1405,9 @@ struct Abc9Pass : public Pass {
                                continue;
                        }
 
+                       if (mod->attributes.count("\\abc_box_id"))
+                               continue;
+
                        assign_map.set(mod);
                        signal_init.clear();