data/full_repos/permissive/423547971/FPGA Projects/Gray Code Counter/oneHz_gen.v
1: b'%Error: Cannot find file containing module: Projects/Gray\n        ... Looked in:\n             data/full_repos/permissive/423547971/FPGA/Projects/Gray\n             data/full_repos/permissive/423547971/FPGA/Projects/Gray.v\n             data/full_repos/permissive/423547971/FPGA/Projects/Gray.sv\n             Projects/Gray\n             Projects/Gray.v\n             Projects/Gray.sv\n             obj_dir/Projects/Gray\n             obj_dir/Projects/Gray.v\n             obj_dir/Projects/Gray.sv\n%Error: Cannot find file containing module: Code\n%Error: Cannot find file containing module: Counter,data/full_repos/permissive/423547971\n%Error: Cannot find file containing module: data/full_repos/permissive/423547971/FPGA\n%Error: Cannot find file containing module: Counter/oneHz_gen.v\n%Error: Exiting due to 5 error(s)\n'
module oneHz_gen(
    input clk_100MHz,
    output clk_1Hz
    );
    
    reg r_1Hz = 0;
    reg [25:0] r_counter = 0;
    
    always @(posedge clk_100MHz)
        if(r_counter == 49_999_999) begin
            r_counter <= 0;
            r_1Hz <= ~r_1Hz;
        end
        else
            r_counter <= r_counter + 1;
    
    assign clk_1Hz = r_1Hz;
    
endmodule
module oneHz_gen(
    input clk_100MHz,
    output clk_1Hz
    );

    
    reg r_1Hz = 0;
    reg [25:0] r_counter = 0;
    
    always @(posedge clk_100MHz)
        if(r_counter == 49_999_999) begin
            r_counter <= 0;
            r_1Hz <= ~r_1Hz;
        end
        else
            r_counter <= r_counter + 1;
    
    assign clk_1Hz = r_1Hz;
    
endmodule