mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-19 03:24:50 -04:00
Merge pull request #1340 from davidharrishmc/dev
Added flush instructions to exercise CacheWays ClearValid
This commit is contained in:
commit
4bd3047fb0
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
Reference in a new issue