Skip to content

Commit

Permalink
[hmac,dv] Move IDLE check from vseq to scb
Browse files Browse the repository at this point in the history
- Move the IDLE pin check from the base sequence to the SCB as it makes
more sense to perform check there.

Signed-off-by: Martin Velay <[email protected]>
  • Loading branch information
martin-velay authored and vogelpi committed Jan 6, 2025
1 parent 1dc0bad commit 39ca65f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions hw/ip/hmac/dv/env/hmac_scoreboard.sv
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ task hmac_scoreboard::run_phase(uvm_phase phase);
fork
begin : main_thread
fork
begin
cfg.clk_rst_vif.wait_clks(1); // Wait one clk cycle to be sure IDLE state is set
check_idle(1'b1); // Check IDLE after a reset has occured
end
hmac_process_fifo_status();
hmac_process_fifo_wr();
hmac_process_fifo_rd();
Expand Down
1 change: 0 additions & 1 deletion hw/ip/hmac/dv/env/seq_lib/hmac_base_vseq.sv
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ task hmac_base_vseq::dut_init(string reset_kind = "HARD");
if (do_hmac_init) begin
hmac_init();
end
`DV_CHECK_EQ(cfg.hmac_vif.is_idle(), 1'b1)
endtask : dut_init

task hmac_base_vseq::apply_reset(string kind = "HARD");
Expand Down

0 comments on commit 39ca65f

Please sign in to comment.