mirror of https://github.com/YosysHQ/yosys.git
Fixed bug in opt_clean
This commit is contained in:
parent
d07a871d35
commit
77a1462f2d
|
@ -251,7 +251,7 @@ static void rmunused_module_signals(RTLIL::Module *module, bool purge_mode, bool
|
|||
for (int i = 0; i < SIZE(sig); i++) {
|
||||
if (sig[i].wire == NULL)
|
||||
continue;
|
||||
if (!used_signals_nodrivers.check_any(sig)) {
|
||||
if (!used_signals_nodrivers.check_any(sig[i])) {
|
||||
if (!unused_bits.empty())
|
||||
unused_bits += " ";
|
||||
unused_bits += stringf("%zd", i);
|
||||
|
|
Loading…
Reference in New Issue