Skip to content

Commit 56268c6

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 dd0063e commit 56268c6

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
@@ -633,8 +635,8 @@
633635
+instr_cnt=10000
634636
+no_csr_instr=0
635637
+randomize_csr=1
636-
+enable_illegal_csr_instruction=1
637-
+enable_access_invalid_csr_level=1
638+
+gen_all_csrs_by_default=1
639+
+add_csr_write=MSTATUS,MEPC,MCAUSE,MTVAL,0x7c0,0x7c1
638640
+no_fence=0
639641
+no_wfi=0
640642
+num_of_sub_program=1

0 commit comments

Comments
 (0)