mirror of https://github.com/YosysHQ/yosys.git
Fix write_aiger bug added in 524af21
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
81876a3734
commit
5110a34dd7
|
@ -91,6 +91,9 @@ struct AigerWriter
|
||||||
} else
|
} else
|
||||||
if (alias_map.count(bit)) {
|
if (alias_map.count(bit)) {
|
||||||
a = bit2aig(alias_map.at(bit));
|
a = bit2aig(alias_map.at(bit));
|
||||||
|
} else
|
||||||
|
if (initstate_bits.count(bit)) {
|
||||||
|
a = initstate_ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bit == State::Sx || bit == State::Sz)
|
if (bit == State::Sx || bit == State::Sz)
|
||||||
|
|
Loading…
Reference in New Issue