Fix first testcase in #1391
authorEddie Hung <eddie@fpgeh.com>
Sat, 21 Sep 2019 00:42:36 +0000 (17:42 -0700)
committerEddie Hung <eddie@fpgeh.com>
Sat, 21 Sep 2019 00:51:27 +0000 (17:51 -0700)
passes/techmap/abc9.cc
passes/techmap/techmap.cc

index 7eac08d17b40da774828071e63b33bece4047be3..7715fb291baecf2aa71d1c9c18c6c8f403f4d071 100644 (file)
@@ -30,7 +30,7 @@
                                                "&st; &if -g -K 6; &synch2; &if {W} -v; &save; &load; "\
                                                "&mfs; &ps -l"
 #else
-#define ABC_COMMAND_LUT "&st; &scorr; &sweep; &dc2; &st; &dch -f; &ps; &if {W} {D} -v; &mfs; &ps -l"
+#define ABC_COMMAND_LUT "&st; &scorr; &sweep; &dc2; &st; &dch -f; &ps; &if {W} {D} -v -w; &mfs; &ps -l"
 #endif
 
 
index cf40b2f170210fd143a59e23f2b0ab4d02fab8ab..3cc3edbcb60049ed8a2de6ad2b36fef66052d40e 100644 (file)
@@ -224,7 +224,7 @@ struct TechmapWorker
 
                                        for (auto bit : sigmaps.at(tpl)(it.second))
                                                if (bit.wire != nullptr)
-                                                       autopurge_tpl_bits.insert(it.second);
+                                                       autopurge_tpl_bits.insert(bit);
                                }
                        }
                        IdString w_name = it.second->name;