Skip to content

Commit

Permalink
util_axis_fifo: Fixed tkeep bit width
Browse files Browse the repository at this point in the history
Signed-off-by: Istvan-Zsolt Szekely <[email protected]>
  • Loading branch information
IstvanZsSzekely committed Sep 10, 2024
1 parent 6e984f2 commit 994e9be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/util_axis_fifo/util_axis_fifo.v
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 994e9be

Please sign in to comment.