mirror of https://github.com/YosysHQ/yosys.git
yosys-smtbmc: added smtc [...] support for cells
This commit is contained in:
parent
4eb0d6fc0e
commit
9aec8a1672
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue