data/full_repos/permissive/423547971/Modules with Simulations/Fibonacci Sequence Generator/fibonacci.v
1: b'%Error: Cannot find file containing module: with\n        ... Looked in:\n             data/full_repos/permissive/423547971/Modules/with\n             data/full_repos/permissive/423547971/Modules/with.v\n             data/full_repos/permissive/423547971/Modules/with.sv\n             with\n             with.v\n             with.sv\n             obj_dir/with\n             obj_dir/with.v\n             obj_dir/with.sv\n%Error: Cannot find file containing module: Simulations/Fibonacci\n%Error: Cannot find file containing module: Sequence\n%Error: Cannot find file containing module: Generator,data/full_repos/permissive/423547971\n%Error: Cannot find file containing module: data/full_repos/permissive/423547971/Modules\n%Error: Cannot find file containing module: Generator/fibonacci.v\n%Error: Exiting due to 6 error(s)\n'
module fibonacci
    #(parameter W = 16)
    (
    input clk,
    input reset,
    output [W-1:0] fib_out
    );
    
    reg [W-1:0] num1, num2;
    
    always @(posedge clk or negedge reset) begin
        if(~reset) begin
            num1 <= 0;
            num2 <= 1;
        end
        else begin
            num1 <= num2;
            num2 <= fib_out;
        end
    end
    
    assign fib_out = num1 + num2;
    
endmodule
module fibonacci
    #(parameter W = 16)
    (
    input clk,
    input reset,
    output [W-1:0] fib_out
    );

    
    reg [W-1:0] num1, num2;
    
    always @(posedge clk or negedge reset) begin
        if(~reset) begin
            num1 <= 0;
            num2 <= 1;
        end
        else begin
            num1 <= num2;
            num2 <= fib_out;
        end
    end
    
    assign fib_out = num1 + num2;
    
endmodule