mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-03 09:50:24 +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
|
@ -249,7 +249,7 @@ def get_constr_expr(db, state, final=False, getvalues=False):
|
|||
if state not in db:
|
||||
return ([], [], []) if getvalues else "true"
|
||||
|
||||
netref_regex = re.compile(r'(^|[( ])\[(-?[0-9]+:|)([^\]]+)\](?=[ )]|$)')
|
||||
netref_regex = re.compile(r'(^|[( ])\[(-?[0-9]+:|)([^\]]*)\](?=[ )]|$)')
|
||||
|
||||
def replace_netref(match):
|
||||
state_sel = match.group(2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue