data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/lib/rfnoc/blocks/rfnoc_block_fir_filter/rfnoc_block_fir_filter.v
 line:325: before: "for"
1: b'%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/lib/rfnoc/blocks/rfnoc_block_fir_filter/rfnoc_block_fir_filter.v:114: Cannot find include file: rfnoc_fir_filter_regs.vh\n  `include "rfnoc_fir_filter_regs.vh" \n           ^~~~~~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/lib/rfnoc/blocks/rfnoc_block_fir_filter,data/full_repos/permissive/214858095/rfnoc_fir_filter_regs.vh\n             data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/lib/rfnoc/blocks/rfnoc_block_fir_filter,data/full_repos/permissive/214858095/rfnoc_fir_filter_regs.vh.v\n             data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/lib/rfnoc/blocks/rfnoc_block_fir_filter,data/full_repos/permissive/214858095/rfnoc_fir_filter_regs.vh.sv\n             rfnoc_fir_filter_regs.vh\n             rfnoc_fir_filter_regs.vh.v\n             rfnoc_fir_filter_regs.vh.sv\n             obj_dir/rfnoc_fir_filter_regs.vh\n             obj_dir/rfnoc_fir_filter_regs.vh.v\n             obj_dir/rfnoc_fir_filter_regs.vh.sv\n%Error: Exiting due to 1 error(s)\n'
module rfnoc_block_fir_filter #(

  parameter THIS_PORTID              = 0,
  parameter CHDR_W                   = 64,
  parameter NUM_PORTS                = 2,
  parameter MTU                      = 10,

  parameter COEFF_WIDTH              = 16,
  parameter NUM_COEFFS               = 41,
  parameter [NUM_COEFFS*COEFF_WIDTH-1:0] COEFFS_VEC =
    { 
      {1'b0, {(COEFF_WIDTH-1){1'b1}} },
      {(COEFF_WIDTH*(NUM_COEFFS-1)){1'b0}}
    },
  parameter RELOADABLE_COEFFS        = 1,
  parameter SYMMETRIC_COEFFS         = 0,
  parameter SKIP_ZERO_COEFFS         = 0,
  parameter USE_EMBEDDED_REGS_COEFFS = 1
)(

  input wire ce_clk,






  input wire rfnoc_chdr_clk,


  input  wire [NUM_PORTS*CHDR_W-1:0] s_rfnoc_chdr_tdata,
  input  wire [       NUM_PORTS-1:0] s_rfnoc_chdr_tlast,
  input  wire [       NUM_PORTS-1:0] s_rfnoc_chdr_tvalid,
  output wire [       NUM_PORTS-1:0] s_rfnoc_chdr_tready,


  output wire [NUM_PORTS*CHDR_W-1:0] m_rfnoc_chdr_tdata,
  output wire [       NUM_PORTS-1:0] m_rfnoc_chdr_tlast,
  output wire [       NUM_PORTS-1:0] m_rfnoc_chdr_tvalid,
  input  wire [       NUM_PORTS-1:0] m_rfnoc_chdr_tready,


  input  wire [511:0] rfnoc_core_config,
  output wire [511:0] rfnoc_core_status,






  input wire rfnoc_ctrl_clk,


  input  wire [31:0] s_rfnoc_ctrl_tdata,
  input  wire        s_rfnoc_ctrl_tlast,
  input  wire        s_rfnoc_ctrl_tvalid,
  output wire        s_rfnoc_ctrl_tready,


  output wire [31:0] m_rfnoc_ctrl_tdata,
  output wire        m_rfnoc_ctrl_tlast,
  output wire        m_rfnoc_ctrl_tvalid,
  input  wire        m_rfnoc_ctrl_tready
);

  `include "rfnoc_fir_filter_regs.vh"


  localparam ITEM_W = 32;
  localparam NIPC   = 1;






  wire        ctrlport_reg_req_wr;
  wire        ctrlport_reg_req_rd;
  wire [19:0] ctrlport_reg_req_addr;
  wire [31:0] ctrlport_reg_req_data;
  wire        ctrlport_reg_resp_ack;
  wire [31:0] ctrlport_reg_resp_data;

  wire [(NUM_PORTS*ITEM_W*NIPC)-1:0] axis_to_fir_tdata;
  wire [              NUM_PORTS-1:0] axis_to_fir_tlast;
  wire [              NUM_PORTS-1:0] axis_to_fir_tvalid;
  wire [              NUM_PORTS-1:0] axis_to_fir_tready;

  wire [(NUM_PORTS*ITEM_W*NIPC)-1:0] axis_from_fir_tdata;
  wire [              NUM_PORTS-1:0] axis_from_fir_tlast;
  wire [              NUM_PORTS-1:0] axis_from_fir_tvalid;
  wire [              NUM_PORTS-1:0] axis_from_fir_tready;

  wire [(NUM_PORTS*CHDR_W)-1:0] m_axis_context_tdata;
  wire [     (4*NUM_PORTS)-1:0] m_axis_context_tuser;
  wire [         NUM_PORTS-1:0] m_axis_context_tlast;
  wire [         NUM_PORTS-1:0] m_axis_context_tvalid;
  wire [         NUM_PORTS-1:0] m_axis_context_tready;

  wire [(NUM_PORTS*CHDR_W)-1:0] s_axis_context_tdata;
  wire [     (4*NUM_PORTS)-1:0] s_axis_context_tuser;
  wire [         NUM_PORTS-1:0] s_axis_context_tlast;
  wire [         NUM_PORTS-1:0] s_axis_context_tvalid;
  wire [         NUM_PORTS-1:0] s_axis_context_tready;

  wire ce_rst;

  noc_shell_fir_filter #(
    .THIS_PORTID (THIS_PORTID),
    .CHDR_W      (CHDR_W),
    .NUM_PORTS   (NUM_PORTS),
    .MTU         (MTU)
  ) noc_shell_fir_filter_i (
    .rfnoc_chdr_clk       (rfnoc_chdr_clk),
    .rfnoc_ctrl_clk       (rfnoc_ctrl_clk),
    .ce_clk               (ce_clk),    
    .rfnoc_chdr_rst       (),
    .rfnoc_ctrl_rst       (),
    .ce_rst               (ce_rst),
    .rfnoc_core_config    (rfnoc_core_config),
    .rfnoc_core_status    (rfnoc_core_status),
    .s_rfnoc_chdr_tdata   (s_rfnoc_chdr_tdata),
    .s_rfnoc_chdr_tlast   (s_rfnoc_chdr_tlast),
    .s_rfnoc_chdr_tvalid  (s_rfnoc_chdr_tvalid),
    .s_rfnoc_chdr_tready  (s_rfnoc_chdr_tready),
    .m_rfnoc_chdr_tdata   (m_rfnoc_chdr_tdata),
    .m_rfnoc_chdr_tlast   (m_rfnoc_chdr_tlast),
    .m_rfnoc_chdr_tvalid  (m_rfnoc_chdr_tvalid),
    .m_rfnoc_chdr_tready  (m_rfnoc_chdr_tready),
    .s_rfnoc_ctrl_tdata   (s_rfnoc_ctrl_tdata),
    .s_rfnoc_ctrl_tlast   (s_rfnoc_ctrl_tlast),
    .s_rfnoc_ctrl_tvalid  (s_rfnoc_ctrl_tvalid),
    .s_rfnoc_ctrl_tready  (s_rfnoc_ctrl_tready),
    .m_rfnoc_ctrl_tdata   (m_rfnoc_ctrl_tdata),
    .m_rfnoc_ctrl_tlast   (m_rfnoc_ctrl_tlast),
    .m_rfnoc_ctrl_tvalid  (m_rfnoc_ctrl_tvalid),
    .m_rfnoc_ctrl_tready  (m_rfnoc_ctrl_tready),
    .ctrlport_clk         (),
    .ctrlport_rst         (),
    .m_ctrlport_req_wr    (ctrlport_reg_req_wr),
    .m_ctrlport_req_rd    (ctrlport_reg_req_rd),
    .m_ctrlport_req_addr  (ctrlport_reg_req_addr),
    .m_ctrlport_req_data  (ctrlport_reg_req_data),
    .m_ctrlport_resp_ack  (ctrlport_reg_resp_ack),
    .m_ctrlport_resp_data (ctrlport_reg_resp_data),
    .axis_data_clk        (),
    .axis_data_rst        (),
    .m_in_payload_tdata   (axis_to_fir_tdata),
    .m_in_payload_tkeep   (),
    .m_in_payload_tlast   (axis_to_fir_tlast),
    .m_in_payload_tvalid  (axis_to_fir_tvalid),
    .m_in_payload_tready  (axis_to_fir_tready),
    .m_in_context_tdata   (m_axis_context_tdata),
    .m_in_context_tuser   (m_axis_context_tuser),
    .m_in_context_tlast   (m_axis_context_tlast),
    .m_in_context_tvalid  (m_axis_context_tvalid),
    .m_in_context_tready  (m_axis_context_tready),
    .s_out_payload_tdata  (axis_from_fir_tdata),
    .s_out_payload_tkeep  ({NUM_PORTS*NIPC{1'b1}}),
    .s_out_payload_tlast  (axis_from_fir_tlast),
    .s_out_payload_tvalid (axis_from_fir_tvalid),
    .s_out_payload_tready (axis_from_fir_tready),
    .s_out_context_tdata  (s_axis_context_tdata),
    .s_out_context_tuser  (s_axis_context_tuser),
    .s_out_context_tlast  (s_axis_context_tlast),
    .s_out_context_tvalid (s_axis_context_tvalid),
    .s_out_context_tready (s_axis_context_tready)
  );






  assign s_axis_context_tdata  = m_axis_context_tdata;
  assign s_axis_context_tuser  = m_axis_context_tuser;
  assign s_axis_context_tlast  = m_axis_context_tlast;
  assign s_axis_context_tvalid = m_axis_context_tvalid;
  assign m_axis_context_tready = s_axis_context_tready;






  wire [   NUM_PORTS-1:0] m_ctrlport_req_wr;
  wire [   NUM_PORTS-1:0] m_ctrlport_req_rd;
  wire [20*NUM_PORTS-1:0] m_ctrlport_req_addr;
  wire [32*NUM_PORTS-1:0] m_ctrlport_req_data;
  wire [   NUM_PORTS-1:0] m_ctrlport_resp_ack;
  wire [32*NUM_PORTS-1:0] m_ctrlport_resp_data;

  ctrlport_decoder #(
    .NUM_SLAVES   (NUM_PORTS),
    .BASE_ADDR    (0),
    .SLAVE_ADDR_W (FIR_FILTER_ADDR_W)
  ) ctrlport_deocder_i (
    .ctrlport_clk            (ce_clk),
    .ctrlport_rst            (ce_rst),
    .s_ctrlport_req_wr       (ctrlport_reg_req_wr),
    .s_ctrlport_req_rd       (ctrlport_reg_req_rd),
    .s_ctrlport_req_addr     (ctrlport_reg_req_addr),
    .s_ctrlport_req_data     (ctrlport_reg_req_data),
    .s_ctrlport_req_byte_en  (4'b0),
    .s_ctrlport_req_has_time (1'b0),
    .s_ctrlport_req_time     (64'b0),
    .s_ctrlport_resp_ack     (ctrlport_reg_resp_ack),
    .s_ctrlport_resp_status  (),
    .s_ctrlport_resp_data    (ctrlport_reg_resp_data),
    .m_ctrlport_req_wr       (m_ctrlport_req_wr),
    .m_ctrlport_req_rd       (m_ctrlport_req_rd),
    .m_ctrlport_req_addr     (m_ctrlport_req_addr),
    .m_ctrlport_req_data     (m_ctrlport_req_data),
    .m_ctrlport_req_byte_en  (),
    .m_ctrlport_req_has_time (),
    .m_ctrlport_req_time     (),
    .m_ctrlport_resp_ack     (m_ctrlport_resp_ack),
    .m_ctrlport_resp_status  ({NUM_PORTS{2'b0}}),
    .m_ctrlport_resp_data    (m_ctrlport_resp_data)
  );






  genvar i;
  for (i = 0; i < NUM_PORTS; i = i+1) begin : gen_rfnoc_fir_filter_cores
    rfnoc_fir_filter_core #(
      .DATA_W                   (ITEM_W*NIPC),
      .COEFF_WIDTH              (COEFF_WIDTH),
      .NUM_COEFFS               (NUM_COEFFS),
      .COEFFS_VEC               (COEFFS_VEC),
      .RELOADABLE_COEFFS        (RELOADABLE_COEFFS),
      .SYMMETRIC_COEFFS         (SYMMETRIC_COEFFS),
      .SKIP_ZERO_COEFFS         (SKIP_ZERO_COEFFS),
      .USE_EMBEDDED_REGS_COEFFS (USE_EMBEDDED_REGS_COEFFS)
    ) rfnoc_fir_filter_core_i (
      .clk                  (ce_clk),
      .rst                  (ce_rst),
      .s_ctrlport_req_wr    (m_ctrlport_req_wr[i]),
      .s_ctrlport_req_rd    (m_ctrlport_req_rd[i]),
      .s_ctrlport_req_addr  (m_ctrlport_req_addr[20*i +: 20]),
      .s_ctrlport_req_data  (m_ctrlport_req_data[32*i +: 32]),
      .s_ctrlport_resp_ack  (m_ctrlport_resp_ack[i]),
      .s_ctrlport_resp_data (m_ctrlport_resp_data[32*i +: 32]),
      .s_axis_tdata         (axis_to_fir_tdata[i*(ITEM_W*NIPC) +: (ITEM_W*NIPC)]),
      .s_axis_tlast         (axis_to_fir_tlast[i]),
      .s_axis_tvalid        (axis_to_fir_tvalid[i]),
      .s_axis_tready        (axis_to_fir_tready[i]),
      .m_axis_tdata         (axis_from_fir_tdata[i*(ITEM_W*NIPC) +: (ITEM_W*NIPC)]),
      .m_axis_tlast         (axis_from_fir_tlast[i]),
      .m_axis_tvalid        (axis_from_fir_tvalid[i]),
      .m_axis_tready        (axis_from_fir_tready[i])
    );
  end

endmodule
module rfnoc_block_fir_filter #(

  parameter THIS_PORTID              = 0,
  parameter CHDR_W                   = 64,
  parameter NUM_PORTS                = 2,
  parameter MTU                      = 10,

  parameter COEFF_WIDTH              = 16,
  parameter NUM_COEFFS               = 41,
  parameter [NUM_COEFFS*COEFF_WIDTH-1:0] COEFFS_VEC =
    { 
      {1'b0, {(COEFF_WIDTH-1){1'b1}} },
      {(COEFF_WIDTH*(NUM_COEFFS-1)){1'b0}}
    },
  parameter RELOADABLE_COEFFS        = 1,
  parameter SYMMETRIC_COEFFS         = 0,
  parameter SKIP_ZERO_COEFFS         = 0,
  parameter USE_EMBEDDED_REGS_COEFFS = 1
)(

  input wire ce_clk,






  input wire rfnoc_chdr_clk,


  input  wire [NUM_PORTS*CHDR_W-1:0] s_rfnoc_chdr_tdata,
  input  wire [       NUM_PORTS-1:0] s_rfnoc_chdr_tlast,
  input  wire [       NUM_PORTS-1:0] s_rfnoc_chdr_tvalid,
  output wire [       NUM_PORTS-1:0] s_rfnoc_chdr_tready,


  output wire [NUM_PORTS*CHDR_W-1:0] m_rfnoc_chdr_tdata,
  output wire [       NUM_PORTS-1:0] m_rfnoc_chdr_tlast,
  output wire [       NUM_PORTS-1:0] m_rfnoc_chdr_tvalid,
  input  wire [       NUM_PORTS-1:0] m_rfnoc_chdr_tready,


  input  wire [511:0] rfnoc_core_config,
  output wire [511:0] rfnoc_core_status,






  input wire rfnoc_ctrl_clk,


  input  wire [31:0] s_rfnoc_ctrl_tdata,
  input  wire        s_rfnoc_ctrl_tlast,
  input  wire        s_rfnoc_ctrl_tvalid,
  output wire        s_rfnoc_ctrl_tready,


  output wire [31:0] m_rfnoc_ctrl_tdata,
  output wire        m_rfnoc_ctrl_tlast,
  output wire        m_rfnoc_ctrl_tvalid,
  input  wire        m_rfnoc_ctrl_tready
);


  `include "rfnoc_fir_filter_regs.vh"


  localparam ITEM_W = 32;
  localparam NIPC   = 1;






  wire        ctrlport_reg_req_wr;
  wire        ctrlport_reg_req_rd;
  wire [19:0] ctrlport_reg_req_addr;
  wire [31:0] ctrlport_reg_req_data;
  wire        ctrlport_reg_resp_ack;
  wire [31:0] ctrlport_reg_resp_data;

  wire [(NUM_PORTS*ITEM_W*NIPC)-1:0] axis_to_fir_tdata;
  wire [              NUM_PORTS-1:0] axis_to_fir_tlast;
  wire [              NUM_PORTS-1:0] axis_to_fir_tvalid;
  wire [              NUM_PORTS-1:0] axis_to_fir_tready;

  wire [(NUM_PORTS*ITEM_W*NIPC)-1:0] axis_from_fir_tdata;
  wire [              NUM_PORTS-1:0] axis_from_fir_tlast;
  wire [              NUM_PORTS-1:0] axis_from_fir_tvalid;
  wire [              NUM_PORTS-1:0] axis_from_fir_tready;

  wire [(NUM_PORTS*CHDR_W)-1:0] m_axis_context_tdata;
  wire [     (4*NUM_PORTS)-1:0] m_axis_context_tuser;
  wire [         NUM_PORTS-1:0] m_axis_context_tlast;
  wire [         NUM_PORTS-1:0] m_axis_context_tvalid;
  wire [         NUM_PORTS-1:0] m_axis_context_tready;

  wire [(NUM_PORTS*CHDR_W)-1:0] s_axis_context_tdata;
  wire [     (4*NUM_PORTS)-1:0] s_axis_context_tuser;
  wire [         NUM_PORTS-1:0] s_axis_context_tlast;
  wire [         NUM_PORTS-1:0] s_axis_context_tvalid;
  wire [         NUM_PORTS-1:0] s_axis_context_tready;

  wire ce_rst;

  noc_shell_fir_filter #(
    .THIS_PORTID (THIS_PORTID),
    .CHDR_W      (CHDR_W),
    .NUM_PORTS   (NUM_PORTS),
    .MTU         (MTU)
  ) noc_shell_fir_filter_i (
    .rfnoc_chdr_clk       (rfnoc_chdr_clk),
    .rfnoc_ctrl_clk       (rfnoc_ctrl_clk),
    .ce_clk               (ce_clk),    
    .rfnoc_chdr_rst       (),
    .rfnoc_ctrl_rst       (),
    .ce_rst               (ce_rst),
    .rfnoc_core_config    (rfnoc_core_config),
    .rfnoc_core_status    (rfnoc_core_status),
    .s_rfnoc_chdr_tdata   (s_rfnoc_chdr_tdata),
    .s_rfnoc_chdr_tlast   (s_rfnoc_chdr_tlast),
    .s_rfnoc_chdr_tvalid  (s_rfnoc_chdr_tvalid),
    .s_rfnoc_chdr_tready  (s_rfnoc_chdr_tready),
    .m_rfnoc_chdr_tdata   (m_rfnoc_chdr_tdata),
    .m_rfnoc_chdr_tlast   (m_rfnoc_chdr_tlast),
    .m_rfnoc_chdr_tvalid  (m_rfnoc_chdr_tvalid),
    .m_rfnoc_chdr_tready  (m_rfnoc_chdr_tready),
    .s_rfnoc_ctrl_tdata   (s_rfnoc_ctrl_tdata),
    .s_rfnoc_ctrl_tlast   (s_rfnoc_ctrl_tlast),
    .s_rfnoc_ctrl_tvalid  (s_rfnoc_ctrl_tvalid),
    .s_rfnoc_ctrl_tready  (s_rfnoc_ctrl_tready),
    .m_rfnoc_ctrl_tdata   (m_rfnoc_ctrl_tdata),
    .m_rfnoc_ctrl_tlast   (m_rfnoc_ctrl_tlast),
    .m_rfnoc_ctrl_tvalid  (m_rfnoc_ctrl_tvalid),
    .m_rfnoc_ctrl_tready  (m_rfnoc_ctrl_tready),
    .ctrlport_clk         (),
    .ctrlport_rst         (),
    .m_ctrlport_req_wr    (ctrlport_reg_req_wr),
    .m_ctrlport_req_rd    (ctrlport_reg_req_rd),
    .m_ctrlport_req_addr  (ctrlport_reg_req_addr),
    .m_ctrlport_req_data  (ctrlport_reg_req_data),
    .m_ctrlport_resp_ack  (ctrlport_reg_resp_ack),
    .m_ctrlport_resp_data (ctrlport_reg_resp_data),
    .axis_data_clk        (),
    .axis_data_rst        (),
    .m_in_payload_tdata   (axis_to_fir_tdata),
    .m_in_payload_tkeep   (),
    .m_in_payload_tlast   (axis_to_fir_tlast),
    .m_in_payload_tvalid  (axis_to_fir_tvalid),
    .m_in_payload_tready  (axis_to_fir_tready),
    .m_in_context_tdata   (m_axis_context_tdata),
    .m_in_context_tuser   (m_axis_context_tuser),
    .m_in_context_tlast   (m_axis_context_tlast),
    .m_in_context_tvalid  (m_axis_context_tvalid),
    .m_in_context_tready  (m_axis_context_tready),
    .s_out_payload_tdata  (axis_from_fir_tdata),
    .s_out_payload_tkeep  ({NUM_PORTS*NIPC{1'b1}}),
    .s_out_payload_tlast  (axis_from_fir_tlast),
    .s_out_payload_tvalid (axis_from_fir_tvalid),
    .s_out_payload_tready (axis_from_fir_tready),
    .s_out_context_tdata  (s_axis_context_tdata),
    .s_out_context_tuser  (s_axis_context_tuser),
    .s_out_context_tlast  (s_axis_context_tlast),
    .s_out_context_tvalid (s_axis_context_tvalid),
    .s_out_context_tready (s_axis_context_tready)
  );






  assign s_axis_context_tdata  = m_axis_context_tdata;
  assign s_axis_context_tuser  = m_axis_context_tuser;
  assign s_axis_context_tlast  = m_axis_context_tlast;
  assign s_axis_context_tvalid = m_axis_context_tvalid;
  assign m_axis_context_tready = s_axis_context_tready;






  wire [   NUM_PORTS-1:0] m_ctrlport_req_wr;
  wire [   NUM_PORTS-1:0] m_ctrlport_req_rd;
  wire [20*NUM_PORTS-1:0] m_ctrlport_req_addr;
  wire [32*NUM_PORTS-1:0] m_ctrlport_req_data;
  wire [   NUM_PORTS-1:0] m_ctrlport_resp_ack;
  wire [32*NUM_PORTS-1:0] m_ctrlport_resp_data;

  ctrlport_decoder #(
    .NUM_SLAVES   (NUM_PORTS),
    .BASE_ADDR    (0),
    .SLAVE_ADDR_W (FIR_FILTER_ADDR_W)
  ) ctrlport_deocder_i (
    .ctrlport_clk            (ce_clk),
    .ctrlport_rst            (ce_rst),
    .s_ctrlport_req_wr       (ctrlport_reg_req_wr),
    .s_ctrlport_req_rd       (ctrlport_reg_req_rd),
    .s_ctrlport_req_addr     (ctrlport_reg_req_addr),
    .s_ctrlport_req_data     (ctrlport_reg_req_data),
    .s_ctrlport_req_byte_en  (4'b0),
    .s_ctrlport_req_has_time (1'b0),
    .s_ctrlport_req_time     (64'b0),
    .s_ctrlport_resp_ack     (ctrlport_reg_resp_ack),
    .s_ctrlport_resp_status  (),
    .s_ctrlport_resp_data    (ctrlport_reg_resp_data),
    .m_ctrlport_req_wr       (m_ctrlport_req_wr),
    .m_ctrlport_req_rd       (m_ctrlport_req_rd),
    .m_ctrlport_req_addr     (m_ctrlport_req_addr),
    .m_ctrlport_req_data     (m_ctrlport_req_data),
    .m_ctrlport_req_byte_en  (),
    .m_ctrlport_req_has_time (),
    .m_ctrlport_req_time     (),
    .m_ctrlport_resp_ack     (m_ctrlport_resp_ack),
    .m_ctrlport_resp_status  ({NUM_PORTS{2'b0}}),
    .m_ctrlport_resp_data    (m_ctrlport_resp_data)
  );






  genvar i;
  for (i = 0; i < NUM_PORTS; i = i+1) begin : gen_rfnoc_fir_filter_cores
    rfnoc_fir_filter_core #(
      .DATA_W                   (ITEM_W*NIPC),
      .COEFF_WIDTH              (COEFF_WIDTH),
      .NUM_COEFFS               (NUM_COEFFS),
      .COEFFS_VEC               (COEFFS_VEC),
      .RELOADABLE_COEFFS        (RELOADABLE_COEFFS),
      .SYMMETRIC_COEFFS         (SYMMETRIC_COEFFS),
      .SKIP_ZERO_COEFFS         (SKIP_ZERO_COEFFS),
      .USE_EMBEDDED_REGS_COEFFS (USE_EMBEDDED_REGS_COEFFS)
    ) rfnoc_fir_filter_core_i (
      .clk                  (ce_clk),
      .rst                  (ce_rst),
      .s_ctrlport_req_wr    (m_ctrlport_req_wr[i]),
      .s_ctrlport_req_rd    (m_ctrlport_req_rd[i]),
      .s_ctrlport_req_addr  (m_ctrlport_req_addr[20*i +: 20]),
      .s_ctrlport_req_data  (m_ctrlport_req_data[32*i +: 32]),
      .s_ctrlport_resp_ack  (m_ctrlport_resp_ack[i]),
      .s_ctrlport_resp_data (m_ctrlport_resp_data[32*i +: 32]),
      .s_axis_tdata         (axis_to_fir_tdata[i*(ITEM_W*NIPC) +: (ITEM_W*NIPC)]),
      .s_axis_tlast         (axis_to_fir_tlast[i]),
      .s_axis_tvalid        (axis_to_fir_tvalid[i]),
      .s_axis_tready        (axis_to_fir_tready[i]),
      .m_axis_tdata         (axis_from_fir_tdata[i*(ITEM_W*NIPC) +: (ITEM_W*NIPC)]),
      .m_axis_tlast         (axis_from_fir_tlast[i]),
      .m_axis_tvalid        (axis_from_fir_tvalid[i]),
      .m_axis_tready        (axis_from_fir_tready[i])
    );
  end

endmodule