data/full_repos/permissive/188068190/ridecore-src-buggy/system.v
 line:76: before: "."
1: b'%Error: data/full_repos/permissive/188068190/ridecore-src-buggy/system.v:6: Cannot find include file: define.v\n`include "define.v" \n         ^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/188068190/ridecore-src-buggy,data/full_repos/permissive/188068190/define.v\n             data/full_repos/permissive/188068190/ridecore-src-buggy,data/full_repos/permissive/188068190/define.v.v\n             data/full_repos/permissive/188068190/ridecore-src-buggy,data/full_repos/permissive/188068190/define.v.sv\n             define.v\n             define.v.v\n             define.v.sv\n             obj_dir/define.v\n             obj_dir/define.v.v\n             obj_dir/define.v.sv\n%Error: data/full_repos/permissive/188068190/ridecore-src-buggy/system.v:44: Define or directive not defined: \'`DCM_CLKIN_PERIOD\'\n    defparam dcm.CLKIN_PERIOD   = `DCM_CLKIN_PERIOD;\n                                  ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/188068190/ridecore-src-buggy/system.v:44: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n    defparam dcm.CLKIN_PERIOD   = `DCM_CLKIN_PERIOD;\n                                                   ^\n%Error: data/full_repos/permissive/188068190/ridecore-src-buggy/system.v:45: Define or directive not defined: \'`DCM_CLKFX_MULTIPLY\'\n    defparam dcm.CLKFX_MULTIPLY = `DCM_CLKFX_MULTIPLY;\n                                  ^~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/188068190/ridecore-src-buggy/system.v:45: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n    defparam dcm.CLKFX_MULTIPLY = `DCM_CLKFX_MULTIPLY;\n                                                     ^\n%Error: data/full_repos/permissive/188068190/ridecore-src-buggy/system.v:46: Define or directive not defined: \'`DCM_CLKFX_DIVIDE\'\n    defparam dcm.CLKFX_DIVIDE   = `DCM_CLKFX_DIVIDE;\n                                  ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/188068190/ridecore-src-buggy/system.v:46: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n    defparam dcm.CLKFX_DIVIDE   = `DCM_CLKFX_DIVIDE;\n                                                   ^\n%Error: data/full_repos/permissive/188068190/ridecore-src-buggy/system.v:105: Define or directive not defined: \'`MMCM_CLKIN1_PERIOD\'\n    defparam mmcm.CLKIN1_PERIOD    = `MMCM_CLKIN1_PERIOD;\n                                     ^~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/188068190/ridecore-src-buggy/system.v:105: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n    defparam mmcm.CLKIN1_PERIOD    = `MMCM_CLKIN1_PERIOD;\n                                                        ^\n%Error: data/full_repos/permissive/188068190/ridecore-src-buggy/system.v:106: Define or directive not defined: \'`MMCM_VCO_MULTIPLY\'\n    defparam mmcm.CLKFBOUT_MULT_F  = `MMCM_VCO_MULTIPLY;\n                                     ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/188068190/ridecore-src-buggy/system.v:106: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n    defparam mmcm.CLKFBOUT_MULT_F  = `MMCM_VCO_MULTIPLY;\n                                                       ^\n%Error: data/full_repos/permissive/188068190/ridecore-src-buggy/system.v:107: Define or directive not defined: \'`MMCM_VCO_DIVIDE\'\n    defparam mmcm.DIVCLK_DIVIDE    = `MMCM_VCO_DIVIDE;\n                                     ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/188068190/ridecore-src-buggy/system.v:107: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n    defparam mmcm.DIVCLK_DIVIDE    = `MMCM_VCO_DIVIDE;\n                                                     ^\n%Error: data/full_repos/permissive/188068190/ridecore-src-buggy/system.v:108: Define or directive not defined: \'`MMCM_CLKOUT0_DIVIDE\'\n    defparam mmcm.CLKOUT0_DIVIDE_F = `MMCM_CLKOUT0_DIVIDE;\n                                     ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/188068190/ridecore-src-buggy/system.v:108: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n    defparam mmcm.CLKOUT0_DIVIDE_F = `MMCM_CLKOUT0_DIVIDE;\n                                                         ^\n%Error: data/full_repos/permissive/188068190/ridecore-src-buggy/system.v:109: Define or directive not defined: \'`MMCM_CLKOUT1_DIVIDE\'\n    defparam mmcm.CLKOUT1_DIVIDE   = `MMCM_CLKOUT1_DIVIDE;\n                                     ^~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/188068190/ridecore-src-buggy/system.v:109: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n    defparam mmcm.CLKOUT1_DIVIDE   = `MMCM_CLKOUT1_DIVIDE;\n                                                         ^\n%Error: Exiting due to 17 error(s)\n'
module CLKGEN_MMCM(CLK_IN, CLK_OUT, LOCKED);
    input wire  CLK_IN;
    output wire CLK_OUT, LOCKED;

    wire clk_out;
    wire clkfb, clkfb_fbuf;


    BUFG  obuf (.I(clk_out),
                .O(CLK_OUT));

    BUFG  fbuf (.I(clkfb),
                .O(clkfb_fbuf));

    MMCME2_ADV mmcm (
				     .CLKIN1       (CLK_IN),
				     .CLKIN2       (1'b0),
				     .CLKINSEL     (1'b1),
				     .RST          (1'b0),
				     .PWRDWN       (1'b0),

				     .CLKOUT0      (clk_out),
				     .CLKOUT0B     (),
				     .CLKOUT1      (),
				     .CLKOUT1B     (),
				     .CLKOUT2      (),
				     .CLKOUT2B     (),
				     .CLKOUT3      (),
				     .CLKOUT3B     (),
				     .CLKOUT4      (),
				     .CLKOUT5      (),
				     .CLKOUT6      (),
				     .LOCKED       (LOCKED),

				     .CLKFBOUT     (clkfb),
				     .CLKFBIN      (clkfb_fbuf),
				     .CLKFBOUTB    (),

				     .DADDR        (7'h0),
				     .DI           (16'h0),
				     .DWE          (1'b0),
				     .DEN          (1'b0),
				     .DCLK         (1'b0),
				     .DO           (),
				     .DRDY         (),

				     .PSCLK        (1'b0),
				     .PSEN         (1'b0),
				     .PSINCDEC     (1'b0),
				     .PSDONE       (),

				     .CLKINSTOPPED (),
				     .CLKFBSTOPPED ());

    defparam mmcm.CLKIN1_PERIOD    = `MMCM_CLKIN1_PERIOD;
    defparam mmcm.CLKFBOUT_MULT_F  = `MMCM_VCO_MULTIPLY;
    defparam mmcm.DIVCLK_DIVIDE    = `MMCM_VCO_DIVIDE;
    defparam mmcm.CLKOUT0_DIVIDE_F = `MMCM_CLKOUT0_DIVIDE;
    defparam mmcm.CLKOUT1_DIVIDE   = `MMCM_CLKOUT1_DIVIDE;
endmodule
module CLKGEN_MMCM(CLK_IN, CLK_OUT, LOCKED);

    input wire  CLK_IN;
    output wire CLK_OUT, LOCKED;

    wire clk_out;
    wire clkfb, clkfb_fbuf;


    BUFG  obuf (.I(clk_out),
                .O(CLK_OUT));

    BUFG  fbuf (.I(clkfb),
                .O(clkfb_fbuf));

    MMCME2_ADV mmcm (
				     .CLKIN1       (CLK_IN),
				     .CLKIN2       (1'b0),
				     .CLKINSEL     (1'b1),
				     .RST          (1'b0),
				     .PWRDWN       (1'b0),

				     .CLKOUT0      (clk_out),
				     .CLKOUT0B     (),
				     .CLKOUT1      (),
				     .CLKOUT1B     (),
				     .CLKOUT2      (),
				     .CLKOUT2B     (),
				     .CLKOUT3      (),
				     .CLKOUT3B     (),
				     .CLKOUT4      (),
				     .CLKOUT5      (),
				     .CLKOUT6      (),
				     .LOCKED       (LOCKED),

				     .CLKFBOUT     (clkfb),
				     .CLKFBIN      (clkfb_fbuf),
				     .CLKFBOUTB    (),

				     .DADDR        (7'h0),
				     .DI           (16'h0),
				     .DWE          (1'b0),
				     .DEN          (1'b0),
				     .DCLK         (1'b0),
				     .DO           (),
				     .DRDY         (),

				     .PSCLK        (1'b0),
				     .PSEN         (1'b0),
				     .PSINCDEC     (1'b0),
				     .PSDONE       (),

				     .CLKINSTOPPED (),
				     .CLKFBSTOPPED ());

    defparam mmcm.CLKIN1_PERIOD    = `MMCM_CLKIN1_PERIOD;
    defparam mmcm.CLKFBOUT_MULT_F  = `MMCM_VCO_MULTIPLY;
    defparam mmcm.DIVCLK_DIVIDE    = `MMCM_VCO_DIVIDE;
    defparam mmcm.CLKOUT0_DIVIDE_F = `MMCM_CLKOUT0_DIVIDE;
    defparam mmcm.CLKOUT1_DIVIDE   = `MMCM_CLKOUT1_DIVIDE;
endmodule