aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/techmap.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-09-20 17:42:36 -0700
committerEddie Hung <eddie@fpgeh.com>2019-09-20 17:51:27 -0700
commit567e5f0aa7816bf92e0f1cb885af6fa333863163 (patch)
tree1a14d832b89aad01fa39afcd454f95dc318dcc42 /passes/techmap/techmap.cc
parentf3781f98db227f160e08b2fc7cf8c61f663a56c9 (diff)
downloadyosys-567e5f0aa7816bf92e0f1cb885af6fa333863163.tar.gz
yosys-567e5f0aa7816bf92e0f1cb885af6fa333863163.tar.bz2
yosys-567e5f0aa7816bf92e0f1cb885af6fa333863163.zip
Fix first testcase in #1391
Diffstat (limited to 'passes/techmap/techmap.cc')
-rw-r--r--passes/techmap/techmap.cc2
1 files changed, 1 insertions, 1 deletions
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;