From 994e9bed7b788d1126bc6e609c992a5fae724cfe Mon Sep 17 00:00:00 2001 From: Istvan-Zsolt Szekely Date: Tue, 6 Aug 2024 12:24:58 +0100 Subject: [PATCH] util_axis_fifo: Fixed tkeep bit width Signed-off-by: Istvan-Zsolt Szekely --- library/util_axis_fifo/util_axis_fifo.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/util_axis_fifo/util_axis_fifo.v b/library/util_axis_fifo/util_axis_fifo.v index a130779116..730357c077 100644 --- a/library/util_axis_fifo/util_axis_fifo.v +++ b/library/util_axis_fifo/util_axis_fifo.v @@ -154,7 +154,7 @@ module util_axis_fifo #( // TKEEP support if (TKEEP_EN) begin - reg axis_tkeep_d; + reg [DATA_WIDTH/8-1:0] axis_tkeep_d; always @(posedge s_axis_aclk) begin if (s_axis_ready == 1'b1 && s_axis_valid == 1'b1) @@ -210,7 +210,7 @@ module util_axis_fifo #( // TKEEP support if (TKEEP_EN) begin - reg axis_tkeep_d; + reg [DATA_WIDTH/8-1:0] axis_tkeep_d; always @(posedge s_axis_aclk) begin if (!s_axis_aresetn) begin