mirror of https://github.com/YosysHQ/yosys.git
kernel: Module::makeblackbox() to clear connections too
This commit is contained in:
parent
840bb17089
commit
9547d8c13e
|
@ -767,6 +767,8 @@ void RTLIL::Module::makeblackbox()
|
||||||
delete it->second;
|
delete it->second;
|
||||||
processes.clear();
|
processes.clear();
|
||||||
|
|
||||||
|
connections_.clear();
|
||||||
|
|
||||||
remove(delwires);
|
remove(delwires);
|
||||||
set_bool_attribute(ID::blackbox);
|
set_bool_attribute(ID::blackbox);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue