mirror of https://github.com/YosysHQ/yosys.git
Check results of (check-sat) in yosys-smtbmc
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
a4bbfd2d15
commit
8b604004da
|
@ -646,6 +646,8 @@ class SmtIo:
|
||||||
sys.stderr.flush()
|
sys.stderr.flush()
|
||||||
|
|
||||||
result = self.read()
|
result = self.read()
|
||||||
|
assert result in ["sat", "unsat"]
|
||||||
|
|
||||||
if self.debug_file:
|
if self.debug_file:
|
||||||
print("(set-info :status %s)" % result, file=self.debug_file)
|
print("(set-info :status %s)" % result, file=self.debug_file)
|
||||||
print("(check-sat)", file=self.debug_file)
|
print("(check-sat)", file=self.debug_file)
|
||||||
|
|
Loading…
Reference in New Issue