Skip to content

Commit 151b040

Browse files
committed
[dv] Generate random writes in custom CSRs
This commit adds random custom CSR writes to debug_single_step_test and riscv_mem_error_test. Signed-off-by: Canberk Topal <ctopal@lowrisc.org>
1 parent a9a5259 commit 151b040

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dv/uvm/core_ibex/riscv_dv_extension/testlist.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,8 @@
583583
+require_signature_addr=1
584584
+instr_cnt=10000
585585
+randomize_csr=1
586+
+gen_all_csrs_by_default=1
587+
+add_csr_write=MSTATUS,MEPC,MCAUSE,MTVAL,0x7c0,0x7c1
586588
+enable_unaligned_load_store=1
587589
+suppress_pmp_setup=1
588590
+disable_pmp_exception_handler=1
@@ -610,8 +612,8 @@
610612
+instr_cnt=10000
611613
+no_csr_instr=0
612614
+randomize_csr=1
613-
+enable_illegal_csr_instruction=1
614-
+enable_access_invalid_csr_level=1
615+
+gen_all_csrs_by_default=1
616+
+add_csr_write=MSTATUS,MEPC,MCAUSE,MTVAL,0x7c0,0x7c1
615617
+no_fence=0
616618
+no_wfi=0
617619
+num_of_sub_program=1

0 commit comments

Comments
 (0)