projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea2a214
)
Change "ne" to "neq" in btor2 output
author
Clifford Wolf
<clifford@clifford.at>
Fri, 19 Apr 2019 19:17:12 +0000
(21:17 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Fri, 19 Apr 2019 19:17:12 +0000
(21:17 +0200)
we need to do this because they changed the parser:
https://github.com/Boolector/btor2tools/commit/
e97fc9cedabadeec4f621de22096e514f862c690
Signed-off-by: Clifford Wolf <clifford@clifford.at>
backends/btor/btor.cc
patch
|
blob
|
history
diff --git
a/backends/btor/btor.cc
b/backends/btor/btor.cc
index 55c494996463c0bc14118f29a9de80af1d4dde81..91f238fa5eb31e9bc78b18b747294992e3b6a1a7 100644
(file)
--- a/
backends/btor/btor.cc
+++ b/
backends/btor/btor.cc
@@
-340,7
+340,7
@@
struct BtorWorker
if (cell->type == "$lt") btor_op = "lt";
if (cell->type == "$le") btor_op = "lte";
if (cell->type.in("$eq", "$eqx")) btor_op = "eq";
- if (cell->type.in("$ne", "$nex")) btor_op = "ne";
+ if (cell->type.in("$ne", "$nex")) btor_op = "ne
q
";
if (cell->type == "$ge") btor_op = "gte";
if (cell->type == "$gt") btor_op = "gt";
log_assert(!btor_op.empty());