aboutsummaryrefslogtreecommitdiff
path: root/parse.py
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2024-09-30 13:37:35 -0700
committerAndrew Waterman <andrew@sifive.com>2024-09-30 13:37:35 -0700
commitc77c68cc52ce9c39cf824201beee7a581ab12bcc (patch)
tree9a1ee48f6941ea01ac247ed3ede12922f00911b7 /parse.py
parentd07ade8085ef98679af95ae6c53f5ea6dd591fdc (diff)
downloadriscv-opcodes-c77c68cc52ce9c39cf824201beee7a581ab12bcc.zip
riscv-opcodes-c77c68cc52ce9c39cf824201beee7a581ab12bcc.tar.gz
riscv-opcodes-c77c68cc52ce9c39cf824201beee7a581ab12bcc.tar.bz2
Rename _EQU_ to _EQ_ in INSN_FIELD_RS2_EQU_RS1
Diffstat (limited to 'parse.py')
-rwxr-xr-xparse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.py b/parse.py
index 0398772..bf60e68 100755
--- a/parse.py
+++ b/parse.py
@@ -982,7 +982,7 @@ def make_c(instr_dict):
'''
# Replace '=rs' with 'equrs' in the output
- output_str = output_str.replace('=RS', '_EQU_RS')
+ output_str = output_str.replace('=RS', '_EQ_RS')
# Write the modified output to the file
with open('encoding.out.h', 'w') as enc_file: