Skip to content

Commit

Permalink
[prim_fifo_sync,rtl] Fix full_o behaviour when Depth == 0
Browse files Browse the repository at this point in the history
This is a bit silly, but the storage of an empty fifo is always full
for rather trivial reasons. The existing connection didn't really make
sense (because it was considered full if something was able to read
from it!) so I'm pretty certain this won't break anything.

Signed-off-by: Rupert Swarbrick <[email protected]>
  • Loading branch information
rswarbrick committed Nov 29, 2024
1 parent 16b5876 commit 204f3d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/ip/prim/rtl/prim_fifo_sync.sv
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module prim_fifo_sync #(

// host facing
assign wready_o = rready_i;
assign full_o = rready_i;
assign full_o = 1'b1;

// this avoids lint warnings
logic unused_clr;
Expand Down

0 comments on commit 204f3d5

Please sign in to comment.