mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-23 21:14:37 +00:00
PMPCFG_ARRAY_REGW cases
This commit is contained in:
parent
a413b5c6ca
commit
1bdae2285d
@ -53,7 +53,9 @@ string tvpaths[] = '{
|
|||||||
"lsu",
|
"lsu",
|
||||||
"vm64check",
|
"vm64check",
|
||||||
"pmp",
|
"pmp",
|
||||||
|
"pmpcfg",
|
||||||
"tlbKP"
|
"tlbKP"
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
string coremark[] = '{
|
string coremark[] = '{
|
||||||
|
33
tests/coverage/pmpcfg.S
Normal file
33
tests/coverage/pmpcfg.S
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
// pmpcfg supplemental
|
||||||
|
|
||||||
|
#include "WALLY-init-lib.h"
|
||||||
|
main:
|
||||||
|
li t0, 0x8800000000000000
|
||||||
|
csrw pmpcfg2, t0
|
||||||
|
li t0, 0x88000000000000
|
||||||
|
csrw pmpcfg2, t0
|
||||||
|
li t0, 0x880000000000
|
||||||
|
csrw pmpcfg2, t0
|
||||||
|
li t0, 0x8800000000
|
||||||
|
csrw pmpcfg2, t0
|
||||||
|
li t0, 0x88000000
|
||||||
|
csrw pmpcfg2, t0
|
||||||
|
li t0, 0x880000
|
||||||
|
csrw pmpcfg2, t0
|
||||||
|
li t0, 0x8800
|
||||||
|
csrw pmpcfg2, t0
|
||||||
|
li t0, 0x8800000000000000
|
||||||
|
csrw pmpcfg0, t0
|
||||||
|
li t0, 0x88000000000000
|
||||||
|
csrw pmpcfg0, t0
|
||||||
|
li t0, 0x880000000000
|
||||||
|
csrw pmpcfg0, t0
|
||||||
|
li t0, 0x8800000000
|
||||||
|
csrw pmpcfg0, t0
|
||||||
|
li t0, 0x88000000
|
||||||
|
csrw pmpcfg0, t0
|
||||||
|
li t0, 0x880000
|
||||||
|
csrw pmpcfg0, t0
|
||||||
|
li t0, 0x8800
|
||||||
|
csrw pmpcfg0, t0
|
||||||
|
j done
|
Loading…
Reference in New Issue
Block a user