data/full_repos/permissive/489147019/Testcases/mempool/rtl/cluster_interconnect/rtl/peripheral_interco/XBAR_PE.sv
1: b'%Error: data/full_repos/permissive/489147019/Testcases/mempool/rtl/cluster_interconnect/rtl/peripheral_interco/XBAR_PE.sv:45: Cannot find include file: parameters.v\n`include "parameters.v" \n         ^~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/489147019/Testcases/mempool/rtl/cluster_interconnect/rtl/peripheral_interco,data/full_repos/permissive/489147019/parameters.v\n             data/full_repos/permissive/489147019/Testcases/mempool/rtl/cluster_interconnect/rtl/peripheral_interco,data/full_repos/permissive/489147019/parameters.v.v\n             data/full_repos/permissive/489147019/Testcases/mempool/rtl/cluster_interconnect/rtl/peripheral_interco,data/full_repos/permissive/489147019/parameters.v.sv\n             parameters.v\n             parameters.v.v\n             parameters.v.sv\n             obj_dir/parameters.v\n             obj_dir/parameters.v.v\n             obj_dir/parameters.v.sv\n%Error: Exiting due to 1 error(s)\n'
module XBAR_PE 
#(
    parameter N_CH0          = 8,
    parameter N_CH1          = 1,
    parameter N_SLAVE        = 9,
    parameter ID_WIDTH       = N_CH0+N_CH1,

    parameter PE_LSB         = 0,
    parameter PE_MSB         = 31,

    parameter LOG_CLUSTER    = 5,
    parameter ADDR_WIDTH     = 32,
    parameter DATA_WIDTH     = 32,
    parameter BE_WIDTH       = DATA_WIDTH/8,

    parameter PE_ROUTING_LSB = 10,
    parameter PE_ROUTING_MSB = PE_ROUTING_LSB+$clog2(N_SLAVE)-1,

    parameter CLUSTER_ALIAS  = 1'b0,
    parameter CLUSTER_ALIAS_BASE = 12'h000,

    parameter ADDR_PE_WIDTH = PE_MSB - PE_LSB + 1
)
(
    input [LOG_CLUSTER-1:0]                                CLUSTER_ID,


    input  logic [N_CH0+N_CH1-1:0]                         data_req_i,
    input  logic [N_CH0+N_CH1-1:0][ADDR_WIDTH-1:0]         data_add_i,
    input  logic [N_CH0+N_CH1-1:0]                         data_wen_i,
    input  logic [N_CH0+N_CH1-1:0][DATA_WIDTH-1:0]         data_wdata_i,
    input  logic [N_CH0+N_CH1-1:0][BE_WIDTH-1:0]           data_be_i,
`ifdef GNT_BASED_FC
    output logic [N_CH0+N_CH1-1:0]                         data_gnt_o,
`else
    output logic [N_CH0+N_CH1-1:0]                         data_stall_o,
`endif

    output logic [N_CH0+N_CH1-1:0]                         data_r_valid_o,
    output logic [N_CH0+N_CH1-1:0][DATA_WIDTH-1:0]         data_r_rdata_o,
    output logic [N_CH0+N_CH1-1:0]                         data_r_opc_o,




    output  logic [N_SLAVE-1:0]                            data_req_o,
    output  logic [N_SLAVE-1:0][ADDR_PE_WIDTH-1:0]         data_add_o,
    output  logic [N_SLAVE-1:0]                            data_wen_o,
    output  logic [N_SLAVE-1:0][DATA_WIDTH-1:0]            data_wdata_o,
    output  logic [N_SLAVE-1:0][BE_WIDTH-1:0]              data_be_o,
    output  logic [N_SLAVE-1:0][ID_WIDTH-1:0]              data_ID_o,
`ifdef GNT_BASED_FC
    input   logic [N_SLAVE-1:0]                            data_gnt_i,
`else
    input   logic [N_SLAVE-1:0]                            data_stall_i,
`endif

    input  logic [N_SLAVE-1:0][DATA_WIDTH-1:0]            data_r_rdata_i,
    input  logic [N_SLAVE-1:0]                            data_r_valid_i,
    input  logic [N_SLAVE-1:0][ID_WIDTH-1:0]              data_r_ID_i,
    input  logic [N_SLAVE-1:0]                            data_r_opc_i,

    input  logic                                           clk,
    input  logic                                           rst_n
);


    logic  [N_CH0+N_CH1-1:0][ID_WIDTH-1:0]           data_ID;

`ifdef GNT_BASED_FC
    logic   [N_CH0+N_CH1-1:0]                        data_gnt_from_MEM[N_SLAVE-1:0];
`else
    logic   [N_CH0+N_CH1-1:0]                        data_stall_from_MEM[N_SLAVE-1:0];
`endif
    logic   [N_SLAVE-1:0]                            data_req_from_MASTER[N_CH0+N_CH1-1:0];
    logic   [N_CH0+N_CH1-1:0]                        data_r_valid_from_MEM[N_SLAVE-1:0];

    logic [N_SLAVE-1:0]                              data_r_valid_to_MASTER[N_CH0+N_CH1-1:0];
    logic [N_CH0+N_CH1-1:0]                          data_req_to_MEM[N_SLAVE-1:0];
`ifdef GNT_BASED_FC
    logic [N_SLAVE-1:0]                              data_gnt_to_MASTER[N_CH0+N_CH1-1:0];
`else
    logic [N_SLAVE-1:0]                              data_stall_to_MASTER[N_CH0+N_CH1-1:0];
`endif

    logic [N_CH0+N_CH1-1:0][ADDR_PE_WIDTH-1:0]       data_add;


    genvar j,k;

    generate

        for (k=0; k<N_CH0+N_CH1; k++)
        begin
          assign data_add[k] = data_add_i[k][PE_MSB:PE_LSB];

          for (j=0; j<N_SLAVE; j++)
            begin
              assign data_r_valid_to_MASTER[k][j] = data_r_valid_from_MEM[j][k];
              assign data_req_to_MEM[j][k]        = data_req_from_MASTER[k][j];
          `ifdef GNT_BASED_FC
              assign data_gnt_to_MASTER[k][j]     = data_gnt_from_MEM[j][k];
          `else
              assign data_stall_to_MASTER[k][j]    = data_stall_from_MEM[j][k];          
          `endif
            end
        end


        for (j=0; j<  N_SLAVE; j++)
        begin : RequestBlock
           if(N_CH1 != 0)
           begin : CH0_CH1
              RequestBlock2CH_PE   
              #( 
                  .ADDR_WIDTH ( ADDR_PE_WIDTH ), 
                  .N_CH0      ( N_CH0         ),
                  .N_CH1      ( N_CH1         ),
                  .ID_WIDTH   ( ID_WIDTH      ),
                  .DATA_WIDTH ( DATA_WIDTH    ),
                  .BE_WIDTH   ( DATA_WIDTH/8  )
              )
              i_RequestBlock2CH_PE
              (

                .data_req_CH0_i      ( data_req_to_MEM[j]    [N_CH0-1:0]             ),
                .data_add_CH0_i      ( data_add              [N_CH0-1:0]             ),
                .data_wen_CH0_i      ( data_wen_i            [N_CH0-1:0]             ),
                .data_wdata_CH0_i    ( data_wdata_i          [N_CH0-1:0]             ),
                .data_be_CH0_i       ( data_be_i             [N_CH0-1:0]             ),
                .data_ID_CH0_i       ( data_ID               [N_CH0-1:0]             ),
          `ifdef GNT_BASED_FC
                .data_gnt_CH0_o      ( data_gnt_from_MEM[j]  [N_CH0-1:0]             ),
          `else
                 .data_stall_CH0_o   ( data_stall_from_MEM[j][N_CH0-1:0]             ),
          `endif                 

                .data_req_CH1_i      ( data_req_to_MEM[j]    [N_CH1+N_CH0-1:N_CH0]   ),
                .data_add_CH1_i      ( data_add              [N_CH1+N_CH0-1:N_CH0]   ),
                .data_wen_CH1_i      ( data_wen_i            [N_CH1+N_CH0-1:N_CH0]   ),
                .data_wdata_CH1_i    ( data_wdata_i          [N_CH1+N_CH0-1:N_CH0]   ),
                .data_be_CH1_i       ( data_be_i             [N_CH1+N_CH0-1:N_CH0]   ),
                .data_ID_CH1_i       ( data_ID               [N_CH1+N_CH0-1:N_CH0]   ),
          `ifdef GNT_BASED_FC
                 .data_gnt_CH1_o     ( data_gnt_from_MEM[j]  [N_CH1+N_CH0-1:N_CH0]   ),
          `else
                .data_stall_CH1_o    ( data_stall_from_MEM[j][N_CH1+N_CH0-1:N_CH0]   ),
          `endif                  


                .data_req_o          ( data_req_o[j]                                 ),
                .data_add_o          ( data_add_o[j]                                 ),
                .data_wen_o          ( data_wen_o[j]                                 ),
                .data_wdata_o        ( data_wdata_o[j]                               ),
                .data_be_o           ( data_be_o[j]                                  ),
                .data_ID_o           ( data_ID_o[j]                                  ),
          `ifdef GNT_BASED_FC
                .data_gnt_i          ( data_gnt_i[j]                                 ),          
          `else
                 .data_stall_i       ( data_stall_i[j]                               ),         
          `endif   
                .data_r_valid_i      ( data_r_valid_i[j]                             ),
                .data_r_ID_i         ( data_r_ID_i[j]                                ),


                .data_r_valid_CH0_o  ( data_r_valid_from_MEM[j][N_CH0-1:0]           ),
                .data_r_valid_CH1_o  ( data_r_valid_from_MEM[j][N_CH0+N_CH1-1:N_CH0] ),
                .clk                 ( clk                                           ),
                .rst_n               ( rst_n                                         )
            );
           end
           else
           begin : CH0_ONLY
              RequestBlock1CH_PE  
              #( 
                  .ADDR_WIDTH(ADDR_PE_WIDTH), 
                  .N_CH0(N_CH0), 
                  .ID_WIDTH(ID_WIDTH),
                  .DATA_WIDTH(DATA_WIDTH),
                  .BE_WIDTH(DATA_WIDTH/8)
              ) 
              i_RequestBlock1CH_PE
              (

                .data_req_CH0_i(data_req_to_MEM[j]),
                .data_add_CH0_i(data_add),
                .data_wen_CH0_i(data_wen_i),
                .data_wdata_CH0_i(data_wdata_i),
                .data_be_CH0_i(data_be_i),
                .data_ID_CH0_i(data_ID),
          `ifdef GNT_BASED_FC
                 .data_gnt_CH0_o(data_gnt_from_MEM[j]),
          `else
                .data_stall_CH0_o(data_stall_from_MEM[j]),
          `endif


                .data_req_o(data_req_o[j]),
                .data_add_o(data_add_o[j]),
                .data_wen_o(data_wen_o[j]),
                .data_wdata_o(data_wdata_o[j]),
                .data_be_o(data_be_o[j]),
                .data_ID_o(data_ID_o[j]),
          `ifdef GNT_BASED_FC
                .data_gnt_i(data_gnt_i[j]),
          `else
                .data_stall_i(data_stall_i[j]),
          `endif
                .data_r_valid_i(data_r_valid_i[j]),
                .data_r_ID_i(data_r_ID_i[j]),

                .data_r_valid_CH0_o(data_r_valid_from_MEM[j]),
                .clk(clk),
                .rst_n(rst_n)
            );
           end
        end

        for (j=0; j<  N_CH0+N_CH1; j++)
        begin : ResponseBlock_PE_Block
            ResponseBlock_PE 
            #( 
                .ID             ( 2**j           ), 
                .ID_WIDTH       ( ID_WIDTH       ), 
                .N_SLAVE        ( N_SLAVE        ),
                .DATA_WIDTH     ( DATA_WIDTH     ),
                .LOG_CLUSTER    ( LOG_CLUSTER    ),
                .ADDR_WIDTH     ( ADDR_WIDTH     ),
                .PE_ROUTING_LSB ( PE_ROUTING_LSB ),
                .PE_ROUTING_MSB ( PE_ROUTING_MSB ),
                .CLUSTER_ALIAS  ( CLUSTER_ALIAS  ),
                .CLUSTER_ALIAS_BASE (CLUSTER_ALIAS_BASE)
            ) 
            i_ResponseBlock_PE
            (
                .CLUSTER_ID(CLUSTER_ID),

                .data_r_valid_i(data_r_valid_to_MASTER[j]),
                .data_r_rdata_i(data_r_rdata_i),
                .data_r_opc_i(data_r_opc_i),

                .data_r_valid_o(data_r_valid_o[j]),
                .data_r_rdata_o(data_r_rdata_o[j]),
                .data_r_opc_o(data_r_opc_o[j]),

                .data_req_i(data_req_i[j]),
                .data_add_i(data_add_i[j]),
      `ifdef GNT_BASED_FC
                  .data_gnt_o(data_gnt_o[j]),
                  .data_gnt_i(data_gnt_to_MASTER[j]),
      `else
                  .data_stall_o(data_stall_o[j]),
                  .data_stall_i(data_stall_to_MASTER[j]),
      `endif

                .data_req_o(data_req_from_MASTER[j]),

                .data_ID_o(data_ID[j])
            );
          end

    endgenerate

endmodule
module XBAR_PE 
#(
    parameter N_CH0          = 8,
    parameter N_CH1          = 1,
    parameter N_SLAVE        = 9,
    parameter ID_WIDTH       = N_CH0+N_CH1,

    parameter PE_LSB         = 0,
    parameter PE_MSB         = 31,

    parameter LOG_CLUSTER    = 5,
    parameter ADDR_WIDTH     = 32,
    parameter DATA_WIDTH     = 32,
    parameter BE_WIDTH       = DATA_WIDTH/8,

    parameter PE_ROUTING_LSB = 10,
    parameter PE_ROUTING_MSB = PE_ROUTING_LSB+$clog2(N_SLAVE)-1,

    parameter CLUSTER_ALIAS  = 1'b0,
    parameter CLUSTER_ALIAS_BASE = 12'h000,

    parameter ADDR_PE_WIDTH = PE_MSB - PE_LSB + 1
)
(
    input [LOG_CLUSTER-1:0]                                CLUSTER_ID,


    input  logic [N_CH0+N_CH1-1:0]                         data_req_i,
    input  logic [N_CH0+N_CH1-1:0][ADDR_WIDTH-1:0]         data_add_i,
    input  logic [N_CH0+N_CH1-1:0]                         data_wen_i,
    input  logic [N_CH0+N_CH1-1:0][DATA_WIDTH-1:0]         data_wdata_i,
    input  logic [N_CH0+N_CH1-1:0][BE_WIDTH-1:0]           data_be_i,
`ifdef GNT_BASED_FC
    output logic [N_CH0+N_CH1-1:0]                         data_gnt_o,
`else
    output logic [N_CH0+N_CH1-1:0]                         data_stall_o,
`endif

    output logic [N_CH0+N_CH1-1:0]                         data_r_valid_o,
    output logic [N_CH0+N_CH1-1:0][DATA_WIDTH-1:0]         data_r_rdata_o,
    output logic [N_CH0+N_CH1-1:0]                         data_r_opc_o,




    output  logic [N_SLAVE-1:0]                            data_req_o,
    output  logic [N_SLAVE-1:0][ADDR_PE_WIDTH-1:0]         data_add_o,
    output  logic [N_SLAVE-1:0]                            data_wen_o,
    output  logic [N_SLAVE-1:0][DATA_WIDTH-1:0]            data_wdata_o,
    output  logic [N_SLAVE-1:0][BE_WIDTH-1:0]              data_be_o,
    output  logic [N_SLAVE-1:0][ID_WIDTH-1:0]              data_ID_o,
`ifdef GNT_BASED_FC
    input   logic [N_SLAVE-1:0]                            data_gnt_i,
`else
    input   logic [N_SLAVE-1:0]                            data_stall_i,
`endif

    input  logic [N_SLAVE-1:0][DATA_WIDTH-1:0]            data_r_rdata_i,
    input  logic [N_SLAVE-1:0]                            data_r_valid_i,
    input  logic [N_SLAVE-1:0][ID_WIDTH-1:0]              data_r_ID_i,
    input  logic [N_SLAVE-1:0]                            data_r_opc_i,

    input  logic                                           clk,
    input  logic                                           rst_n
);



    logic  [N_CH0+N_CH1-1:0][ID_WIDTH-1:0]           data_ID;

`ifdef GNT_BASED_FC
    logic   [N_CH0+N_CH1-1:0]                        data_gnt_from_MEM[N_SLAVE-1:0];
`else
    logic   [N_CH0+N_CH1-1:0]                        data_stall_from_MEM[N_SLAVE-1:0];
`endif
    logic   [N_SLAVE-1:0]                            data_req_from_MASTER[N_CH0+N_CH1-1:0];
    logic   [N_CH0+N_CH1-1:0]                        data_r_valid_from_MEM[N_SLAVE-1:0];

    logic [N_SLAVE-1:0]                              data_r_valid_to_MASTER[N_CH0+N_CH1-1:0];
    logic [N_CH0+N_CH1-1:0]                          data_req_to_MEM[N_SLAVE-1:0];
`ifdef GNT_BASED_FC
    logic [N_SLAVE-1:0]                              data_gnt_to_MASTER[N_CH0+N_CH1-1:0];
`else
    logic [N_SLAVE-1:0]                              data_stall_to_MASTER[N_CH0+N_CH1-1:0];
`endif

    logic [N_CH0+N_CH1-1:0][ADDR_PE_WIDTH-1:0]       data_add;


    genvar j,k;

    generate

        for (k=0; k<N_CH0+N_CH1; k++)
        begin
          assign data_add[k] = data_add_i[k][PE_MSB:PE_LSB];

          for (j=0; j<N_SLAVE; j++)
            begin
              assign data_r_valid_to_MASTER[k][j] = data_r_valid_from_MEM[j][k];
              assign data_req_to_MEM[j][k]        = data_req_from_MASTER[k][j];
          `ifdef GNT_BASED_FC
              assign data_gnt_to_MASTER[k][j]     = data_gnt_from_MEM[j][k];
          `else
              assign data_stall_to_MASTER[k][j]    = data_stall_from_MEM[j][k];          
          `endif
            end
        end


        for (j=0; j<  N_SLAVE; j++)
        begin : RequestBlock
           if(N_CH1 != 0)
           begin : CH0_CH1
              RequestBlock2CH_PE   
              #( 
                  .ADDR_WIDTH ( ADDR_PE_WIDTH ), 
                  .N_CH0      ( N_CH0         ),
                  .N_CH1      ( N_CH1         ),
                  .ID_WIDTH   ( ID_WIDTH      ),
                  .DATA_WIDTH ( DATA_WIDTH    ),
                  .BE_WIDTH   ( DATA_WIDTH/8  )
              )
              i_RequestBlock2CH_PE
              (

                .data_req_CH0_i      ( data_req_to_MEM[j]    [N_CH0-1:0]             ),
                .data_add_CH0_i      ( data_add              [N_CH0-1:0]             ),
                .data_wen_CH0_i      ( data_wen_i            [N_CH0-1:0]             ),
                .data_wdata_CH0_i    ( data_wdata_i          [N_CH0-1:0]             ),
                .data_be_CH0_i       ( data_be_i             [N_CH0-1:0]             ),
                .data_ID_CH0_i       ( data_ID               [N_CH0-1:0]             ),
          `ifdef GNT_BASED_FC
                .data_gnt_CH0_o      ( data_gnt_from_MEM[j]  [N_CH0-1:0]             ),
          `else
                 .data_stall_CH0_o   ( data_stall_from_MEM[j][N_CH0-1:0]             ),
          `endif                 

                .data_req_CH1_i      ( data_req_to_MEM[j]    [N_CH1+N_CH0-1:N_CH0]   ),
                .data_add_CH1_i      ( data_add              [N_CH1+N_CH0-1:N_CH0]   ),
                .data_wen_CH1_i      ( data_wen_i            [N_CH1+N_CH0-1:N_CH0]   ),
                .data_wdata_CH1_i    ( data_wdata_i          [N_CH1+N_CH0-1:N_CH0]   ),
                .data_be_CH1_i       ( data_be_i             [N_CH1+N_CH0-1:N_CH0]   ),
                .data_ID_CH1_i       ( data_ID               [N_CH1+N_CH0-1:N_CH0]   ),
          `ifdef GNT_BASED_FC
                 .data_gnt_CH1_o     ( data_gnt_from_MEM[j]  [N_CH1+N_CH0-1:N_CH0]   ),
          `else
                .data_stall_CH1_o    ( data_stall_from_MEM[j][N_CH1+N_CH0-1:N_CH0]   ),
          `endif                  


                .data_req_o          ( data_req_o[j]                                 ),
                .data_add_o          ( data_add_o[j]                                 ),
                .data_wen_o          ( data_wen_o[j]                                 ),
                .data_wdata_o        ( data_wdata_o[j]                               ),
                .data_be_o           ( data_be_o[j]                                  ),
                .data_ID_o           ( data_ID_o[j]                                  ),
          `ifdef GNT_BASED_FC
                .data_gnt_i          ( data_gnt_i[j]                                 ),          
          `else
                 .data_stall_i       ( data_stall_i[j]                               ),         
          `endif   
                .data_r_valid_i      ( data_r_valid_i[j]                             ),
                .data_r_ID_i         ( data_r_ID_i[j]                                ),


                .data_r_valid_CH0_o  ( data_r_valid_from_MEM[j][N_CH0-1:0]           ),
                .data_r_valid_CH1_o  ( data_r_valid_from_MEM[j][N_CH0+N_CH1-1:N_CH0] ),
                .clk                 ( clk                                           ),
                .rst_n               ( rst_n                                         )
            );
           end
           else
           begin : CH0_ONLY
              RequestBlock1CH_PE  
              #( 
                  .ADDR_WIDTH(ADDR_PE_WIDTH), 
                  .N_CH0(N_CH0), 
                  .ID_WIDTH(ID_WIDTH),
                  .DATA_WIDTH(DATA_WIDTH),
                  .BE_WIDTH(DATA_WIDTH/8)
              ) 
              i_RequestBlock1CH_PE
              (

                .data_req_CH0_i(data_req_to_MEM[j]),
                .data_add_CH0_i(data_add),
                .data_wen_CH0_i(data_wen_i),
                .data_wdata_CH0_i(data_wdata_i),
                .data_be_CH0_i(data_be_i),
                .data_ID_CH0_i(data_ID),
          `ifdef GNT_BASED_FC
                 .data_gnt_CH0_o(data_gnt_from_MEM[j]),
          `else
                .data_stall_CH0_o(data_stall_from_MEM[j]),
          `endif


                .data_req_o(data_req_o[j]),
                .data_add_o(data_add_o[j]),
                .data_wen_o(data_wen_o[j]),
                .data_wdata_o(data_wdata_o[j]),
                .data_be_o(data_be_o[j]),
                .data_ID_o(data_ID_o[j]),
          `ifdef GNT_BASED_FC
                .data_gnt_i(data_gnt_i[j]),
          `else
                .data_stall_i(data_stall_i[j]),
          `endif
                .data_r_valid_i(data_r_valid_i[j]),
                .data_r_ID_i(data_r_ID_i[j]),

                .data_r_valid_CH0_o(data_r_valid_from_MEM[j]),
                .clk(clk),
                .rst_n(rst_n)
            );
           end
        end

        for (j=0; j<  N_CH0+N_CH1; j++)
        begin : ResponseBlock_PE_Block
            ResponseBlock_PE 
            #( 
                .ID             ( 2**j           ), 
                .ID_WIDTH       ( ID_WIDTH       ), 
                .N_SLAVE        ( N_SLAVE        ),
                .DATA_WIDTH     ( DATA_WIDTH     ),
                .LOG_CLUSTER    ( LOG_CLUSTER    ),
                .ADDR_WIDTH     ( ADDR_WIDTH     ),
                .PE_ROUTING_LSB ( PE_ROUTING_LSB ),
                .PE_ROUTING_MSB ( PE_ROUTING_MSB ),
                .CLUSTER_ALIAS  ( CLUSTER_ALIAS  ),
                .CLUSTER_ALIAS_BASE (CLUSTER_ALIAS_BASE)
            ) 
            i_ResponseBlock_PE
            (
                .CLUSTER_ID(CLUSTER_ID),

                .data_r_valid_i(data_r_valid_to_MASTER[j]),
                .data_r_rdata_i(data_r_rdata_i),
                .data_r_opc_i(data_r_opc_i),

                .data_r_valid_o(data_r_valid_o[j]),
                .data_r_rdata_o(data_r_rdata_o[j]),
                .data_r_opc_o(data_r_opc_o[j]),

                .data_req_i(data_req_i[j]),
                .data_add_i(data_add_i[j]),
      `ifdef GNT_BASED_FC
                  .data_gnt_o(data_gnt_o[j]),
                  .data_gnt_i(data_gnt_to_MASTER[j]),
      `else
                  .data_stall_o(data_stall_o[j]),
                  .data_stall_i(data_stall_to_MASTER[j]),
      `endif

                .data_req_o(data_req_from_MASTER[j]),

                .data_ID_o(data_ID[j])
            );
          end

    endgenerate

endmodule