data/full_repos/permissive/170626364/hw3_2/rca_16b.v
1: b"%Error: data/full_repos/permissive/170626364/hw3_2/rca_16b.v:19: Cannot find file containing module: 'rca_4b'\n    rca_4b \n    ^~~~~~\n        ... Looked in:\n             data/full_repos/permissive/170626364/hw3_2,data/full_repos/permissive/170626364/rca_4b\n             data/full_repos/permissive/170626364/hw3_2,data/full_repos/permissive/170626364/rca_4b.v\n             data/full_repos/permissive/170626364/hw3_2,data/full_repos/permissive/170626364/rca_4b.sv\n             rca_4b\n             rca_4b.v\n             rca_4b.sv\n             obj_dir/rca_4b\n             obj_dir/rca_4b.v\n             obj_dir/rca_4b.sv\n%Error: Exiting due to 1 error(s)\n"
module rca_16b(A, B, C_in, S, C_out);


    parameter   N = 16;

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


    wire[3:0] carry;
    rca_4b 
        a0(A[3:0], B[3:0], C_in, S[3:0], carry[0]),
        a1(A[7:4], B[7:4], carry[0], S[7:4], carry[1]),
        a2(A[11:8], B[11:8], carry[1], S[11:8], carry[2]),
        a3(A[15:12], B[15:12], carry[2], S[15:12], C_out);

endmodule
module rca_16b(A, B, C_in, S, C_out);



    parameter   N = 16;

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


    wire[3:0] carry;
    rca_4b 
        a0(A[3:0], B[3:0], C_in, S[3:0], carry[0]),
        a1(A[7:4], B[7:4], carry[0], S[7:4], carry[1]),
        a2(A[11:8], B[11:8], carry[1], S[11:8], carry[2]),
        a3(A[15:12], B[15:12], carry[2], S[15:12], C_out);

endmodule