mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-24 05:47:16 -04:00
Fixed csrwrites.S to agree with ImperasDV. Now coverage tests pass iter-elf
This commit is contained in:
parent
bf9db11a57
commit
0d2de13990
1 changed files with 5 additions and 3 deletions
|
@ -27,9 +27,11 @@
|
|||
#include "WALLY-init-lib.h"
|
||||
|
||||
main:
|
||||
li t0, -5
|
||||
csrw stimecmp, t0 # initialize so ImperasDV agrees
|
||||
csrrw t0, stimecmp, t0
|
||||
csrrw t0, satp, t0
|
||||
csrrw t0, stvec, t0
|
||||
csrrw t0, sscratch, t0
|
||||
csrrw t0, satp, zero
|
||||
csrrw t0, stvec, zero
|
||||
csrrw t0, sscratch, zero
|
||||
|
||||
j done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue