minor update

This commit is contained in:
Blaise Tine 2024-08-24 07:49:08 -07:00
parent cd97945d0d
commit 0ed589a3bf

View file

@ -116,7 +116,7 @@ module VX_fifo_queue #(
.rdata (dout)
);
wire going_empty = (ALM_EMPTY == 1) ? alm_empty : (size[ADDRW] == ADDRW'(1));
wire going_empty = (ALM_EMPTY == 1) ? alm_empty : (size[ADDRW-1:0] == ADDRW'(1));
always @(posedge clk) begin
if (push && (empty || (going_empty && pop))) begin