diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-03-03 14:15:49 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-03-03 14:15:49 +0100 |
commit | 3ced2cca6e924bf748851580563b42d835aa099b (patch) | |
tree | ac9ec15f14fbd7b20263ab6e4628cef2e9d3fd1e /backends/smt2 | |
parent | cabc3c59e043e55a35187914281b9a1fcc10b072 (diff) | |
download | yosys-3ced2cca6e924bf748851580563b42d835aa099b.tar.gz yosys-3ced2cca6e924bf748851580563b42d835aa099b.tar.bz2 yosys-3ced2cca6e924bf748851580563b42d835aa099b.zip |
Fix smtbmc smtc/aiw parser for wire names containing []
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'backends/smt2')
-rw-r--r-- | backends/smt2/smtbmc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/smt2/smtbmc.py b/backends/smt2/smtbmc.py index e43ed8855..70e6ae6fd 100644 --- a/backends/smt2/smtbmc.py +++ b/backends/smt2/smtbmc.py @@ -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) |