projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5199aaf
)
Added missing :produce-models setting to smtio.py
author
Clifford Wolf
<clifford@clifford.at>
Sun, 11 Sep 2016 16:08:56 +0000
(18:08 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Sun, 11 Sep 2016 16:17:22 +0000
(18:17 +0200)
backends/smt2/smtio.py
patch
|
blob
|
history
diff --git
a/backends/smt2/smtio.py
b/backends/smt2/smtio.py
index 62fb5154fc93f95f459f17d92d898905b8ea729f..5d0a784852ea8341f5599d45f7f2ac1ca565dc1f 100644
(file)
--- a/
backends/smt2/smtio.py
+++ b/
backends/smt2/smtio.py
@@
-90,7
+90,7
@@
class SmtIo:
popen_vargs = ['mathsat']
if self.solver == "boolector":
- popen_vargs = ['boolector', '--smt2', '-i'
, '-m'
]
+ popen_vargs = ['boolector', '--smt2', '-i']
self.unroll = True
if self.unroll:
@@
-110,6
+110,7
@@
class SmtIo:
self.topmod = None
def setup(self, logic="ALL", info=None):
+ self.write("(set-option :produce-models true)")
self.write("(set-logic %s)" % logic)
if info is not None:
self.write("(set-info :source |%s|)" % info)