write_xaiger to skip POs driven by 1'bx

This commit is contained in:
Eddie Hung
2019-06-20 17:37:54 -07:00
parent 8e0a47fb92
commit f2d541962e
+7 -3
View File
@@ -152,9 +152,13 @@ struct XAigerWriter
}
if (wire->port_output || keep) {
if (bit != wirebit)
alias_map[wirebit] = bit;
output_bits.insert(wirebit);
if (bit != RTLIL::Sx) {
if (bit != wirebit)
alias_map[wirebit] = bit;
output_bits.insert(wirebit);
}
else
log_debug("Skipping PO '%s' driven by 1'bx\n", log_signal(wirebit));
}
}
}