mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-23 05:17:20 -04:00
Fixed priv.S to initialize stimecmp and agree with ImperasDV
This commit is contained in:
parent
9394389fec
commit
bf9db11a57
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue