Undo "preserve wire attributes in iopadmap" change (it was OK before)
authorClifford Wolf <clifford@clifford.at>
Mon, 8 Aug 2016 09:47:35 +0000 (11:47 +0200)
committerClifford Wolf <clifford@clifford.at>
Mon, 8 Aug 2016 09:47:35 +0000 (11:47 +0200)
passes/techmap/iopadmap.cc

index 15ad51c8770dae0b3d970877bc9dad0312c5e57a..4acbf7c0ddb73e96b1bc1983ba61589da9936263 100644 (file)
@@ -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)