data/full_repos/permissive/421048855/Circuits/Combinational Logic/Arithmetic Circuits/Addr3.v
1: b'%Error: Cannot find file containing module: Logic/Arithmetic\n        ... Looked in:\n             data/full_repos/permissive/421048855/Circuits/Combinational/Logic/Arithmetic\n             data/full_repos/permissive/421048855/Circuits/Combinational/Logic/Arithmetic.v\n             data/full_repos/permissive/421048855/Circuits/Combinational/Logic/Arithmetic.sv\n             Logic/Arithmetic\n             Logic/Arithmetic.v\n             Logic/Arithmetic.sv\n             obj_dir/Logic/Arithmetic\n             obj_dir/Logic/Arithmetic.v\n             obj_dir/Logic/Arithmetic.sv\n%Error: Cannot find file containing module: Circuits,data/full_repos/permissive/421048855\n%Error: Cannot find file containing module: data/full_repos/permissive/421048855/Circuits/Combinational\n%Error: Cannot find file containing module: Circuits/Addr3.v\n%Error: Exiting due to 4 error(s)\n'
module top_module( 
    input [2:0] a, b,
    input cin,
    output [2:0] cout,
    output [2:0] sum );
    generate
        genvar i;
        for(i=0;i<3;i=i+1) begin: foradd
            if(i==0) begin
                assign {cout[i],sum[i]} = a[i] + b[i] + cin; 
            end
            else begin
                assign {cout[i],sum[i]} = a[i] + b[i] + cout[i - 1];
            end
        end
    endgenerate
endmodule
module top_module( 
    input [2:0] a, b,
    input cin,
    output [2:0] cout,
    output [2:0] sum );

    generate
        genvar i;
        for(i=0;i<3;i=i+1) begin: foradd
            if(i==0) begin
                assign {cout[i],sum[i]} = a[i] + b[i] + cin; 
            end
            else begin
                assign {cout[i],sum[i]} = a[i] + b[i] + cout[i - 1];
            end
        end
    endgenerate
endmodule