mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-19 07:54:51 +00:00
Added smtc support for top-level state with [], [N:] syntax
This commit is contained in:
parent
1114ce9210
commit
5f6a838823
2 changed files with 3 additions and 1 deletions
|
@ -534,6 +534,8 @@ class SmtIo:
|
|||
def net_expr(self, mod, base, path):
|
||||
if len(path) == 1:
|
||||
assert mod in self.modinfo
|
||||
if path[0] == "":
|
||||
return base
|
||||
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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue