data/full_repos/permissive/447976230/fpga/usrp3/top/x400/rf/200m/rf_core_200m.v
1: b'%Error: data/full_repos/permissive/447976230/fpga/usrp3/top/x400/rf/200m/rf_core_200m.v:108: Cannot find include file: ../../regmap/rfdc_regs_regmap_utils.vh\n  `include "../../regmap/rfdc_regs_regmap_utils.vh" \n           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/447976230/fpga/usrp3/top/x400/rf/200m,data/full_repos/permissive/447976230/../../regmap/rfdc_regs_regmap_utils.vh\n             data/full_repos/permissive/447976230/fpga/usrp3/top/x400/rf/200m,data/full_repos/permissive/447976230/../../regmap/rfdc_regs_regmap_utils.vh.v\n             data/full_repos/permissive/447976230/fpga/usrp3/top/x400/rf/200m,data/full_repos/permissive/447976230/../../regmap/rfdc_regs_regmap_utils.vh.sv\n             ../../regmap/rfdc_regs_regmap_utils.vh\n             ../../regmap/rfdc_regs_regmap_utils.vh.v\n             ../../regmap/rfdc_regs_regmap_utils.vh.sv\n             obj_dir/../../regmap/rfdc_regs_regmap_utils.vh\n             obj_dir/../../regmap/rfdc_regs_regmap_utils.vh.v\n             obj_dir/../../regmap/rfdc_regs_regmap_utils.vh.sv\n%Error: Exiting due to 1 error(s)\n'
module rf_core_200m (






  input  wire rfdc_clk,
  input  wire rfdc_clk_2x,
  input  wire data_clk,
  input  wire data_clk_2x,




  input  wire s_axi_config_clk,







  input  wire [127:0] adc_data_in_i_tdata_0,
  output wire         adc_data_in_i_tready_0,
  input  wire         adc_data_in_i_tvalid_0,
  input  wire [127:0] adc_data_in_q_tdata_0,
  output wire         adc_data_in_q_tready_0,
  input  wire         adc_data_in_q_tvalid_0,
  input  wire [127:0] adc_data_in_i_tdata_1,
  output wire         adc_data_in_i_tready_1,
  input  wire         adc_data_in_i_tvalid_1,
  input  wire [127:0] adc_data_in_q_tdata_1,
  output wire         adc_data_in_q_tready_1,
  input  wire         adc_data_in_q_tvalid_1,


  output wire [255:0] dac_data_out_tdata_0,
  input  wire         dac_data_out_tready_0,
  output wire         dac_data_out_tvalid_0,
  output wire [255:0] dac_data_out_tdata_1,
  input  wire         dac_data_out_tready_1,
  output wire         dac_data_out_tvalid_1,







  output wire [63:0] adc_data_out_tdata_0,
  output wire        adc_data_out_tvalid_0,
  output wire [63:0] adc_data_out_tdata_1,
  output wire        adc_data_out_tvalid_1,


  input  wire [63:0] dac_data_in_tdata_0,
  output wire        dac_data_in_tready_0,
  input  wire        dac_data_in_tvalid_0,
  input  wire [63:0] dac_data_in_tdata_1,
  output wire        dac_data_in_tready_1,
  input  wire        dac_data_in_tvalid_1,







  input  wire [3:0] invert_adc_iq_rclk2,
  input  wire [3:0] invert_dac_iq_rclk2,



  output reg  [15:0] dsp_info_sclk,
  output wire [15:0] axi_status_sclk,


  input wire adc_data_out_resetn_dclk,
  input wire adc_enable_data_rclk,
  input wire adc_rfdc_axi_resetn_rclk,
  input wire dac_data_in_resetn_dclk,
  input wire dac_data_in_resetn_dclk2x,
  input wire dac_data_in_resetn_rclk,
  input wire fir_resetn_rclk2x,


  output wire [95:0] version_info
);

  `include "../../regmap/rfdc_regs_regmap_utils.vh"





  wire [127:0] adc_400m_tdata_0;
  wire         adc_400m_tvalid_0;
  wire [127:0] adc_400m_tdata_1;
  wire         adc_400m_tvalid_1;
  wire [127:0] dac_400m_tdata_0;
  wire         dac_400m_tvalid_0;
  wire [127:0] dac_400m_tdata_1;
  wire         dac_400m_tvalid_1;

  wire [ 15:0] dsp_info_sclk_400m;

  rf_core_400m rf_core_400m_i (
    .rfdc_clk                  (rfdc_clk),
    .rfdc_clk_2x               (rfdc_clk_2x),
    .data_clk                  (data_clk),
    .data_clk_2x               (data_clk_2x),
    .s_axi_config_clk          (s_axi_config_clk),
    .adc_data_in_i_tdata_0     (adc_data_in_i_tdata_0),
    .adc_data_in_i_tready_0    (adc_data_in_i_tready_0),
    .adc_data_in_i_tvalid_0    (adc_data_in_i_tvalid_0),
    .adc_data_in_q_tdata_0     (adc_data_in_q_tdata_0),
    .adc_data_in_q_tready_0    (adc_data_in_q_tready_0),
    .adc_data_in_q_tvalid_0    (adc_data_in_q_tvalid_0),
    .adc_data_in_i_tdata_1     (adc_data_in_i_tdata_1),
    .adc_data_in_i_tready_1    (adc_data_in_i_tready_1),
    .adc_data_in_i_tvalid_1    (adc_data_in_i_tvalid_1),
    .adc_data_in_q_tdata_1     (adc_data_in_q_tdata_1),
    .adc_data_in_q_tready_1    (adc_data_in_q_tready_1),
    .adc_data_in_q_tvalid_1    (adc_data_in_q_tvalid_1),
    .dac_data_out_tdata_0      (dac_data_out_tdata_0),
    .dac_data_out_tready_0     (dac_data_out_tready_0),
    .dac_data_out_tvalid_0     (dac_data_out_tvalid_0),
    .dac_data_out_tdata_1      (dac_data_out_tdata_1),
    .dac_data_out_tready_1     (dac_data_out_tready_1),
    .dac_data_out_tvalid_1     (dac_data_out_tvalid_1),
    .adc_data_out_tdata_0      (adc_400m_tdata_0),
    .adc_data_out_tvalid_0     (adc_400m_tvalid_0),
    .adc_data_out_tdata_1      (adc_400m_tdata_1),
    .adc_data_out_tvalid_1     (adc_400m_tvalid_1),
    .dac_data_in_tdata_0       (dac_400m_tdata_0),
    .dac_data_in_tready_0      (),
    .dac_data_in_tvalid_0      (dac_400m_tvalid_0),
    .dac_data_in_tdata_1       (dac_400m_tdata_1),
    .dac_data_in_tready_1      (),
    .dac_data_in_tvalid_1      (dac_400m_tvalid_1),
    .invert_adc_iq_rclk2       (invert_adc_iq_rclk2),
    .invert_dac_iq_rclk2       (invert_dac_iq_rclk2),
    .dsp_info_sclk             (dsp_info_sclk_400m),
    .axi_status_sclk           (axi_status_sclk),
    .adc_data_out_resetn_dclk  (adc_data_out_resetn_dclk),
    .adc_enable_data_rclk      (adc_enable_data_rclk),
    .adc_rfdc_axi_resetn_rclk  (adc_rfdc_axi_resetn_rclk),
    .dac_data_in_resetn_dclk   (dac_data_in_resetn_dclk),
    .dac_data_in_resetn_dclk2x (dac_data_in_resetn_dclk2x),
    .dac_data_in_resetn_rclk   (dac_data_in_resetn_rclk),
    .fir_resetn_rclk2x         (fir_resetn_rclk2x),
    .version_info              (version_info)
  );


  always @(*) begin
    dsp_info_sclk                                    <= dsp_info_sclk_400m;
    dsp_info_sclk[FABRIC_DSP_BW_MSB : FABRIC_DSP_BW] <= FABRIC_DSP_BW_200M;
  end






  rf_down_4to2 #(
    .NUM_CHANNELS (2)
  ) rf_down_4to2_i (
    .clk      (data_clk),
    .clk_2x   (data_clk_2x),
    .rst      (~adc_data_out_resetn_dclk),
    .rst_2x   (~adc_data_out_resetn_dclk),
    .i_tdata  ({ adc_400m_tdata_1,  adc_400m_tdata_0 }),
    .i_tvalid ({ adc_400m_tvalid_1, adc_400m_tvalid_0 }),
    .o_tdata  ({ adc_data_out_tdata_1,  adc_data_out_tdata_0 }),
    .o_tvalid ({ adc_data_out_tvalid_1, adc_data_out_tvalid_0 })
  );






  assign dac_data_in_tready_0 = 1'b1;
  assign dac_data_in_tready_1 = 1'b1;

  rf_up_2to4 #(
    .NUM_CHANNELS (2)
  ) rf_up_2to4_i (
    .clk      (data_clk),
    .clk_2x   (data_clk_2x),
    .rst      (~dac_data_in_resetn_dclk),
    .rst_2x   (~dac_data_in_resetn_dclk2x),
    .i_tdata  ({ dac_data_in_tdata_1, dac_data_in_tdata_0 }),
    .i_tvalid ({ dac_data_in_tvalid_1, dac_data_in_tvalid_0 }),
    .o_tdata  ({ dac_400m_tdata_1,  dac_400m_tdata_0 }),
    .o_tvalid ({ dac_400m_tvalid_1, dac_400m_tvalid_0 })
  );

endmodule
module rf_core_200m (






  input  wire rfdc_clk,
  input  wire rfdc_clk_2x,
  input  wire data_clk,
  input  wire data_clk_2x,




  input  wire s_axi_config_clk,







  input  wire [127:0] adc_data_in_i_tdata_0,
  output wire         adc_data_in_i_tready_0,
  input  wire         adc_data_in_i_tvalid_0,
  input  wire [127:0] adc_data_in_q_tdata_0,
  output wire         adc_data_in_q_tready_0,
  input  wire         adc_data_in_q_tvalid_0,
  input  wire [127:0] adc_data_in_i_tdata_1,
  output wire         adc_data_in_i_tready_1,
  input  wire         adc_data_in_i_tvalid_1,
  input  wire [127:0] adc_data_in_q_tdata_1,
  output wire         adc_data_in_q_tready_1,
  input  wire         adc_data_in_q_tvalid_1,


  output wire [255:0] dac_data_out_tdata_0,
  input  wire         dac_data_out_tready_0,
  output wire         dac_data_out_tvalid_0,
  output wire [255:0] dac_data_out_tdata_1,
  input  wire         dac_data_out_tready_1,
  output wire         dac_data_out_tvalid_1,







  output wire [63:0] adc_data_out_tdata_0,
  output wire        adc_data_out_tvalid_0,
  output wire [63:0] adc_data_out_tdata_1,
  output wire        adc_data_out_tvalid_1,


  input  wire [63:0] dac_data_in_tdata_0,
  output wire        dac_data_in_tready_0,
  input  wire        dac_data_in_tvalid_0,
  input  wire [63:0] dac_data_in_tdata_1,
  output wire        dac_data_in_tready_1,
  input  wire        dac_data_in_tvalid_1,







  input  wire [3:0] invert_adc_iq_rclk2,
  input  wire [3:0] invert_dac_iq_rclk2,



  output reg  [15:0] dsp_info_sclk,
  output wire [15:0] axi_status_sclk,


  input wire adc_data_out_resetn_dclk,
  input wire adc_enable_data_rclk,
  input wire adc_rfdc_axi_resetn_rclk,
  input wire dac_data_in_resetn_dclk,
  input wire dac_data_in_resetn_dclk2x,
  input wire dac_data_in_resetn_rclk,
  input wire fir_resetn_rclk2x,


  output wire [95:0] version_info
);


  `include "../../regmap/rfdc_regs_regmap_utils.vh"





  wire [127:0] adc_400m_tdata_0;
  wire         adc_400m_tvalid_0;
  wire [127:0] adc_400m_tdata_1;
  wire         adc_400m_tvalid_1;
  wire [127:0] dac_400m_tdata_0;
  wire         dac_400m_tvalid_0;
  wire [127:0] dac_400m_tdata_1;
  wire         dac_400m_tvalid_1;

  wire [ 15:0] dsp_info_sclk_400m;

  rf_core_400m rf_core_400m_i (
    .rfdc_clk                  (rfdc_clk),
    .rfdc_clk_2x               (rfdc_clk_2x),
    .data_clk                  (data_clk),
    .data_clk_2x               (data_clk_2x),
    .s_axi_config_clk          (s_axi_config_clk),
    .adc_data_in_i_tdata_0     (adc_data_in_i_tdata_0),
    .adc_data_in_i_tready_0    (adc_data_in_i_tready_0),
    .adc_data_in_i_tvalid_0    (adc_data_in_i_tvalid_0),
    .adc_data_in_q_tdata_0     (adc_data_in_q_tdata_0),
    .adc_data_in_q_tready_0    (adc_data_in_q_tready_0),
    .adc_data_in_q_tvalid_0    (adc_data_in_q_tvalid_0),
    .adc_data_in_i_tdata_1     (adc_data_in_i_tdata_1),
    .adc_data_in_i_tready_1    (adc_data_in_i_tready_1),
    .adc_data_in_i_tvalid_1    (adc_data_in_i_tvalid_1),
    .adc_data_in_q_tdata_1     (adc_data_in_q_tdata_1),
    .adc_data_in_q_tready_1    (adc_data_in_q_tready_1),
    .adc_data_in_q_tvalid_1    (adc_data_in_q_tvalid_1),
    .dac_data_out_tdata_0      (dac_data_out_tdata_0),
    .dac_data_out_tready_0     (dac_data_out_tready_0),
    .dac_data_out_tvalid_0     (dac_data_out_tvalid_0),
    .dac_data_out_tdata_1      (dac_data_out_tdata_1),
    .dac_data_out_tready_1     (dac_data_out_tready_1),
    .dac_data_out_tvalid_1     (dac_data_out_tvalid_1),
    .adc_data_out_tdata_0      (adc_400m_tdata_0),
    .adc_data_out_tvalid_0     (adc_400m_tvalid_0),
    .adc_data_out_tdata_1      (adc_400m_tdata_1),
    .adc_data_out_tvalid_1     (adc_400m_tvalid_1),
    .dac_data_in_tdata_0       (dac_400m_tdata_0),
    .dac_data_in_tready_0      (),
    .dac_data_in_tvalid_0      (dac_400m_tvalid_0),
    .dac_data_in_tdata_1       (dac_400m_tdata_1),
    .dac_data_in_tready_1      (),
    .dac_data_in_tvalid_1      (dac_400m_tvalid_1),
    .invert_adc_iq_rclk2       (invert_adc_iq_rclk2),
    .invert_dac_iq_rclk2       (invert_dac_iq_rclk2),
    .dsp_info_sclk             (dsp_info_sclk_400m),
    .axi_status_sclk           (axi_status_sclk),
    .adc_data_out_resetn_dclk  (adc_data_out_resetn_dclk),
    .adc_enable_data_rclk      (adc_enable_data_rclk),
    .adc_rfdc_axi_resetn_rclk  (adc_rfdc_axi_resetn_rclk),
    .dac_data_in_resetn_dclk   (dac_data_in_resetn_dclk),
    .dac_data_in_resetn_dclk2x (dac_data_in_resetn_dclk2x),
    .dac_data_in_resetn_rclk   (dac_data_in_resetn_rclk),
    .fir_resetn_rclk2x         (fir_resetn_rclk2x),
    .version_info              (version_info)
  );


  always @(*) begin
    dsp_info_sclk                                    <= dsp_info_sclk_400m;
    dsp_info_sclk[FABRIC_DSP_BW_MSB : FABRIC_DSP_BW] <= FABRIC_DSP_BW_200M;
  end






  rf_down_4to2 #(
    .NUM_CHANNELS (2)
  ) rf_down_4to2_i (
    .clk      (data_clk),
    .clk_2x   (data_clk_2x),
    .rst      (~adc_data_out_resetn_dclk),
    .rst_2x   (~adc_data_out_resetn_dclk),
    .i_tdata  ({ adc_400m_tdata_1,  adc_400m_tdata_0 }),
    .i_tvalid ({ adc_400m_tvalid_1, adc_400m_tvalid_0 }),
    .o_tdata  ({ adc_data_out_tdata_1,  adc_data_out_tdata_0 }),
    .o_tvalid ({ adc_data_out_tvalid_1, adc_data_out_tvalid_0 })
  );






  assign dac_data_in_tready_0 = 1'b1;
  assign dac_data_in_tready_1 = 1'b1;

  rf_up_2to4 #(
    .NUM_CHANNELS (2)
  ) rf_up_2to4_i (
    .clk      (data_clk),
    .clk_2x   (data_clk_2x),
    .rst      (~dac_data_in_resetn_dclk),
    .rst_2x   (~dac_data_in_resetn_dclk2x),
    .i_tdata  ({ dac_data_in_tdata_1, dac_data_in_tdata_0 }),
    .i_tvalid ({ dac_data_in_tvalid_1, dac_data_in_tvalid_0 }),
    .o_tdata  ({ dac_400m_tdata_1,  dac_400m_tdata_0 }),
    .o_tvalid ({ dac_400m_tvalid_1, dac_400m_tvalid_0 })
  );

endmodule