Skip to content

Commit 0b5fc5b

Browse files
committed
Fix off by one error
1 parent e48901a commit 0b5fc5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rtl/axis_pipeline_fifo.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ module axis_pipeline_fifo #
8383
output wire [USER_WIDTH-1:0] m_axis_tuser
8484
);
8585

86-
parameter FIFO_ADDR_WIDTH = LENGTH < 2 ? 3 : $clog2(LENGTH*4);
86+
parameter FIFO_ADDR_WIDTH = LENGTH < 2 ? 3 : $clog2(LENGTH*4+1);
8787

8888
generate
8989

0 commit comments

Comments
 (0)