1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-30 08:32:52 +08:00

When EXTEND_RAM_SEL is not set, do not modify ram_sel

This commit is contained in:
Alex Forencich 2022-04-06 13:23:46 -07:00
parent 32b4f2cb1f
commit 89db2a29b7

View File

@ -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;