write_xaiger to skip POs driven by 1'bx

This commit is contained in:
Eddie Hung 2019-06-20 10:21:57 -07:00
parent cdbcd2efbd
commit efdb057c6a
1 changed files with 7 additions and 3 deletions

View File

@ -152,10 +152,14 @@ struct XAigerWriter
} }
if (wire->port_output || keep) { if (wire->port_output || keep) {
if (bit != RTLIL::Sx) {
if (bit != wirebit) if (bit != wirebit)
alias_map[wirebit] = bit; alias_map[wirebit] = bit;
output_bits.insert(wirebit); output_bits.insert(wirebit);
} }
else
log_debug("Skipping PO '%s' driven by 1'bx\n", log_signal(wirebit));
}
} }
} }