Merge pull request #1 from dherreravicioso/AW_DH_privunit

Added test coverage cases for writing to CSRs
This commit is contained in:
Diego Herrera Vicioso 2023-03-31 00:34:21 -07:00 committed by GitHub
commit 680f05b2d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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