aboutsummaryrefslogtreecommitdiffstats
path: root/backends/smt2
diff options
context:
space:
mode:
Diffstat (limited to 'backends/smt2')
-rw-r--r--backends/smt2/smtio.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/smt2/smtio.py b/backends/smt2/smtio.py
index e4eb10972..cf14333c4 100644
--- a/backends/smt2/smtio.py
+++ b/backends/smt2/smtio.py
@@ -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")