From 89db2a29b7443c7f0185e29f231c4331c8a34314 Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Wed, 6 Apr 2022 13:23:46 -0700 Subject: [PATCH] When EXTEND_RAM_SEL is not set, do not modify ram_sel --- rtl/dma_if_desc_mux.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtl/dma_if_desc_mux.v b/rtl/dma_if_desc_mux.v index f3fa59071..33c21d8d4 100644 --- a/rtl/dma_if_desc_mux.v +++ b/rtl/dma_if_desc_mux.v @@ -190,7 +190,7 @@ always @* begin // pass through selected packet data m_axis_desc_dma_addr_int = current_s_desc_dma_addr; m_axis_desc_ram_sel_int = current_s_desc_ram_sel; - if (PORTS > 1) begin + if (EXTEND_RAM_SEL && PORTS > 1) begin m_axis_desc_ram_sel_int[M_RAM_SEL_WIDTH-1:M_RAM_SEL_WIDTH-CL_PORTS] = grant_encoded; end m_axis_desc_ram_addr_int = current_s_desc_ram_addr;