diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-10-02 22:08:30 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-10-02 22:08:30 +0200 |
commit | 9aec8a1672226e0bc74f9ec1dc66c446a59f0143 (patch) | |
tree | d5fdd2d6fa1c686d79b90caaeaf5b646d8390a8b /backends/smt2 | |
parent | 4eb0d6fc0e0e6216fc5bd11fb978902efec6c38e (diff) | |
download | yosys-9aec8a1672226e0bc74f9ec1dc66c446a59f0143.tar.gz yosys-9aec8a1672226e0bc74f9ec1dc66c446a59f0143.tar.bz2 yosys-9aec8a1672226e0bc74f9ec1dc66c446a59f0143.zip |
yosys-smtbmc: added smtc [...] support for cells
Diffstat (limited to 'backends/smt2')
-rw-r--r-- | backends/smt2/smtio.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/smt2/smtio.py b/backends/smt2/smtio.py index cf14333c4..f65c87ffb 100644 --- a/backends/smt2/smtio.py +++ b/backends/smt2/smtio.py @@ -511,6 +511,8 @@ class SmtIo: def net_expr(self, mod, base, path): if len(path) == 1: assert mod in self.modinfo + if path[0] in self.modinfo[mod].cells: + return "(|%s_h %s| %s)" % (mod, path[0], base) if path[0] in self.modinfo[mod].wsize: return "(|%s_n %s| %s)" % (mod, path[0], base) if path[0] in self.modinfo[mod].memories: |