mirror of https://github.com/YosysHQ/yosys.git
read_aiger: discard LUT inputs with nodeID == 0; not < 2
This commit is contained in:
parent
7f728bc116
commit
cd093c00f8
|
@ -414,7 +414,7 @@ void AigerReader::parse_xaiger()
|
|||
for (unsigned j = 0; j < cutLeavesM; ++j) {
|
||||
nodeID = parse_xaiger_literal(f);
|
||||
log_debug2("\t%u\n", nodeID);
|
||||
if (nodeID < 2) {
|
||||
if (nodeID == 0) {
|
||||
log_debug("\tLUT '$lut$aiger%d$%d' input %d is constant!\n", aiger_autoidx, rootNodeID, cutLeavesM);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue