Skip to content

Commit 8a143ec

Browse files
committed
[dv] Plan test for DM accesses in debug mode
Signed-off-by: Andreas Kurth <adk@lowrisc.org>
1 parent 2678654 commit 8a143ec

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

dv/uvm/core_ibex/riscv_dv_extension/testlist.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,16 @@
278278
compare_final_value_only: 1
279279
verbose: 1
280280

281+
# TODO(#2233): Implement the following test (also note the priorities in the issue).
282+
#- test: riscv_debug_mode_pmp_test
283+
# description: >
284+
# When debug mode is enabled, any access to the Debug Module address space should be allowed.
285+
# This holds regardless of PMP settings. Thus, this test performs a series of random accesses
286+
# (reads, writes, and instruction fetch) in debug mode with a random PMP configuration, and it
287+
# checks that all accesses to the Debug Module address space get allowed and that all accesses
288+
# outside the Debug Module address space get allowed if and only if the PMP configuration permits
289+
# them.
290+
281291
- test: riscv_dret_test
282292
description: >
283293
Dret instructions will be inserted into generated code, ibex should treat these

0 commit comments

Comments
 (0)