Skip to content

Commit

Permalink
[hmac,dv] Adjust stress_all parameters
Browse files Browse the repository at this point in the history
- Increase number of seeds for stress_all_with_rand_reset tests as
it was reduced by this PR #23664, but now we are targeting V3.
- Reduce transactions range for stress_all tests to reduce regression
duration.

Signed-off-by: Martin Velay <[email protected]>
  • Loading branch information
martin-velay committed Feb 11, 2025
1 parent d8e2a4f commit 0160834
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions hw/ip/hmac/dv/env/seq_lib/hmac_stress_all_vseq.sv
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,19 @@
class hmac_stress_all_vseq extends hmac_base_vseq;
`uvm_object_utils(hmac_stress_all_vseq)

// Constraints
extern constraint num_trans_c;

// Standard SV/UVM methods
extern function new(string name="");
extern task body();
endclass : hmac_stress_all_vseq


constraint hmac_stress_all_vseq::num_trans_c {
num_trans inside {[1:10]};
}

function hmac_stress_all_vseq::new(string name="");
super.new(name);
endfunction : new
Expand Down
2 changes: 1 addition & 1 deletion hw/ip/hmac/dv/hmac_sim_cfg.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
{
// Append the common stress_tests.hjson entry for more run_opts.
name: hmac_stress_all_with_rand_reset
reseed: 10
reseed: 25
}

{
Expand Down

0 comments on commit 0160834

Please sign in to comment.