aboutsummaryrefslogtreecommitdiff
path: root/parse-opcodes
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@eecs.berkeley.edu>2014-02-14 17:31:56 -0800
committerAndrew Waterman <waterman@eecs.berkeley.edu>2014-02-14 17:31:56 -0800
commit7c98865837bed7ad92d3afe5f99c34cbb4fca93c (patch)
tree4953edca532bd22f52b82d0ae82aef37f9d1088b /parse-opcodes
parent2cc2860d5e1992fe15449041834c2d4d39553622 (diff)
downloadriscv-opcodes-7c98865837bed7ad92d3afe5f99c34cbb4fca93c.zip
riscv-opcodes-7c98865837bed7ad92d3afe5f99c34cbb4fca93c.tar.gz
riscv-opcodes-7c98865837bed7ad92d3afe5f99c34cbb4fca93c.tar.bz2
Renumber uarch CSRs into custom CSR space
Diffstat (limited to 'parse-opcodes')
-rwxr-xr-xparse-opcodes32
1 files changed, 16 insertions, 16 deletions
diff --git a/parse-opcodes b/parse-opcodes
index 8a698e7..37219cf 100755
--- a/parse-opcodes
+++ b/parse-opcodes
@@ -82,22 +82,22 @@ csrs = [
(0xC00, 'cycle'),
(0xC01, 'time'),
(0xC02, 'instret'),
- (0xC10, 'uarch0'),
- (0xC11, 'uarch1'),
- (0xC12, 'uarch2'),
- (0xC13, 'uarch3'),
- (0xC14, 'uarch4'),
- (0xC15, 'uarch5'),
- (0xC16, 'uarch6'),
- (0xC17, 'uarch7'),
- (0xC18, 'uarch8'),
- (0xC19, 'uarch9'),
- (0xC1A, 'uarch10'),
- (0xC1B, 'uarch11'),
- (0xC1C, 'uarch12'),
- (0xC1D, 'uarch13'),
- (0xC1E, 'uarch14'),
- (0xC1F, 'uarch15'),
+ (0xCC0, 'uarch0'),
+ (0xCC1, 'uarch1'),
+ (0xCC2, 'uarch2'),
+ (0xCC3, 'uarch3'),
+ (0xCC4, 'uarch4'),
+ (0xCC5, 'uarch5'),
+ (0xCC6, 'uarch6'),
+ (0xCC7, 'uarch7'),
+ (0xCC8, 'uarch8'),
+ (0xCC9, 'uarch9'),
+ (0xCCA, 'uarch10'),
+ (0xCCB, 'uarch11'),
+ (0xCCC, 'uarch12'),
+ (0xCCD, 'uarch13'),
+ (0xCCE, 'uarch14'),
+ (0xCCF, 'uarch15'),
]
opcode_base = 0