Skip to content

Commit

Permalink
vip: Increase slink poll period
Browse files Browse the repository at this point in the history
... to prevent it from overwriting the RR arbiter's state

Signed-off-by: Nils Wistoff <[email protected]>
  • Loading branch information
niwis committed Jan 28, 2025
1 parent 093bce0 commit c38a3f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/sim/src/vip_cheshire_soc.sv
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ module vip_cheshire_soc import cheshire_pkg::*; #(

// Wait for termination signal and get return code
task automatic slink_wait_for_eoc(output word_bt exit_code);
slink_poll_bit0(AmRegs + cheshire_reg_pkg::CHESHIRE_SCRATCH_2_OFFSET, exit_code, 800);
slink_poll_bit0(AmRegs + cheshire_reg_pkg::CHESHIRE_SCRATCH_2_OFFSET, exit_code, 800000);
exit_code >>= 1;
if (exit_code) $error("[SLINK] FAILED: return code %0d", exit_code);
else $display("[SLINK] SUCCESS");
Expand Down

0 comments on commit c38a3f0

Please sign in to comment.