3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-05 17:14:08 +00:00

Merge pull request #1916 from YosysHQ/eddie/kernel_makeblackbox

kernel: Module::makeblackbox() to clear connections too
This commit is contained in:
Eddie Hung 2020-04-15 08:42:39 -07:00 committed by GitHub
commit dc3d432aaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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