Skip to content

Commit

Permalink
[hmac,dv] Reduce long_msg test duration
Browse files Browse the repository at this point in the history
- this test was taking too long to run and can cause a timeout, the max
  number or transactions has been divided by 2.

Signed-off-by: Martin Velay <[email protected]>
  • Loading branch information
martin-velay committed Jan 16, 2025
1 parent 67fe850 commit 63f2be4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hw/ip/hmac/dv/env/seq_lib/hmac_long_msg_vseq.sv
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class hmac_long_msg_vseq extends hmac_smoke_vseq;

// Constraints
extern constraint msg_c;
extern constraint num_trans_c;

// Standard SV/UVM methods
extern function new(string name="");
Expand All @@ -25,6 +26,11 @@ constraint hmac_long_msg_vseq::msg_c {
};
}

// Reduce the number of transactions as simulation time is too long and it doesn't add much value
constraint hmac_long_msg_vseq::num_trans_c {
num_trans inside {[1:25]};
}

function hmac_long_msg_vseq::new(string name="");
super.new(name);
endfunction : new

0 comments on commit 63f2be4

Please sign in to comment.