data/full_repos/permissive/110151336/lab_05/src/01_adder/lab5.v
1: b"%Error: data/full_repos/permissive/110151336/lab_05/src/01_adder/lab5.v:10: Cannot find file containing module: 'adder'\n    adder #(.WIDTH(WIDTH)) i_adder\n    ^~~~~\n        ... Looked in:\n             data/full_repos/permissive/110151336/lab_05/src/01_adder,data/full_repos/permissive/110151336/adder\n             data/full_repos/permissive/110151336/lab_05/src/01_adder,data/full_repos/permissive/110151336/adder.v\n             data/full_repos/permissive/110151336/lab_05/src/01_adder,data/full_repos/permissive/110151336/adder.sv\n             adder\n             adder.v\n             adder.sv\n             obj_dir/adder\n             obj_dir/adder.v\n             obj_dir/adder.sv\n%Error: Exiting due to 1 error(s)\n"
module lab5
(
    input  [9:0] SW,
    output [9:0] LEDR
);

    parameter WIDTH = 2;
    

    adder #(.WIDTH(WIDTH)) i_adder
    (
        .carry_in (SW [0]                  ),
        .x        (SW [WIDTH:1]            ),
        .y        (SW [2 * WIDTH:WIDTH + 1]),
        .z        (LEDR[2 * WIDTH - 1:0]   ),
        .carry_out(LEDR[9]                 )
    );
    
    assign LEDR[8:2 * WIDTH] = 0;
    
endmodule
module lab5
(
    input  [9:0] SW,
    output [9:0] LEDR
);


    parameter WIDTH = 2;
    

    adder #(.WIDTH(WIDTH)) i_adder
    (
        .carry_in (SW [0]                  ),
        .x        (SW [WIDTH:1]            ),
        .y        (SW [2 * WIDTH:WIDTH + 1]),
        .z        (LEDR[2 * WIDTH - 1:0]   ),
        .carry_out(LEDR[9]                 )
    );
    
    assign LEDR[8:2 * WIDTH] = 0;
    
endmodule