From: Eddie Hung Date: Tue, 14 Apr 2020 02:08:46 +0000 (-0700) Subject: kernel: Module::makeblackbox() to clear connections + delete wires last X-Git-Tag: working-ls180~549^2~58 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=039c3a59826de4410dd9257262430729fb0b4000;p=yosys.git kernel: Module::makeblackbox() to clear connections + delete wires last --- diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc index 196e301b6..3e5896813 100644 --- a/kernel/rtlil.cc +++ b/kernel/rtlil.cc @@ -776,6 +776,7 @@ void RTLIL::Module::makeblackbox() connections_.clear(); remove(delwires); + set_bool_attribute(ID::blackbox); }