projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f728bc
)
read_aiger: discard LUT inputs with nodeID == 0; not < 2
author
Eddie Hung
<eddie@fpgeh.com>
Tue, 21 Jan 2020 19:56:01 +0000
(11:56 -0800)
committer
Eddie Hung
<eddie@fpgeh.com>
Tue, 21 Jan 2020 19:56:30 +0000
(11:56 -0800)
frontends/aiger/aigerparse.cc
patch
|
blob
|
history
diff --git
a/frontends/aiger/aigerparse.cc
b/frontends/aiger/aigerparse.cc
index 52bcfa0b6b13207097d0a333a3c73fbf50685681..e7478c3164cd79f5f0a6a20b2c920948bcddaf3b 100644
(file)
--- a/
frontends/aiger/aigerparse.cc
+++ b/
frontends/aiger/aigerparse.cc
@@
-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;
}