mirror of https://github.com/YosysHQ/yosys.git
Fix smtbmc smtc/aiw parser for wire names containing []
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
cabc3c59e0
commit
3ced2cca6e
|
@ -338,7 +338,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]+:|)([^\]]*|\S*)\](?=[ )]|$)')
|
||||
|
||||
def replace_netref(match):
|
||||
state_sel = match.group(2)
|
||||
|
|
Loading…
Reference in New Issue