Added "yosys-smtbmc -s abc"

This commit is contained in:
Clifford Wolf 2016-10-01 13:54:21 +02:00
parent 23594597bc
commit 4eb0d6fc0e
1 changed files with 4 additions and 0 deletions

View File

@ -92,6 +92,10 @@ class SmtIo:
popen_vargs = ['boolector', '--smt2', '-i'] popen_vargs = ['boolector', '--smt2', '-i']
self.unroll = True self.unroll = True
if self.solver == "abc":
popen_vargs = ['yosys-abc', '-S', '%blast; &sweep -C 5000; &syn4; &cec -s -m -C 2000']
self.unroll = True
if self.solver == "dummy": if self.solver == "dummy":
assert self.dummy_file is not None assert self.dummy_file is not None
self.dummy_fd = open(self.dummy_file, "r") self.dummy_fd = open(self.dummy_file, "r")