data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/lib/rfnoc/blocks/rfnoc_block_siggen/rfnoc_block_siggen.v
 line:33: before: "'d0"
1: b'%Error: data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/lib/rfnoc/blocks/rfnoc_block_siggen/rfnoc_block_siggen.v:67: Cannot find include file: rfnoc_block_siggen_regs.vh\n  `include "rfnoc_block_siggen_regs.vh" \n           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/lib/rfnoc/blocks/rfnoc_block_siggen,data/full_repos/permissive/214858095/rfnoc_block_siggen_regs.vh\n             data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/lib/rfnoc/blocks/rfnoc_block_siggen,data/full_repos/permissive/214858095/rfnoc_block_siggen_regs.vh.v\n             data/full_repos/permissive/214858095/FPGA_Exploration/spartan6/B205mini/ISE_Project/lib/rfnoc/blocks/rfnoc_block_siggen,data/full_repos/permissive/214858095/rfnoc_block_siggen_regs.vh.sv\n             rfnoc_block_siggen_regs.vh\n             rfnoc_block_siggen_regs.vh.v\n             rfnoc_block_siggen_regs.vh.sv\n             obj_dir/rfnoc_block_siggen_regs.vh\n             obj_dir/rfnoc_block_siggen_regs.vh.v\n             obj_dir/rfnoc_block_siggen_regs.vh.sv\n%Error: Exiting due to 1 error(s)\n'
module rfnoc_block_siggen #(
  parameter [9:0] THIS_PORTID = 10  'd0,
  parameter       CHDR_W      = 64,
  parameter [5:0] MTU         = 10,
  parameter       NUM_PORTS   = 1
) (

  input  wire                        rfnoc_chdr_clk,
  input  wire                        rfnoc_ctrl_clk,
  input  wire                        ce_clk,

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

  input  wire [          CHDR_W-1:0] s_rfnoc_chdr_tdata,
  input  wire                        s_rfnoc_chdr_tlast,
  input  wire                        s_rfnoc_chdr_tvalid,
  output wire                        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 [                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_block_siggen_regs.vh"







  wire        m_ctrlport_req_wr;
  wire        m_ctrlport_req_rd;
  wire [19:0] m_ctrlport_req_addr;
  wire [31:0] m_ctrlport_req_data;
  wire        m_ctrlport_resp_ack;
  wire [31:0] m_ctrlport_resp_data;

  wire [NUM_PORTS*32*1-1:0] s_out_axis_tdata;
  wire [     NUM_PORTS-1:0] s_out_axis_tlast;
  wire [     NUM_PORTS-1:0] s_out_axis_tvalid;
  wire [     NUM_PORTS-1:0] s_out_axis_tready;
  wire [  NUM_PORTS*16-1:0] s_out_axis_tlength;






  wire ce_rst;

  noc_shell_siggen #(
    .CHDR_W      (CHDR_W),
    .THIS_PORTID (THIS_PORTID),
    .MTU         (MTU),
    .NUM_PORTS   (NUM_PORTS)
  ) noc_shell_siggen_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     (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_resp_ack   (m_ctrlport_resp_ack),
    .m_ctrlport_resp_data  (m_ctrlport_resp_data),


    .axis_data_clk         (),
    .axis_data_rst         (),

    .s_out_axis_tdata      (s_out_axis_tdata),
    .s_out_axis_tkeep      ({NUM_PORTS{1'b1}}),
    .s_out_axis_tlast      (s_out_axis_tlast),
    .s_out_axis_tvalid     (s_out_axis_tvalid),
    .s_out_axis_tready     (s_out_axis_tready),
    .s_out_axis_ttimestamp ({NUM_PORTS{64'b0}}),
    .s_out_axis_thas_time  ({NUM_PORTS{1'b0}}),
    .s_out_axis_tlength    (s_out_axis_tlength),
    .s_out_axis_teov       ({NUM_PORTS{1'b0}}),
    .s_out_axis_teob       ({NUM_PORTS{1'b0}})
  );








  wire [ 1*NUM_PORTS-1:0] ctrlport_req_wr;
  wire [ 1*NUM_PORTS-1:0] ctrlport_req_rd;
  wire [20*NUM_PORTS-1:0] ctrlport_req_addr;
  wire [32*NUM_PORTS-1:0] ctrlport_req_data;
  wire [ 1*NUM_PORTS-1:0] ctrlport_resp_ack;
  wire [32*NUM_PORTS-1:0] ctrlport_resp_data;

  ctrlport_decoder #(
    .NUM_SLAVES   (NUM_PORTS),
    .BASE_ADDR    (0),
    .SLAVE_ADDR_W (SIGGEN_ADDR_W)
  ) ctrlport_decoder_i (
    .ctrlport_clk            (ce_clk),
    .ctrlport_rst            (ce_rst),
    .s_ctrlport_req_wr       (m_ctrlport_req_wr),
    .s_ctrlport_req_rd       (m_ctrlport_req_rd),
    .s_ctrlport_req_addr     (m_ctrlport_req_addr),
    .s_ctrlport_req_data     (m_ctrlport_req_data),
    .s_ctrlport_req_byte_en  (4'hF),
    .s_ctrlport_req_has_time (1'b0),
    .s_ctrlport_req_time     (64'b0),
    .s_ctrlport_resp_ack     (m_ctrlport_resp_ack),
    .s_ctrlport_resp_status  (),
    .s_ctrlport_resp_data    (m_ctrlport_resp_data),
    .m_ctrlport_req_wr       (ctrlport_req_wr),
    .m_ctrlport_req_rd       (ctrlport_req_rd),
    .m_ctrlport_req_addr     (ctrlport_req_addr),
    .m_ctrlport_req_data     (ctrlport_req_data),
    .m_ctrlport_req_byte_en  (),
    .m_ctrlport_req_has_time (),
    .m_ctrlport_req_time     (),
    .m_ctrlport_resp_ack     (ctrlport_resp_ack),
    .m_ctrlport_resp_status  ({NUM_PORTS{2'b0}}),
    .m_ctrlport_resp_data    (ctrlport_resp_data)
  );






  genvar port;
  generate
    for (port = 0; port < NUM_PORTS; port = port+1) begin : gen_ports

      rfnoc_siggen_core rfnoc_siggen_core_i (
        .clk                  (ce_clk),
        .rst                  (ce_rst),
        .s_ctrlport_req_wr    (ctrlport_req_wr    [port* 1 +:  1]),
        .s_ctrlport_req_rd    (ctrlport_req_rd    [port* 1 +:  1]),
        .s_ctrlport_req_addr  (ctrlport_req_addr  [port*20 +: 20]),
        .s_ctrlport_req_data  (ctrlport_req_data  [port*32 +: 32]),
        .s_ctrlport_resp_ack  (ctrlport_resp_ack  [port* 1 +:  1]),
        .s_ctrlport_resp_data (ctrlport_resp_data [port*32 +: 32]),
        .m_tdata              (s_out_axis_tdata   [port*32 +: 32]),
        .m_tlast              (s_out_axis_tlast   [port* 1 +:  1]),
        .m_tvalid             (s_out_axis_tvalid  [port* 1 +:  1]),
        .m_tready             (s_out_axis_tready  [port* 1 +:  1]),
        .m_tlength            (s_out_axis_tlength [port*16 +: 16])
      );

    end
  endgenerate

endmodule
module rfnoc_block_siggen #(
  parameter [9:0] THIS_PORTID = 10  'd0,
  parameter       CHDR_W      = 64,
  parameter [5:0] MTU         = 10,
  parameter       NUM_PORTS   = 1
) (

  input  wire                        rfnoc_chdr_clk,
  input  wire                        rfnoc_ctrl_clk,
  input  wire                        ce_clk,

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

  input  wire [          CHDR_W-1:0] s_rfnoc_chdr_tdata,
  input  wire                        s_rfnoc_chdr_tlast,
  input  wire                        s_rfnoc_chdr_tvalid,
  output wire                        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 [                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_block_siggen_regs.vh"







  wire        m_ctrlport_req_wr;
  wire        m_ctrlport_req_rd;
  wire [19:0] m_ctrlport_req_addr;
  wire [31:0] m_ctrlport_req_data;
  wire        m_ctrlport_resp_ack;
  wire [31:0] m_ctrlport_resp_data;

  wire [NUM_PORTS*32*1-1:0] s_out_axis_tdata;
  wire [     NUM_PORTS-1:0] s_out_axis_tlast;
  wire [     NUM_PORTS-1:0] s_out_axis_tvalid;
  wire [     NUM_PORTS-1:0] s_out_axis_tready;
  wire [  NUM_PORTS*16-1:0] s_out_axis_tlength;






  wire ce_rst;

  noc_shell_siggen #(
    .CHDR_W      (CHDR_W),
    .THIS_PORTID (THIS_PORTID),
    .MTU         (MTU),
    .NUM_PORTS   (NUM_PORTS)
  ) noc_shell_siggen_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     (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_resp_ack   (m_ctrlport_resp_ack),
    .m_ctrlport_resp_data  (m_ctrlport_resp_data),


    .axis_data_clk         (),
    .axis_data_rst         (),

    .s_out_axis_tdata      (s_out_axis_tdata),
    .s_out_axis_tkeep      ({NUM_PORTS{1'b1}}),
    .s_out_axis_tlast      (s_out_axis_tlast),
    .s_out_axis_tvalid     (s_out_axis_tvalid),
    .s_out_axis_tready     (s_out_axis_tready),
    .s_out_axis_ttimestamp ({NUM_PORTS{64'b0}}),
    .s_out_axis_thas_time  ({NUM_PORTS{1'b0}}),
    .s_out_axis_tlength    (s_out_axis_tlength),
    .s_out_axis_teov       ({NUM_PORTS{1'b0}}),
    .s_out_axis_teob       ({NUM_PORTS{1'b0}})
  );








  wire [ 1*NUM_PORTS-1:0] ctrlport_req_wr;
  wire [ 1*NUM_PORTS-1:0] ctrlport_req_rd;
  wire [20*NUM_PORTS-1:0] ctrlport_req_addr;
  wire [32*NUM_PORTS-1:0] ctrlport_req_data;
  wire [ 1*NUM_PORTS-1:0] ctrlport_resp_ack;
  wire [32*NUM_PORTS-1:0] ctrlport_resp_data;

  ctrlport_decoder #(
    .NUM_SLAVES   (NUM_PORTS),
    .BASE_ADDR    (0),
    .SLAVE_ADDR_W (SIGGEN_ADDR_W)
  ) ctrlport_decoder_i (
    .ctrlport_clk            (ce_clk),
    .ctrlport_rst            (ce_rst),
    .s_ctrlport_req_wr       (m_ctrlport_req_wr),
    .s_ctrlport_req_rd       (m_ctrlport_req_rd),
    .s_ctrlport_req_addr     (m_ctrlport_req_addr),
    .s_ctrlport_req_data     (m_ctrlport_req_data),
    .s_ctrlport_req_byte_en  (4'hF),
    .s_ctrlport_req_has_time (1'b0),
    .s_ctrlport_req_time     (64'b0),
    .s_ctrlport_resp_ack     (m_ctrlport_resp_ack),
    .s_ctrlport_resp_status  (),
    .s_ctrlport_resp_data    (m_ctrlport_resp_data),
    .m_ctrlport_req_wr       (ctrlport_req_wr),
    .m_ctrlport_req_rd       (ctrlport_req_rd),
    .m_ctrlport_req_addr     (ctrlport_req_addr),
    .m_ctrlport_req_data     (ctrlport_req_data),
    .m_ctrlport_req_byte_en  (),
    .m_ctrlport_req_has_time (),
    .m_ctrlport_req_time     (),
    .m_ctrlport_resp_ack     (ctrlport_resp_ack),
    .m_ctrlport_resp_status  ({NUM_PORTS{2'b0}}),
    .m_ctrlport_resp_data    (ctrlport_resp_data)
  );






  genvar port;
  generate
    for (port = 0; port < NUM_PORTS; port = port+1) begin : gen_ports

      rfnoc_siggen_core rfnoc_siggen_core_i (
        .clk                  (ce_clk),
        .rst                  (ce_rst),
        .s_ctrlport_req_wr    (ctrlport_req_wr    [port* 1 +:  1]),
        .s_ctrlport_req_rd    (ctrlport_req_rd    [port* 1 +:  1]),
        .s_ctrlport_req_addr  (ctrlport_req_addr  [port*20 +: 20]),
        .s_ctrlport_req_data  (ctrlport_req_data  [port*32 +: 32]),
        .s_ctrlport_resp_ack  (ctrlport_resp_ack  [port* 1 +:  1]),
        .s_ctrlport_resp_data (ctrlport_resp_data [port*32 +: 32]),
        .m_tdata              (s_out_axis_tdata   [port*32 +: 32]),
        .m_tlast              (s_out_axis_tlast   [port* 1 +:  1]),
        .m_tvalid             (s_out_axis_tvalid  [port* 1 +:  1]),
        .m_tready             (s_out_axis_tready  [port* 1 +:  1]),
        .m_tlength            (s_out_axis_tlength [port*16 +: 16])
      );

    end
  endgenerate

endmodule