mirror of https://github.com/YosysHQ/yosys.git
kernel: Module::makeblackbox() to clear connections + delete wires last
This commit is contained in:
parent
fe7965e0ee
commit
039c3a5982
|
@ -776,6 +776,7 @@ void RTLIL::Module::makeblackbox()
|
||||||
connections_.clear();
|
connections_.clear();
|
||||||
|
|
||||||
remove(delwires);
|
remove(delwires);
|
||||||
|
|
||||||
set_bool_attribute(ID::blackbox);
|
set_bool_attribute(ID::blackbox);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue