mirror of https://github.com/YosysHQ/yosys.git
Fixed "avail_parameters" handling in module clone/copy
This commit is contained in:
parent
98650a0609
commit
de4f4dad3c
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue