forked from Github_Repos/cvw
PMPCFG_ARRAY_REGW cases
This commit is contained in:
parent
bdd5f5e611
commit
3ef81f4e6a
@ -53,7 +53,9 @@ string tvpaths[] = '{
|
||||
"lsu",
|
||||
"vm64check",
|
||||
"pmp",
|
||||
"pmpcfg",
|
||||
"tlbKP"
|
||||
|
||||
};
|
||||
|
||||
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