Fixed iopadmap attribute handling
authorClifford Wolf <clifford@clifford.at>
Wed, 4 May 2016 08:48:23 +0000 (10:48 +0200)
committerClifford Wolf <clifford@clifford.at>
Wed, 4 May 2016 08:48:23 +0000 (10:48 +0200)
passes/techmap/iopadmap.cc

index a281210522171e17bdbdb0edbad80ef4635d4716..a26891363e1e233dc4f05b24098461b9c2fea47d 100644 (file)
@@ -163,6 +163,7 @@ struct IopadmapPass : public Pass {
                                if (!portname2.empty()) {
                                        new_wire = module->addWire(NEW_ID, wire);
                                        module->swap_names(new_wire, wire);
+                                       wire->attributes.clear();
                                }
 
                                if (flag_bits)