projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98650a0
)
Fixed "avail_parameters" handling in module clone/copy
author
Clifford Wolf
<clifford@clifford.at>
Mon, 8 Jun 2015 12:49:34 +0000
(14:49 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Mon, 8 Jun 2015 12:49:34 +0000
(14:49 +0200)
kernel/rtlil.cc
patch
|
blob
|
history
diff --git
a/kernel/rtlil.cc
b/kernel/rtlil.cc
index bf0fd1c89d8f707285d841d0cba60a7fcaeff2f5..373a3a5e6c98700b1c0c7469f64c56fa004a2e51 100644
(file)
--- a/
kernel/rtlil.cc
+++ b/
kernel/rtlil.cc
@@
-1158,6
+1158,8
@@
void RTLIL::Module::cloneInto(RTLIL::Module *new_mod) const
log_assert(new_mod->refcount_wires_ == 0);
log_assert(new_mod->refcount_cells_ == 0);
+ new_mod->avail_parameters = avail_parameters;
+
for (auto &conn : connections_)
new_mod->connect(conn);