Skip to content

Commit 2696eb9

Browse files
gmlayer0nbdd0121
authored andcommitted
Update logic for probe_ack_pending_d in the tl_broadcast module to avoid potential deadlock issues
Signed-off-by: gmlayer0 <gmlayer0@outlook.com>
1 parent 9678bee commit 2696eb9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ip/tl/rtl/tl_broadcast.sv

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -419,9 +419,7 @@ module tl_broadcast import tl_pkg::*; #(
419419

420420
// Wait for all probes to be acked.
421421
StateInv: begin
422-
if (probe_ack_complete || probe_ack_data_complete) begin
423-
probe_ack_pending_d = probe_ack_pending_q - 1;
424-
end
422+
probe_ack_pending_d = probe_ack_pending_q - probe_ack_complete - probe_ack_data_complete;
425423

426424
if (probe_ack_pending_d == 0) begin
427425
// We can return to the caller.

0 commit comments

Comments
 (0)