Fixed "avail_parameters" handling in module clone/copy

This commit is contained in:
Clifford Wolf 2015-06-08 14:49:34 +02:00
parent 98650a0609
commit de4f4dad3c
1 changed files with 2 additions and 0 deletions

View File

@ -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_wires_ == 0);
log_assert(new_mod->refcount_cells_ == 0); log_assert(new_mod->refcount_cells_ == 0);
new_mod->avail_parameters = avail_parameters;
for (auto &conn : connections_) for (auto &conn : connections_)
new_mod->connect(conn); new_mod->connect(conn);