Skip to content

Commit

Permalink
Update logic for probe_ack_pending_d in the tl_broadcast module to av…
Browse files Browse the repository at this point in the history
…oid potential deadlock issues

Signed-off-by: gmlayer0 <gmlayer0@outlook.com>
  • Loading branch information
gmlayer0 authored and nbdd0121 committed May 13, 2024
1 parent 63ac8b0 commit d786308
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ip/tl/rtl/tl_broadcast.sv
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,7 @@ module tl_broadcast import tl_pkg::*; #(

// Wait for all probes to be acked.
StateInv: begin
if (probe_ack_complete || probe_ack_data_complete) begin
probe_ack_pending_d = probe_ack_pending_q - 1;
end
probe_ack_pending_d = probe_ack_pending_q - probe_ack_complete - probe_ack_data_complete;

if (probe_ack_pending_d == 0) begin
// We can return to the caller.
Expand Down

0 comments on commit d786308

Please sign in to comment.