Fixed priv.S to initialize stimecmp and agree with ImperasDV

This commit is contained in:
David Harris 2023-04-07 20:44:01 -07:00
parent 9394389fec
commit bf9db11a57

View File

@ -33,7 +33,8 @@ main:
ecall
# Test read to stimecmp fails when MCOUNTEREN_TM is not set
addi t0, zero, 0
li t1, -3
csrw stimecmp, t1
csrr t0, stimecmp