projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
840bb17
)
kernel: Module::makeblackbox() to clear connections too
author
Eddie Hung
<eddie@fpgeh.com>
Tue, 14 Apr 2020 03:37:22 +0000
(20:37 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Tue, 14 Apr 2020 03:37:22 +0000
(20:37 -0700)
kernel/rtlil.cc
patch
|
blob
|
history
diff --git
a/kernel/rtlil.cc
b/kernel/rtlil.cc
index d9003f28ce78faccfb53d609d938a608cbed0a46..dc368ead5021b20766c9df6ce831b21016436fce 100644
(file)
--- a/
kernel/rtlil.cc
+++ b/
kernel/rtlil.cc
@@
-767,6
+767,8
@@
void RTLIL::Module::makeblackbox()
delete it->second;
processes.clear();
+ connections_.clear();
+
remove(delwires);
set_bool_attribute(ID::blackbox);
}