read_aiger: do not double-count outputs for flops

This commit is contained in:
Eddie Hung 2020-01-09 08:55:36 -08:00
parent 8a47e6ddfd
commit 943ea4bf9e
1 changed files with 0 additions and 6 deletions

View File

@ -756,12 +756,6 @@ void AigerReader::post_process()
}
for (uint32_t i = 0; i < flopNum; i++) {
log_assert(co_count < outputs.size());
Wire *wire = outputs[co_count++];
log_assert(wire);
log_assert(wire->port_output);
wire->port_output = false;
RTLIL::Wire *d = outputs[outputs.size() - flopNum + i];
log_assert(d);
log_assert(d->port_output);