From 202fbcbb6f7db4bef355001996323a29c9dfaf23 Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Thu, 9 Aug 2018 11:23:27 -0700 Subject: [PATCH] Fix typo --- rtl/axis_switch.py | 2 +- rtl/axis_switch_4x4.v | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/rtl/axis_switch.py b/rtl/axis_switch.py index f537854c5..edf4c0cd8 100755 --- a/rtl/axis_switch.py +++ b/rtl/axis_switch.py @@ -189,7 +189,7 @@ assign input_{{p}}_axis_tready = input_{{p}}_axis_tready_reg; // mux for incoming packet {% for p in range(n) %} reg [DATA_WIDTH-1:0] current_input_{{p}}_axis_tdata; -reg [DATA_WIDTH-1:0] current_input_{{p}}_axis_tkeep; +reg [KEEP_WIDTH-1:0] current_input_{{p}}_axis_tkeep; reg current_input_{{p}}_axis_tvalid; reg current_input_{{p}}_axis_tready; reg current_input_{{p}}_axis_tlast; diff --git a/rtl/axis_switch_4x4.v b/rtl/axis_switch_4x4.v index 8f7bbf943..48e8e89a3 100644 --- a/rtl/axis_switch_4x4.v +++ b/rtl/axis_switch_4x4.v @@ -253,7 +253,7 @@ assign input_3_axis_tready = input_3_axis_tready_reg; // mux for incoming packet reg [DATA_WIDTH-1:0] current_input_0_axis_tdata; -reg [DATA_WIDTH-1:0] current_input_0_axis_tkeep; +reg [KEEP_WIDTH-1:0] current_input_0_axis_tkeep; reg current_input_0_axis_tvalid; reg current_input_0_axis_tready; reg current_input_0_axis_tlast; @@ -317,7 +317,7 @@ always @* begin end reg [DATA_WIDTH-1:0] current_input_1_axis_tdata; -reg [DATA_WIDTH-1:0] current_input_1_axis_tkeep; +reg [KEEP_WIDTH-1:0] current_input_1_axis_tkeep; reg current_input_1_axis_tvalid; reg current_input_1_axis_tready; reg current_input_1_axis_tlast; @@ -381,7 +381,7 @@ always @* begin end reg [DATA_WIDTH-1:0] current_input_2_axis_tdata; -reg [DATA_WIDTH-1:0] current_input_2_axis_tkeep; +reg [KEEP_WIDTH-1:0] current_input_2_axis_tkeep; reg current_input_2_axis_tvalid; reg current_input_2_axis_tready; reg current_input_2_axis_tlast; @@ -445,7 +445,7 @@ always @* begin end reg [DATA_WIDTH-1:0] current_input_3_axis_tdata; -reg [DATA_WIDTH-1:0] current_input_3_axis_tkeep; +reg [KEEP_WIDTH-1:0] current_input_3_axis_tkeep; reg current_input_3_axis_tvalid; reg current_input_3_axis_tready; reg current_input_3_axis_tlast;