Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[hmac,dv] Reduce long_msg test duration #25901

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading