From bdaa0f086b9e3b3e304bbfb4aef0a96c5ae5a384 Mon Sep 17 00:00:00 2001 From: Laszlo Nagy Date: Mon, 18 Jul 2022 15:33:14 +0100 Subject: [PATCH] data_offload: Increase bypass FIFO size --- library/data_offload/data_offload.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/data_offload/data_offload.v b/library/data_offload/data_offload.v index 5fe068a6c..ee9cf1357 100644 --- a/library/data_offload/data_offload.v +++ b/library/data_offload/data_offload.v @@ -147,8 +147,8 @@ module data_offload #( // local parameters -- to make the code more readable - localparam SRC_ADDR_WIDTH_BYPASS = (SRC_DATA_WIDTH > DST_DATA_WIDTH) ? 3 : 3 + $clog2(SRC_DATA_WIDTH/DST_DATA_WIDTH); - localparam DST_ADDR_WIDTH_BYPASS = (SRC_DATA_WIDTH <= DST_DATA_WIDTH) ? 3 + $clog2(DST_DATA_WIDTH/SRC_DATA_WIDTH) : 3; + localparam SRC_ADDR_WIDTH_BYPASS = (SRC_DATA_WIDTH > DST_DATA_WIDTH) ? 4 : 4 + $clog2(SRC_DATA_WIDTH/DST_DATA_WIDTH); + localparam DST_ADDR_WIDTH_BYPASS = (SRC_DATA_WIDTH <= DST_DATA_WIDTH) ? 4 + $clog2(DST_DATA_WIDTH/SRC_DATA_WIDTH) : 4; localparam SRC_BEAT_BYTE = $clog2(SRC_DATA_WIDTH/8);