data/full_repos/permissive/170041316/hw3_2/rca_4b.v
1: b"%Error: data/full_repos/permissive/170041316/hw3_2/rca_4b.v:19: Cannot find file containing module: 'fullAdder_1b'\n    fullAdder_1b bit0(.A(A[0]), .B(B[0]), .C_in(C_in), .S(S[0]), .C_out(cout[0]));\n    ^~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/170041316/hw3_2,data/full_repos/permissive/170041316/fullAdder_1b\n             data/full_repos/permissive/170041316/hw3_2,data/full_repos/permissive/170041316/fullAdder_1b.v\n             data/full_repos/permissive/170041316/hw3_2,data/full_repos/permissive/170041316/fullAdder_1b.sv\n             fullAdder_1b\n             fullAdder_1b.v\n             fullAdder_1b.sv\n             obj_dir/fullAdder_1b\n             obj_dir/fullAdder_1b.v\n             obj_dir/fullAdder_1b.sv\n%Error: data/full_repos/permissive/170041316/hw3_2/rca_4b.v:20: Cannot find file containing module: 'fullAdder_1b'\n    fullAdder_1b bit1(.A(A[1]), .B(B[1]), .C_in(cout[0]), .S(S[1]), .C_out(cout[1]));\n    ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/170041316/hw3_2/rca_4b.v:21: Cannot find file containing module: 'fullAdder_1b'\n    fullAdder_1b bit2(.A(A[2]), .B(B[2]), .C_in(cout[1]), .S(S[2]), .C_out(cout[2]));\n    ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/170041316/hw3_2/rca_4b.v:22: Cannot find file containing module: 'fullAdder_1b'\n    fullAdder_1b bit3(.A(A[3]), .B(B[3]), .C_in(cout[2]), .S(S[3]), .C_out(C_out));\n    ^~~~~~~~~~~~\n%Error: Exiting due to 4 error(s)\n"
module rca_4b(A, B, C_in, S, C_out);


    parameter   N = 4;

    input [N-1: 0] A, B;
    input          C_in;
    output [N-1:0] S;
    output         C_out;


    wire[2:0] cout;
    fullAdder_1b bit0(.A(A[0]), .B(B[0]), .C_in(C_in), .S(S[0]), .C_out(cout[0]));
    fullAdder_1b bit1(.A(A[1]), .B(B[1]), .C_in(cout[0]), .S(S[1]), .C_out(cout[1]));
    fullAdder_1b bit2(.A(A[2]), .B(B[2]), .C_in(cout[1]), .S(S[2]), .C_out(cout[2]));
    fullAdder_1b bit3(.A(A[3]), .B(B[3]), .C_in(cout[2]), .S(S[3]), .C_out(C_out));
endmodule
module rca_4b(A, B, C_in, S, C_out);



    parameter   N = 4;

    input [N-1: 0] A, B;
    input          C_in;
    output [N-1:0] S;
    output         C_out;


    wire[2:0] cout;
    fullAdder_1b bit0(.A(A[0]), .B(B[0]), .C_in(C_in), .S(S[0]), .C_out(cout[0]));
    fullAdder_1b bit1(.A(A[1]), .B(B[1]), .C_in(cout[0]), .S(S[1]), .C_out(cout[1]));
    fullAdder_1b bit2(.A(A[2]), .B(B[2]), .C_in(cout[1]), .S(S[2]), .C_out(cout[2]));
    fullAdder_1b bit3(.A(A[3]), .B(B[3]), .C_in(cout[2]), .S(S[3]), .C_out(C_out));
endmodule