mirror of https://github.com/YosysHQ/yosys.git
preserve wire attributes in iopadmap
This commit is contained in:
parent
7f755dec75
commit
90c17aad56
|
@ -312,7 +312,7 @@ struct IopadmapPass : public Pass {
|
|||
if (!portname2.empty()) {
|
||||
new_wire = module->addWire(NEW_ID, wire);
|
||||
module->swap_names(new_wire, wire);
|
||||
wire->attributes.clear();
|
||||
new_wire->attributes.swap(wire->attributes);
|
||||
}
|
||||
|
||||
if (flag_bits)
|
||||
|
|
Loading…
Reference in New Issue