diff options
author | Tim Hutt <timothy.hutt@codasip.com> | 2024-02-08 09:47:35 +0000 |
---|---|---|
committer | Bill McSpadden <bill@riscv.org> | 2024-02-08 19:11:56 -0600 |
commit | 9602e3a525af1404fe51676214b457bd1a0b70d0 (patch) | |
tree | 0df0bdbb65429bb010777eee4cce26b0ac58ea86 | |
parent | 2eb3e3d265b863d41903d41ac8aa947da04c1a83 (diff) | |
download | sail-riscv-9602e3a525af1404fe51676214b457bd1a0b70d0.zip sail-riscv-9602e3a525af1404fe51676214b457bd1a0b70d0.tar.gz sail-riscv-9602e3a525af1404fe51676214b457bd1a0b70d0.tar.bz2 |
Add m/senvcfg to CSR name map
These were missed when those CSRs were implemented.
-rw-r--r-- | model/riscv_csr_map.sail | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/model/riscv_csr_map.sail b/model/riscv_csr_map.sail index db4dd9d..9e3e804 100644 --- a/model/riscv_csr_map.sail +++ b/model/riscv_csr_map.sail @@ -51,6 +51,8 @@ mapping clause csr_name_map = 0x143 <-> "stval" mapping clause csr_name_map = 0x144 <-> "sip" /* supervisor protection and translation */ mapping clause csr_name_map = 0x180 <-> "satp" +/* supervisor envcfg */ +mapping clause csr_name_map = 0x10A <-> "senvcfg" /* machine information registers */ mapping clause csr_name_map = 0xF11 <-> "mvendorid" mapping clause csr_name_map = 0xF12 <-> "marchid" @@ -65,6 +67,8 @@ mapping clause csr_name_map = 0x304 <-> "mie" mapping clause csr_name_map = 0x305 <-> "mtvec" mapping clause csr_name_map = 0x306 <-> "mcounteren" mapping clause csr_name_map = 0x320 <-> "mcountinhibit" +/* machine envcfg */ +mapping clause csr_name_map = 0x30A <-> "menvcfg" /* machine trap handling */ mapping clause csr_name_map = 0x340 <-> "mscratch" mapping clause csr_name_map = 0x341 <-> "mepc" |