Skip to content

Commit

Permalink
[hmac,dv] Reset S&R skip context
Browse files Browse the repository at this point in the history
- reinitialize the Save and Restore skip context flag each time the
  HMAC is in reset.

Signed-off-by: Martin Velay <[email protected]>
  • Loading branch information
martin-velay committed Jan 16, 2025
1 parent 67fe850 commit 1757fc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw/ip/hmac/dv/env/seq_lib/hmac_base_vseq.sv
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ endtask : dut_init
task hmac_base_vseq::apply_reset(string kind = "HARD");
super.apply_reset(kind);
cfg.hash_process_triggered = 0;
cfg.sar_skip_ctxt = 0;
endtask : apply_reset

task hmac_base_vseq::hmac_init( bit sha_en = 1'b1,
Expand Down

0 comments on commit 1757fc6

Please sign in to comment.