From e022737673919c8a5df3331423f7837fb396b82b Mon Sep 17 00:00:00 2001 From: Wojciech Sipak Date: Tue, 11 Jun 2024 16:56:54 +0200 Subject: [PATCH] Add test for user mode --- tools/riscv-dv/testlist.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tools/riscv-dv/testlist.yaml b/tools/riscv-dv/testlist.yaml index 29bd429f0e5..c9b3e458a36 100644 --- a/tools/riscv-dv/testlist.yaml +++ b/tools/riscv-dv/testlist.yaml @@ -26,3 +26,13 @@ +pmp_region_14=L:1,X:0,W:0,R:0 +pmp_region_15=L:1,X:0,W:0,R:0 rtl_test: core_base_test + +- test: riscv_user_mode_rand_test + desc: > + User mode random instruction test + iterations: 10 + gen_test: riscv_instr_base_test + gen_opts: > + +instr_cnt=10000 + +boot_mode=u + rtl_test: core_base_test