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