From: Clifford Wolf Date: Mon, 8 Aug 2016 09:47:35 +0000 (+0200) Subject: Undo "preserve wire attributes in iopadmap" change (it was OK before) X-Git-Tag: yosys-0.7~151 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d15529214f164701ac4f53d0f3a5d4943b8f8dd;p=yosys.git Undo "preserve wire attributes in iopadmap" change (it was OK before) --- 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)