From a9b61b991196c984450066402596a27aa61a9076 Mon Sep 17 00:00:00 2001 From: Nils Wistoff Date: Wed, 6 Nov 2024 12:37:55 +1100 Subject: [PATCH] axi_xbar_wrap: Parametrise MstPortsIdxWidth Signed-off-by: Nils Wistoff --- src/axi_xbar_wrap.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/axi_xbar_wrap.sv b/src/axi_xbar_wrap.sv index 32941aa3e..36371a48a 100644 --- a/src/axi_xbar_wrap.sv +++ b/src/axi_xbar_wrap.sv @@ -53,7 +53,7 @@ import cf_math_pkg::idx_width; /// Enables a default master port for each slave port. When this is enabled unmapped /// transactions get issued at the master port given by `default_mst_port_i`. /// When not used, tie to `'0`. - input logic [Cfg.NoSlvPorts-1:0][1-1:0] default_mst_port_i + input logic [Cfg.NoSlvPorts-1:0][MstPortsIdxWidth-1:0] default_mst_port_i `else /// Enables a default master port for each slave port. When this is enabled unmapped /// transactions get issued at the master port given by `default_mst_port_i`.