[aon_timer,dv] Smoke Test Fix for Daily Regression
This fix includes removal of randomizing COUNT registers since they
will be exlusively checked in stress test (V2).
Signed-off-by: Canberk Topal <ctopal@lowrisc.org>
diff --git a/hw/ip/aon_timer/dv/env/seq_lib/aon_timer_smoke_vseq.sv b/hw/ip/aon_timer/dv/env/seq_lib/aon_timer_smoke_vseq.sv
index 68490ba..e6ce6ff 100644
--- a/hw/ip/aon_timer/dv/env/seq_lib/aon_timer_smoke_vseq.sv
+++ b/hw/ip/aon_timer/dv/env/seq_lib/aon_timer_smoke_vseq.sv
@@ -5,19 +5,8 @@
// smoke test vseq
class aon_timer_smoke_vseq extends aon_timer_base_vseq;
`uvm_object_utils(aon_timer_smoke_vseq)
-
- // Randomize Bark/Bite and Wake-up thresholds for the counter
- rand uint wkup_count;
- rand uint wdog_count;
-
- constraint count_vals_c {
- wkup_count inside {[1:10]};
- wdog_count inside {[1:10]};
- }
-
`uvm_object_new
-
task body();
aon_timer_init();
@@ -29,17 +18,6 @@
task smoke_configure();
- // Write random value to the COUNT registers
- csr_utils_pkg::csr_wr(ral.wkup_count, wkup_count);
- `uvm_info(`gfn,
- $sformatf("\n\t Writing random COUNT value of %d to WKUP", wkup_count),
- UVM_HIGH)
-
- csr_utils_pkg::csr_wr(ral.wdog_count, wdog_count);
- `uvm_info(`gfn,
- $sformatf("\n\t Writing random COUNT value of %d to WDOG", wdog_count),
- UVM_HIGH)
-
`uvm_info(`gfn, "Enabling AON Timer. Writing 1 to WKUP_CTRL and WDOG_CTRL", UVM_HIGH)
csr_utils_pkg::csr_wr(ral.wkup_ctrl.enable, 1'b1);
csr_utils_pkg::csr_wr(ral.wdog_ctrl.enable, 1'b1);