mirror of https://github.com/YosysHQ/yosys.git
write_xaiger to skip POs driven by 1'bx
This commit is contained in:
parent
cdbcd2efbd
commit
efdb057c6a
|
@ -152,9 +152,13 @@ struct XAigerWriter
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wire->port_output || keep) {
|
if (wire->port_output || keep) {
|
||||||
if (bit != wirebit)
|
if (bit != RTLIL::Sx) {
|
||||||
alias_map[wirebit] = bit;
|
if (bit != wirebit)
|
||||||
output_bits.insert(wirebit);
|
alias_map[wirebit] = bit;
|
||||||
|
output_bits.insert(wirebit);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
log_debug("Skipping PO '%s' driven by 1'bx\n", log_signal(wirebit));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue