Replace assert in xaiger with more useful error message
This commit is contained in:
parent
26e01a67db
commit
83fc5cc28b
@ -432,7 +432,8 @@ struct XAigerWriter
|
||||
// that has been padded to its full width
|
||||
if (bit == State::Sx)
|
||||
continue;
|
||||
log_assert(!aig_map.count(bit));
|
||||
if (aig_map.count(bit))
|
||||
log_error("Visited AIG node more than once; this could be a combinatorial loop that has not been broken - see Yosys bug 2530\n");
|
||||
aig_map[bit] = 2*aig_m;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user