mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-23 21:57:33 -04:00
mcause CSR can now also be written
This commit is contained in:
parent
e696c70ec9
commit
d06fa845b8
2 changed files with 2 additions and 2 deletions
|
@ -187,7 +187,7 @@ the [ `mie` `mtvec` `mscratch` `mepc` `mcause`(read-only!) `mtval` `mip` `mvendorid` [`marchid`](https://github.com/riscv/riscv-isa-manual/blob/master/marchid.md) `mimpid` `mhartid` `mzext`(custom)
|
||||
* Machine CSRs: `mstatus` `misa`(read-only!) `mie` `mtvec` `mscratch` `mepc` `mcause` `mtval` `mip` `mvendorid` [`marchid`](https://github.com/riscv/riscv-isa-manual/blob/master/marchid.md) `mimpid` `mhartid` `mzext`(custom)
|
||||
* Supported exceptions and interrupts:
|
||||
* Misaligned instruction address
|
||||
* Instruction access fault
|
||||
|
|
|
@ -60,7 +60,7 @@ enum NEORV32_CPU_CSRS_enum {
|
|||
|
||||
CSR_MSCRATCH = 0x340, /**< 0x340 - mscratch (r/w): Machine scratch register */
|
||||
CSR_MEPC = 0x341, /**< 0x341 - mepc (r/w): Machine exception program counter */
|
||||
CSR_MCAUSE = 0x342, /**< 0x342 - mcause (r/-): Machine trap cause */
|
||||
CSR_MCAUSE = 0x342, /**< 0x342 - mcause (r/w): Machine trap cause */
|
||||
CSR_MTVAL = 0x343, /**< 0x343 - mtval (r/w): Machine bad address or instruction */
|
||||
CSR_MIP = 0x344, /**< 0x344 - mip (r/w): Machine interrupt pending register */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue