Check results of (check-sat) in yosys-smtbmc

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf 2018-03-07 22:54:19 +01:00
parent a4bbfd2d15
commit 8b604004da
1 changed files with 2 additions and 0 deletions

View File

@ -646,6 +646,8 @@ class SmtIo:
sys.stderr.flush()
result = self.read()
assert result in ["sat", "unsat"]
if self.debug_file:
print("(set-info :status %s)" % result, file=self.debug_file)
print("(check-sat)", file=self.debug_file)