diff options
| author | Eddie Hung <eddie@fpgeh.com> | 2019-09-20 17:42:36 -0700 | 
|---|---|---|
| committer | Eddie Hung <eddie@fpgeh.com> | 2019-09-20 17:51:27 -0700 | 
| commit | 567e5f0aa7816bf92e0f1cb885af6fa333863163 (patch) | |
| tree | 1a14d832b89aad01fa39afcd454f95dc318dcc42 /passes/techmap | |
| parent | f3781f98db227f160e08b2fc7cf8c61f663a56c9 (diff) | |
| download | yosys-567e5f0aa7816bf92e0f1cb885af6fa333863163.tar.gz yosys-567e5f0aa7816bf92e0f1cb885af6fa333863163.tar.bz2 yosys-567e5f0aa7816bf92e0f1cb885af6fa333863163.zip | |
Fix first testcase in #1391
Diffstat (limited to 'passes/techmap')
| -rw-r--r-- | passes/techmap/abc9.cc | 2 | ||||
| -rw-r--r-- | passes/techmap/techmap.cc | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/passes/techmap/abc9.cc b/passes/techmap/abc9.cc index 7eac08d17..7715fb291 100644 --- a/passes/techmap/abc9.cc +++ b/passes/techmap/abc9.cc @@ -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 diff --git a/passes/techmap/techmap.cc b/passes/techmap/techmap.cc index cf40b2f17..3cc3edbcb 100644 --- a/passes/techmap/techmap.cc +++ b/passes/techmap/techmap.cc @@ -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; | 
