projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f755de
)
preserve wire attributes in iopadmap
author
Clifford Wolf
<clifford@clifford.at>
Sat, 6 Aug 2016 11:24:59 +0000
(13:24 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Sat, 6 Aug 2016 11:24:59 +0000
(13:24 +0200)
passes/techmap/iopadmap.cc
patch
|
blob
|
history
diff --git
a/passes/techmap/iopadmap.cc
b/passes/techmap/iopadmap.cc
index 4acbf7c0ddb73e96b1bc1983ba61589da9936263..15ad51c8770dae0b3d970877bc9dad0312c5e57a 100644
(file)
--- 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);
-
wire->attributes.clear(
);
+
new_wire->attributes.swap(wire->attributes
);
}
if (flag_bits)