data/full_repos/permissive/169885920/hw3_2/rca_16b.v
1: b"%Error: data/full_repos/permissive/169885920/hw3_2/rca_16b.v:18: Cannot find file containing module: 'rca_4b'\n     rca_4b bits_0_3(A[3:0], B[3:0], 1'b0, S[3:0], c0); \n     ^~~~~~\n        ... Looked in:\n             data/full_repos/permissive/169885920/hw3_2,data/full_repos/permissive/169885920/rca_4b\n             data/full_repos/permissive/169885920/hw3_2,data/full_repos/permissive/169885920/rca_4b.v\n             data/full_repos/permissive/169885920/hw3_2,data/full_repos/permissive/169885920/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: data/full_repos/permissive/169885920/hw3_2/rca_16b.v:19: Cannot find file containing module: 'rca_4b'\n     rca_4b bits_4_7(A[7:4], B[7:4], c0, S[7:4], c1); \n     ^~~~~~\n%Error: data/full_repos/permissive/169885920/hw3_2/rca_16b.v:20: Cannot find file containing module: 'rca_4b'\n     rca_4b bits_8_11(A[11:8], B[11:8], c1, S[11:8], c2); \n     ^~~~~~\n%Error: data/full_repos/permissive/169885920/hw3_2/rca_16b.v:21: Cannot find file containing module: 'rca_4b'\n     rca_4b bits_12_15(A[15:12], B[15:12], c2, S[15:12], C_out); \n     ^~~~~~\n%Error: Exiting due to 4 error(s)\n"
module rca_16b(A, B, S, C_out);


    parameter   N = 16;

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

    wire c0, c1, c2;

     rca_4b bits_0_3(A[3:0], B[3:0], 1'b0, S[3:0], c0); 
     rca_4b bits_4_7(A[7:4], B[7:4], c0, S[7:4], c1); 
     rca_4b bits_8_11(A[11:8], B[11:8], c1, S[11:8], c2); 
     rca_4b bits_12_15(A[15:12], B[15:12], c2, S[15:12], C_out); 

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



    parameter   N = 16;

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

    wire c0, c1, c2;

     rca_4b bits_0_3(A[3:0], B[3:0], 1'b0, S[3:0], c0); 
     rca_4b bits_4_7(A[7:4], B[7:4], c0, S[7:4], c1); 
     rca_4b bits_8_11(A[11:8], B[11:8], c1, S[11:8], c2); 
     rca_4b bits_12_15(A[15:12], B[15:12], c2, S[15:12], C_out); 

endmodule