data/full_repos/permissive/122774145/vga_input/x2_dcm.v
 line:42: before: "."
1: b"%Error: data/full_repos/permissive/122774145/vga_input/x2_dcm.v:32: Cannot find file containing module: 'BUFG'\n  BUFG CLK2X_BUFG_INST (.I(clk2x),\n  ^~~~\n        ... Looked in:\n             data/full_repos/permissive/122774145/vga_input,data/full_repos/permissive/122774145/BUFG\n             data/full_repos/permissive/122774145/vga_input,data/full_repos/permissive/122774145/BUFG.v\n             data/full_repos/permissive/122774145/vga_input,data/full_repos/permissive/122774145/BUFG.sv\n             BUFG\n             BUFG.v\n             BUFG.sv\n             obj_dir/BUFG\n             obj_dir/BUFG.v\n             obj_dir/BUFG.sv\n%Error: data/full_repos/permissive/122774145/vga_input/x2_dcm.v:35: Cannot find file containing module: 'DCM_BASE'\n  DCM_BASE DCM_2X_INST (.CLKIN(clk100),\n  ^~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module x2_dcm(
  output x2_clk,
  output ready,
  input clk100,
  input rst
);
   
  wire locked, clk0, clk2x;
  
  assign ready = locked;

  BUFG CLK2X_BUFG_INST (.I(clk2x),
                 .O(x2_clk));
                 
  DCM_BASE DCM_2X_INST (.CLKIN(clk100),
                 .CLKFB(clk0),
                 .CLK0(clk0),
                 .RST(rst),
                 .CLK2X(clk2x),
                 .LOCKED(locked));
                 
  defparam DCM_2X_INST.CLK_FEEDBACK = "1X";


  defparam DCM_2X_INST.CLKIN_PERIOD = 10.000;
  defparam DCM_2X_INST.CLKOUT_PHASE_SHIFT = "NONE";
  defparam DCM_2X_INST.DESKEW_ADJUST = "SYSTEM_SYNCHRONOUS";
  defparam DCM_2X_INST.DFS_FREQUENCY_MODE = "LOW";
  defparam DCM_2X_INST.DLL_FREQUENCY_MODE = "LOW";
  defparam DCM_2X_INST.DUTY_CYCLE_CORRECTION = "TRUE";
  defparam DCM_2X_INST.FACTORY_JF = 16'hF0F0;
  defparam DCM_2X_INST.PHASE_SHIFT = 0;
  defparam DCM_2X_INST.STARTUP_WAIT = "TRUE";

endmodule
module x2_dcm(
  output x2_clk,
  output ready,
  input clk100,
  input rst
);

   
  wire locked, clk0, clk2x;
  
  assign ready = locked;

  BUFG CLK2X_BUFG_INST (.I(clk2x),
                 .O(x2_clk));
                 
  DCM_BASE DCM_2X_INST (.CLKIN(clk100),
                 .CLKFB(clk0),
                 .CLK0(clk0),
                 .RST(rst),
                 .CLK2X(clk2x),
                 .LOCKED(locked));
                 
  defparam DCM_2X_INST.CLK_FEEDBACK = "1X";


  defparam DCM_2X_INST.CLKIN_PERIOD = 10.000;
  defparam DCM_2X_INST.CLKOUT_PHASE_SHIFT = "NONE";
  defparam DCM_2X_INST.DESKEW_ADJUST = "SYSTEM_SYNCHRONOUS";
  defparam DCM_2X_INST.DFS_FREQUENCY_MODE = "LOW";
  defparam DCM_2X_INST.DLL_FREQUENCY_MODE = "LOW";
  defparam DCM_2X_INST.DUTY_CYCLE_CORRECTION = "TRUE";
  defparam DCM_2X_INST.FACTORY_JF = 16'hF0F0;
  defparam DCM_2X_INST.PHASE_SHIFT = 0;
  defparam DCM_2X_INST.STARTUP_WAIT = "TRUE";

endmodule