projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a593ff
)
Handle latch symbols too
author
Eddie Hung
<eddieh@ece.ubc.ca>
Fri, 8 Feb 2019 16:05:27 +0000
(08:05 -0800)
committer
Eddie Hung
<eddieh@ece.ubc.ca>
Fri, 8 Feb 2019 16:05:27 +0000
(08:05 -0800)
frontends/aiger/aigerparse.cc
patch
|
blob
|
history
diff --git
a/frontends/aiger/aigerparse.cc
b/frontends/aiger/aigerparse.cc
index 9504325783d73b58057999d6fe16339af66f093e..a2b2f611e41638f8ced889c2b4f25575455a415c 100644
(file)
--- a/
frontends/aiger/aigerparse.cc
+++ b/
frontends/aiger/aigerparse.cc
@@
-186,7
+186,7
@@
static void parse_aiger_ascii(RTLIL::Design *design, std::istream &f, std::strin
std::string s;
for (int c = f.peek(); c != EOF; c = f.peek(), ++line_count) {
- if (c == 'i' || c == 'o') {
+ if (c == 'i' || c == '
l' || c == '
o') {
f.ignore(1);
if (!(f >> l1 >> s))
log_error("Line %d cannot be interpreted as a symbol entry!\n", line_count);
@@
-202,8
+202,6
@@
static void parse_aiger_ascii(RTLIL::Design *design, std::istream &f, std::strin
module->rename(wire, stringf("\\%s", s.c_str()));
}
- else if (c == 'l') {
- }
else if (c == 'b' || c == 'j' || c == 'f') {
// TODO
}