projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b64b38e
)
Bugfix in iopadmap
author
Clifford Wolf
<clifford@clifford.at>
Fri, 15 Aug 2014 12:29:42 +0000
(14:29 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Fri, 15 Aug 2014 12:29:42 +0000
(14:29 +0200)
passes/techmap/iopadmap.cc
patch
|
blob
|
history
diff --git
a/passes/techmap/iopadmap.cc
b/passes/techmap/iopadmap.cc
index 194e06a4a33ff563099c467eb8b8017cf6eb1b78..9cd23ce6f1823b2feecf6ddbd2e0ae175c0ec36e 100644
(file)
--- a/
passes/techmap/iopadmap.cc
+++ b/
passes/techmap/iopadmap.cc
@@
-164,8
+164,10
@@
struct IopadmapPass : public Pass {
log("Mapping port %s.%s using %s.\n", RTLIL::id2cstr(module->name), RTLIL::id2cstr(wire->name), celltype.c_str());
RTLIL::Wire *new_wire = NULL;
- if (!portname2.empty())
+ if (!portname2.empty())
{
new_wire = module->addWire(NEW_ID, wire);
+ module->swap_names(new_wire, wire);
+ }
if (flag_bits)
{