mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-25 19:36:21 +00:00
Merge c96e19bd43 into 9d0cdb8551
This commit is contained in:
commit
7a86c468e5
2 changed files with 34 additions and 1 deletions
|
|
@ -422,8 +422,12 @@ struct XAigerWriter
|
|||
// that has been padded to its full width
|
||||
if (bit == State::Sx)
|
||||
continue;
|
||||
// A bit might be simultaneously a box output
|
||||
// and a primary output. The latter wins.
|
||||
if (input_bits.count(bit))
|
||||
continue;
|
||||
if (aig_map.count(bit))
|
||||
log_error("Visited AIG node more than once; this could be a combinatorial loop that has not been broken\n");
|
||||
log_error("While visiting box outputs, found a signal bit more than once; this could be a combinatorial loop that has not been broken\n");
|
||||
aig_map[bit] = 2*aig_m;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue