mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Updated 32 bit PMA tests to reflect new clint rules
This commit is contained in:
parent
5f78999424
commit
7ed0c7b8b6
@ -1,10 +1,6 @@
|
||||
beef00b5
|
||||
00000007 # write access fault with 16 bit write to CLINT
|
||||
00000005 # read access fault with 16 bit write to CLINT
|
||||
00000bad
|
||||
00000007 # write access fault with 8 bit write to CLINT
|
||||
00000005 # read access fault with 8 bit write to CLINT
|
||||
00000bad
|
||||
beef00b5
|
||||
000000b6
|
||||
ffffffb7
|
||||
00000001
|
||||
00000bad
|
||||
00000002
|
||||
|
@ -81,14 +81,14 @@ test_cases:
|
||||
# ----------------- CLINT ---------------------
|
||||
|
||||
# Use timecmp register as readable and writable section of the CLINT
|
||||
.4byte CLINT_BASE + 0x4000, 0xBEEF00B5, write32_test # 32-bit write: success
|
||||
.4byte CLINT_BASE + 0x4000, 0xBEEF00B5, read32_test # 32-bit read: success
|
||||
.4byte CLINT_BASE + 0x4000, 0xBEEF00B6, write16_test# 16-bit write: failure *** Due to non-native access length in CLINT
|
||||
.4byte CLINT_BASE + 0x4000, 0xBEEF00B6, read16_test# 16-bit read: failure
|
||||
.4byte CLINT_BASE + 0x4000, 0xBEEF00B7, write08_test# 08-bit write: failure
|
||||
.4byte CLINT_BASE + 0x4000, 0xBEEF00B7, read08_test# 08-bit read: failure
|
||||
.4byte CLINT_BASE + 0x4000, 0xBEEF00B5, write32_test # 32-bit write: success
|
||||
.4byte CLINT_BASE + 0x4000, 0xBEEF00B5, read32_test # 32-bit read: success
|
||||
.4byte CLINT_BASE + 0x4000, 0xBEEF00B6, write16_test # 16-bit write: success
|
||||
.4byte CLINT_BASE + 0x4000, 0xBEEF00B6, read16_test # 16-bit read: success
|
||||
.4byte CLINT_BASE + 0x4000, 0xBEEF00B7, write08_test # 08-bit write: success
|
||||
.4byte CLINT_BASE + 0x4000, 0xBEEF00B7, read08_test # 08-bit read: success
|
||||
|
||||
.4byte CLINT_BASE, 0xbad, executable_test# execute: instruction access fault
|
||||
.4byte CLINT_BASE, 0xbad, executable_test # execute: instruction access fault
|
||||
|
||||
# ----------------- PLIC ---------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user