aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2019-04-22 22:00:38 -0700
committerAndrew Waterman <andrew@sifive.com>2019-04-22 22:00:38 -0700
commit6ddb1558424774bc7d0695632291df6c32aae8f5 (patch)
treeb462bf0d012ca252113562a291735839725ccbb8
parent30717a85d213fbd7c3e7aae88a043c7dff0e7b26 (diff)
downloadriscv-opcodes-6ddb1558424774bc7d0695632291df6c32aae8f5.zip
riscv-opcodes-6ddb1558424774bc7d0695632291df6c32aae8f5.tar.gz
riscv-opcodes-6ddb1558424774bc7d0695632291df6c32aae8f5.tar.bz2
Add missing N-extension CSRs
-rwxr-xr-xparse-opcodes8
1 files changed, 8 insertions, 0 deletions
diff --git a/parse-opcodes b/parse-opcodes
index 82f5c22..0cdd492 100755
--- a/parse-opcodes
+++ b/parse-opcodes
@@ -58,6 +58,14 @@ csrs = [
(0x001, 'fflags'),
(0x002, 'frm'),
(0x003, 'fcsr'),
+ (0x000, 'ustatus'),
+ (0x004, 'uie'),
+ (0x005, 'utvec'),
+ (0x040, 'uscratch'),
+ (0x041, 'uepc'),
+ (0x042, 'ucause'),
+ (0x043, 'utval'),
+ (0x044, 'uip'),
# Standard User RO
(0xC00, 'cycle'),