mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-23 13:27:16 -04:00
Merge pull request #379 from harshinisrinath1001/main
Test case for writing into FCSR
This commit is contained in:
commit
c917c1f563
1 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,9 @@ sretdone:
|
|||
li a0, 3
|
||||
ecall # machine mode again
|
||||
|
||||
# writes to FCSR
|
||||
li t0, 1
|
||||
csrw fcsr, t0
|
||||
|
||||
# switch to supervisor mode
|
||||
li a0, 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue