From 039c3a59826de4410dd9257262430729fb0b4000 Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Mon, 13 Apr 2020 19:08:46 -0700 Subject: [PATCH] kernel: Module::makeblackbox() to clear connections + delete wires last --- kernel/rtlil.cc | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.30.2