diff options
author | Clifford Wolf <clifford@clifford.at> | 2017-02-04 18:17:08 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2017-02-04 18:17:08 +0100 |
commit | 0c0784b6bfa41274d6b9fcd64c4fb061489dd798 (patch) | |
tree | 9f5e0ad12f61bb2aec25b4020eabc48963538adf /backends/smt2/smtio.py | |
parent | 6abf79eb280a645f5896f307dca7afb92d75d25e (diff) | |
download | yosys-0c0784b6bfa41274d6b9fcd64c4fb061489dd798.tar.gz yosys-0c0784b6bfa41274d6b9fcd64c4fb061489dd798.tar.bz2 yosys-0c0784b6bfa41274d6b9fcd64c4fb061489dd798.zip |
Partially implement cover() support in yosys-smtbmc
Diffstat (limited to 'backends/smt2/smtio.py')
-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 3946c3423..dda804efb 100644 --- a/backends/smt2/smtio.py +++ b/backends/smt2/smtio.py @@ -42,6 +42,7 @@ class SmtModInfo: self.wsize = dict() self.cells = dict() self.asserts = dict() + self.covers = dict() self.anyconsts = dict() @@ -331,6 +332,9 @@ class SmtIo: if fields[1] == "yosys-smt2-assert": self.modinfo[self.curmod].asserts[fields[2]] = fields[3] + if fields[1] == "yosys-smt2-cover": + self.modinfo[self.curmod].covers[fields[2]] = fields[3] + if fields[1] == "yosys-smt2-anyconst": self.modinfo[self.curmod].anyconsts[fields[2]] = fields[3] |