yosys-smtbmc: added smtc [...] support for cells

This commit is contained in:
Clifford Wolf 2016-10-02 22:08:30 +02:00
parent 4eb0d6fc0e
commit 9aec8a1672
1 changed files with 2 additions and 0 deletions

View File

@ -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: