projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5accf08
)
Do not change solver output parsing for non-exists-forall problems.
author
Alberto Gonzalez
<boqwxp@airmail.cc>
Thu, 26 Mar 2020 21:23:07 +0000
(21:23 +0000)
committer
Alberto Gonzalez
<boqwxp@airmail.cc>
Thu, 26 Mar 2020 23:00:00 +0000
(23:00 +0000)
backends/smt2/smtio.py
patch
|
blob
|
history
diff --git
a/backends/smt2/smtio.py
b/backends/smt2/smtio.py
index f7b2ec647b3b12c8a4a37fc2b21596349d04d6bd..69f59df793ef4e6eb083bdf63296d02a5c2a926d 100644
(file)
--- a/
backends/smt2/smtio.py
+++ b/
backends/smt2/smtio.py
@@
-704,8
+704,12
@@
class SmtIo:
if msg is not None:
print("%s waiting for solver (%s)" % (self.timestamp(), msg), flush=True)
- result = ""
- while result not in ["sat", "unsat", "unknown"]:
+ if self.forall:
+ result = self.read()
+ while result not in ["sat", "unsat", "unknown"]:
+ print("%s %s: %s" % (self.timestamp(), self.solver, result))
+ result = self.read()
+ else:
result = self.read()
if self.debug_file: