projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eb0d6f
)
yosys-smtbmc: added smtc [...] support for cells
author
Clifford Wolf
<clifford@clifford.at>
Sun, 2 Oct 2016 20:08:30 +0000
(22:08 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Sun, 2 Oct 2016 20:08:30 +0000
(22:08 +0200)
backends/smt2/smtio.py
patch
|
blob
|
history
diff --git
a/backends/smt2/smtio.py
b/backends/smt2/smtio.py
index cf14333c4ba29d57c887c18cee609ae6dd9f5036..f65c87ffbdd8e3ecd681a41c4ed45071a89fcc99 100644
(file)
--- 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: