Fix simple_abc9/generate test with 1'bx at MSB

This commit is contained in:
Eddie Hung 2019-06-20 19:37:03 -07:00
parent ad36eb24c0
commit 0e97e6a00d
1 changed files with 1 additions and 1 deletions

View File

@ -492,7 +492,7 @@ void abc9_module(RTLIL::Design *design, RTLIL::Module *current_module, std::stri
if (w->port_output) {
RTLIL::Wire *wire = module->wire(w->name);
log_assert(wire);
for (int i = 0; i < GetSize(wire); i++)
for (int i = 0; i < GetSize(w); i++)
output_bits.insert({wire, i});
}
}