[hardware] Reuse parameter for AXI ID widths
@@ -43,7 +43,6 @@ module mempool_system
* AXI *
*********/
- localparam AxiSlvIdWidth = $clog2(NumCores+1); // +1 for the Host
localparam NumAXIMasters = NumTiles + 1;
localparam NumAXISlaves = 3;
localparam NumRules = NumAXISlaves-1;
@@ -147,7 +146,7 @@ module mempool_system
AXI_BUS #(
.AXI_ADDR_WIDTH (AddrWidth ),
.AXI_DATA_WIDTH (DataWidth ),
- .AXI_ID_WIDTH (AxiSlvIdWidth),
+ .AXI_ID_WIDTH (AxiSystemIdWidth),
.AXI_USER_WIDTH (1 )
) axi_l2memory_slave ();
@@ -166,7 +165,7 @@ module mempool_system
axi2mem #(
.AXI_ADDR_WIDTH(AddrWidth ),
.AXI_DATA_WIDTH(DataWidth ),
- .AXI_ID_WIDTH (AxiSlvIdWidth),
+ .AXI_ID_WIDTH (AxiSystemIdWidth),
.AXI_USER_WIDTH(1 )
) i_axi2mem (
.clk_i (clk_i ),
@@ -205,7 +204,7 @@ module mempool_system
axi_to_axi_lite #(
.AxiAddrWidth (AddrWidth ),
.AxiDataWidth (DataWidth ),
- .AxiIdWidth (AxiSlvIdWidth ),
+ .AxiIdWidth (AxiSystemIdWidth ),
.AxiUserWidth (1 ),
.AxiMaxReadTxns (1 ),
.AxiMaxWriteTxns(1 ),
