mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-23 05:17:20 -04:00
Added flush instructions to exercise CacheWays ClearValid
This commit is contained in:
parent
a738fd5917
commit
25dbebb75c
1 changed files with 11 additions and 0 deletions
|
@ -80,4 +80,15 @@ main:
|
|||
sd zero, 0(t0)
|
||||
.word 0x00000013
|
||||
.word 0x00000013
|
||||
|
||||
# test flushing
|
||||
li t0, 0x80100000
|
||||
cbo.flush (t0)
|
||||
li t0, 0x80101000
|
||||
cbo.flush (t0)
|
||||
li t0, 0x80102000
|
||||
cbo.flush (t0)
|
||||
li t0, 0x80103000
|
||||
cbo.flush (t0)
|
||||
|
||||
j done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue