diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-07-28 02:21:21 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-07-28 02:21:21 -0700 |
commit | c6385bd93a7549b597f13eb7d9d707393f5a12a2 (patch) | |
tree | cdc10c4a7820c613bd54887dcada2a3dea75ff06 /parse-opcodes | |
parent | 436835918e6801522f4b201b7304399e0714c6af (diff) | |
download | riscv-opcodes-c6385bd93a7549b597f13eb7d9d707393f5a12a2.zip riscv-opcodes-c6385bd93a7549b597f13eb7d9d707393f5a12a2.tar.gz riscv-opcodes-c6385bd93a7549b597f13eb7d9d707393f5a12a2.tar.bz2 |
Fix DECLARE_CAUSE macros
Diffstat (limited to 'parse-opcodes')
-rwxr-xr-x | parse-opcodes | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-opcodes b/parse-opcodes index 8650acf..b6a2430 100755 --- a/parse-opcodes +++ b/parse-opcodes @@ -182,7 +182,7 @@ def make_c(match,mask): print '#endif' print '#ifdef DECLARE_CAUSE' - for num, name in csrs+csrs32: + for num, name in causes: print 'DECLARE_CAUSE("%s", CAUSE_%s)' % (name, name.upper().replace(' ', '_')) print '#endif' |