data/full_repos/permissive/215024583/Chap5_Blink/top.v
 line:14: before: "."
1: b"%Error: data/full_repos/permissive/215024583/Chap5_Blink/top.v:8: Cannot find file containing module: 'SB_HFOSC'\n    SB_HFOSC u_hfosc (\n    ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/215024583/Chap5_Blink,data/full_repos/permissive/215024583/SB_HFOSC\n             data/full_repos/permissive/215024583/Chap5_Blink,data/full_repos/permissive/215024583/SB_HFOSC.v\n             data/full_repos/permissive/215024583/Chap5_Blink,data/full_repos/permissive/215024583/SB_HFOSC.sv\n             SB_HFOSC\n             SB_HFOSC.v\n             SB_HFOSC.sv\n             obj_dir/SB_HFOSC\n             obj_dir/SB_HFOSC.v\n             obj_dir/SB_HFOSC.sv\n%Error: Exiting due to 1 error(s)\n"
module top
    (
        output reg LED1
    );
    

    wire clk;
    SB_HFOSC u_hfosc (
        .CLKHFPU(1'b1),
        .CLKHFEN(1'b1),
        .CLKHF(clk)
    );

    defparam u_hfosc.CLKHF_DIV = "0b11";
    

    reg [31:0] counter;
    
    always @ (posedge clk)
    begin


        if (counter > 1200000)
            counter <= 0;
        else
            counter <= counter + 1;
        


        if (counter > 600000)
            LED1 <= 1;
        else
            LED1 <= 0;
    end
endmodule
module top
    (
        output reg LED1
    );

    

    wire clk;
    SB_HFOSC u_hfosc (
        .CLKHFPU(1'b1),
        .CLKHFEN(1'b1),
        .CLKHF(clk)
    );

    defparam u_hfosc.CLKHF_DIV = "0b11";
    

    reg [31:0] counter;
    
    always @ (posedge clk)
    begin


        if (counter > 1200000)
            counter <= 0;
        else
            counter <= counter + 1;
        


        if (counter > 600000)
            LED1 <= 1;
        else
            LED1 <= 0;
    end
endmodule