diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-10-01 13:54:21 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-10-01 13:54:21 +0200 |
commit | 4eb0d6fc0e0e6216fc5bd11fb978902efec6c38e (patch) | |
tree | 0d93ea6f0b8e9143bdb5fd25c12a1c1167c45d86 /backends | |
parent | 23594597bc60e576d88ed46f6fa6b0ec5d29bcfa (diff) | |
download | yosys-4eb0d6fc0e0e6216fc5bd11fb978902efec6c38e.tar.gz yosys-4eb0d6fc0e0e6216fc5bd11fb978902efec6c38e.tar.bz2 yosys-4eb0d6fc0e0e6216fc5bd11fb978902efec6c38e.zip |
Added "yosys-smtbmc -s abc"
Diffstat (limited to 'backends')
-rw-r--r-- | backends/smt2/smtio.py | 4 |
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") |