From edc590315737e776d026931541acef4d551e3013 Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Sun, 25 Jun 2023 18:35:21 -0700 Subject: [PATCH] fpga/common: Fix FIFO status connections Signed-off-by: Alex Forencich --- fpga/common/rtl/rx_fifo.v | 6 +++--- fpga/common/rtl/tx_fifo.v | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fpga/common/rtl/rx_fifo.v b/fpga/common/rtl/rx_fifo.v index 8a8dca6c5..df9188996 100644 --- a/fpga/common/rtl/rx_fifo.v +++ b/fpga/common/rtl/rx_fifo.v @@ -174,9 +174,9 @@ for (n = 0; n < PORTS; n = n + 1) begin : fifo .m_axis_tuser(axis_fifo_tuser[n*USER_WIDTH +: USER_WIDTH]), // Status - .status_overflow(status_overflow), - .status_bad_frame(status_bad_frame), - .status_good_frame(status_good_frame) + .status_overflow(status_overflow[n]), + .status_bad_frame(status_bad_frame[n]), + .status_good_frame(status_good_frame[n]) ); end diff --git a/fpga/common/rtl/tx_fifo.v b/fpga/common/rtl/tx_fifo.v index 9d6612ffc..f809e5a10 100644 --- a/fpga/common/rtl/tx_fifo.v +++ b/fpga/common/rtl/tx_fifo.v @@ -232,9 +232,9 @@ for (n = 0; n < PORTS; n = n + 1) begin : fifo .m_axis_tuser(m_axis_tuser[n*USER_WIDTH +: USER_WIDTH]), // Status - .status_overflow(status_overflow), - .status_bad_frame(status_bad_frame), - .status_good_frame(status_good_frame) + .status_overflow(status_overflow[n]), + .status_bad_frame(status_bad_frame[n]), + .status_good_frame(status_good_frame[n]) ); end