mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-22 13:53:40 +00:00
abc9: break conflict between boxes and outputs
This commit is contained in:
parent
c862b1dbfb
commit
c96e19bd43
2 changed files with 34 additions and 1 deletions
|
@ -432,8 +432,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