diff --git a/hw/ip/hmac/dv/env/seq_lib/hmac_long_msg_vseq.sv b/hw/ip/hmac/dv/env/seq_lib/hmac_long_msg_vseq.sv index 61d193694d014..d2406622bb92a 100644 --- a/hw/ip/hmac/dv/env/seq_lib/hmac_long_msg_vseq.sv +++ b/hw/ip/hmac/dv/env/seq_lib/hmac_long_msg_vseq.sv @@ -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=""); @@ -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