3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-03 21:01:23 +00:00

Fix gcc invalidation behaviour for write_aiger

This commit is contained in:
Eddie Hung 2019-06-20 21:56:02 -07:00
parent 32f8014e12
commit 4422b7311b

View file

@ -89,7 +89,8 @@ struct AigerWriter
aig_map[bit] = mkgate(a0, a1); aig_map[bit] = mkgate(a0, a1);
} else } else
if (alias_map.count(bit)) { if (alias_map.count(bit)) {
aig_map[bit] = bit2aig(alias_map.at(bit)); int a = bit2aig(alias_map.at(bit));
aig_map[bit] = a;
} }
if (bit == State::Sx || bit == State::Sz) if (bit == State::Sx || bit == State::Sz)