mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-22 21:08:08 -04:00
Added test coverage cases for writing to STVAL, SCAUSE, SEPC, and STIMECMP CSRs.
This commit is contained in:
parent
16742cbcb6
commit
36d7ddf501
1 changed files with 7 additions and 0 deletions
|
@ -36,4 +36,11 @@ main:
|
|||
addi t0, zero, 0
|
||||
csrr t0, stimecmp
|
||||
|
||||
# Test write to STVAL, SCAUSE, SEPC, and STIMECMP CSRs
|
||||
li t0, 0
|
||||
csrw stval, t0
|
||||
csrw scause, t0
|
||||
csrw sepc, t0
|
||||
csrw stimecmp, t0
|
||||
|
||||
j done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue