3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-06 17:44:09 +00:00

kernel: Module::makeblackbox() to clear connections too

This commit is contained in:
Eddie Hung 2020-04-13 20:37:22 -07:00
parent 840bb17089
commit 9547d8c13e

View file

@ -767,6 +767,8 @@ void RTLIL::Module::makeblackbox()
delete it->second;
processes.clear();
connections_.clear();
remove(delwires);
set_bool_attribute(ID::blackbox);
}