projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
430a754
)
read_aiger to ignore line after ands for ascii, not binary
author
Eddie Hung
<eddieh@ece.ubc.ca>
Sun, 17 Feb 2019 20:07:14 +0000
(12:07 -0800)
committer
Eddie Hung
<eddieh@ece.ubc.ca>
Sun, 17 Feb 2019 20:07:14 +0000
(12:07 -0800)
frontends/aiger/aigerparse.cc
patch
|
blob
|
history
diff --git
a/frontends/aiger/aigerparse.cc
b/frontends/aiger/aigerparse.cc
index 7df28fe87487964420db48d2453c73267a40835b..a1a0a08a0732376f36d7118080694209dc2ea49e 100644
(file)
--- a/
frontends/aiger/aigerparse.cc
+++ b/
frontends/aiger/aigerparse.cc
@@
-235,6
+235,7
@@
void AigerReader::parse_aiger_ascii()
RTLIL::Wire *i2_wire = createWireIfNotExists(module, l3);
module->addAndGate(NEW_ID, i1_wire, i2_wire, o_wire);
}
+ std::getline(f, line); // Ignore up to start of next line
}
static unsigned parse_next_delta_literal(std::istream &f, unsigned ref)
@@
-342,8
+343,6
@@
void AigerReader::parse_aiger_binary()
and_cell->setPort("\\B", i2_wire);
and_cell->setPort("\\Y", o_wire);
}
- std::getline(f, line); // Ignore up to start of next line
-
}
struct AigerFrontend : public Frontend {