diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-04-19 21:17:12 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2019-04-19 21:17:12 +0200 |
commit | 148caecca30ec4e8ebd459993f28560438131cb8 (patch) | |
tree | 7c5e1ca3143d4003e4b42355cfd3f4187c9f0416 | |
parent | ea2a21445efa49d2e3f4bb730ceb0a9034f7cb7a (diff) | |
download | yosys-148caecca30ec4e8ebd459993f28560438131cb8.tar.gz yosys-148caecca30ec4e8ebd459993f28560438131cb8.tar.bz2 yosys-148caecca30ec4e8ebd459993f28560438131cb8.zip |
Change "ne" to "neq" in btor2 output
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>
-rw-r--r-- | backends/btor/btor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/btor/btor.cc b/backends/btor/btor.cc index 55c494996..91f238fa5 100644 --- 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 = "neq"; if (cell->type == "$ge") btor_op = "gte"; if (cell->type == "$gt") btor_op = "gt"; log_assert(!btor_op.empty()); |