[csrng, dv] Fix csrng_intr_vseq bug for cs_hw_inst_exc interrupt test
- The "cmd_stage_ack_sts" was forced to a wrong value so that
the cs_hw_inst_exc bug was not caught in the block verification
Signed-off-by: Muqing Liu <muqing.liu@wdc.com>
diff --git a/hw/ip/csrng/dv/env/seq_lib/csrng_intr_vseq.sv b/hw/ip/csrng/dv/env/seq_lib/csrng_intr_vseq.sv
index 2fdde80..331811c 100644
--- a/hw/ip/csrng/dv/env/seq_lib/csrng_intr_vseq.sv
+++ b/hw/ip/csrng/dv/env/seq_lib/csrng_intr_vseq.sv
@@ -66,7 +66,7 @@
path1 = cfg.csrng_path_vif.cs_hw_inst_exc_path("ack", cfg.which_hw_inst_exc);
path2 = cfg.csrng_path_vif.cs_hw_inst_exc_path("ack_sts", cfg.which_hw_inst_exc);
- force_path(path1, path2, 1'b1, 1'b0);
+ force_path(path1, path2, 1'b1, 1'b1);
// Wait for cs_hw_inst_exc interrupt
csr_spinwait(.ptr(ral.intr_state.cs_hw_inst_exc), .exp_data(1'b1));