Skip to content

Commit 8ef1362

Browse files
committed
[dv] Remove default arg values from run_seq_with_rand_reset_vseq
No functional change: the first two arguments are always supplied. The third was not supplied in one place, so this commit moves the default value to that place so we can now supply the argument. Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
1 parent 869a0cc commit 8ef1362

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

hw/dv/sv/cip_lib/seq_lib/cip_base_vseq.sv

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,9 @@ class cip_base_vseq #(
691691
int had_stress_seq_plusarg = $value$plusargs("stress_seq=%0s", stress_seq_name);
692692
`DV_CHECK_FATAL(had_stress_seq_plusarg)
693693

694-
run_seq_with_rand_reset_vseq(create_seq_by_name(stress_seq_name), num_times);
694+
run_seq_with_rand_reset_vseq(.seq(create_seq_by_name(stress_seq_name)),
695+
.num_times(num_times),
696+
.reset_delay_bound(10_000_000));
695697
endtask
696698

697699
// Some blocks needs input ports and status / intr csr clean up
@@ -704,8 +706,8 @@ class cip_base_vseq #(
704706
// reset_delay_bound cycles. When we come out of reset, check all CSR values to ensure they are
705707
// the documented reset values.
706708
virtual task run_seq_with_rand_reset_vseq(uvm_sequence seq,
707-
int num_times = 1,
708-
uint reset_delay_bound = 10_000_000);
709+
int num_times,
710+
uint reset_delay_bound);
709711
`DV_CHECK_FATAL(seq != null)
710712
`uvm_info(`gfn, $sformatf("running run_seq_with_rand_reset_vseq for sequence %s",
711713
seq.get_full_name()), UVM_MEDIUM)

0 commit comments

Comments
 (0)