Added "yosys-smtbmc -s abc"
authorClifford Wolf <clifford@clifford.at>
Sat, 1 Oct 2016 11:54:21 +0000 (13:54 +0200)
committerClifford Wolf <clifford@clifford.at>
Sat, 1 Oct 2016 11:54:21 +0000 (13:54 +0200)
backends/smt2/smtio.py

index e4eb10972ceabd9247c5bf8e9833edabfcf863e7..cf14333c4ba29d57c887c18cee609ae6dd9f5036 100644 (file)
@@ -92,6 +92,10 @@ class SmtIo:
             popen_vargs = ['boolector', '--smt2', '-i']
             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":
             assert self.dummy_file is not None
             self.dummy_fd = open(self.dummy_file, "r")