3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 14:13:23 +00:00

Improved handling of SMT2 logics in yosys-smtbmc

This commit is contained in:
Clifford Wolf 2016-09-18 20:48:09 +02:00
parent 13a03b84d4
commit d009cdd6ee
3 changed files with 49 additions and 11 deletions

View file

@ -278,12 +278,10 @@ def print_msg(msg):
sys.stdout.flush()
print_msg("Solver: %s" % (so.solver))
smt.setup("QF_AUFBV")
with open(args[0], "r") as f:
for line in f:
smt.write(line)
smt.info(line)
if topmod is None:
topmod = smt.topmod