diff options
author | Eddie Hung <eddie@fpgeh.com> | 2020-04-13 20:37:22 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2020-04-13 20:37:22 -0700 |
commit | 9547d8c13eb8279d383f0efcf0ad33a54469b878 (patch) | |
tree | 76f2c5d2c23aec431f210e34cc610dd3db750dc3 /kernel | |
parent | 840bb170896c1acbbd321c4214df1f3b15108466 (diff) | |
download | yosys-9547d8c13eb8279d383f0efcf0ad33a54469b878.tar.gz yosys-9547d8c13eb8279d383f0efcf0ad33a54469b878.tar.bz2 yosys-9547d8c13eb8279d383f0efcf0ad33a54469b878.zip |
kernel: Module::makeblackbox() to clear connections too
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/rtlil.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc index d9003f28c..dc368ead5 100644 --- 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); } |