mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #1916 from YosysHQ/eddie/kernel_makeblackbox
kernel: Module::makeblackbox() to clear connections too
This commit is contained in:
commit
dc3d432aaa
|
@ -767,6 +767,8 @@ void RTLIL::Module::makeblackbox()
|
|||
delete it->second;
|
||||
processes.clear();
|
||||
|
||||
connections_.clear();
|
||||
|
||||
remove(delwires);
|
||||
set_bool_attribute(ID::blackbox);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue