aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2016-08-08 11:47:35 +0200
committerClifford Wolf <clifford@clifford.at>2016-08-08 11:47:35 +0200
commit9d15529214f164701ac4f53d0f3a5d4943b8f8dd (patch)
treefaf2c8c2eaeeb5e6c59703a64117a972cd520255
parent88a67afa7d044bd1abb952d7c709876e4159db1a (diff)
downloadyosys-9d15529214f164701ac4f53d0f3a5d4943b8f8dd.tar.gz
yosys-9d15529214f164701ac4f53d0f3a5d4943b8f8dd.tar.bz2
yosys-9d15529214f164701ac4f53d0f3a5d4943b8f8dd.zip
Undo "preserve wire attributes in iopadmap" change (it was OK before)
-rw-r--r--passes/techmap/iopadmap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/techmap/iopadmap.cc b/passes/techmap/iopadmap.cc
index 15ad51c87..4acbf7c0d 100644
--- a/passes/techmap/iopadmap.cc
+++ b/passes/techmap/iopadmap.cc
@@ -312,7 +312,7 @@ struct IopadmapPass : public Pass {
if (!portname2.empty()) {
new_wire = module->addWire(NEW_ID, wire);
module->swap_names(new_wire, wire);
- new_wire->attributes.swap(wire->attributes);
+ wire->attributes.clear();
}
if (flag_bits)