data/full_repos/permissive/170019407/hw3_2/rca_16b.v
1: b"%Error: data/full_repos/permissive/170019407/hw3_2/rca_16b.v:19: Cannot find file containing module: 'rca_4b'\n rca_4b m0( .A(A[3:0]), .B(B[3:0]), .C_in(C_in), .S(S[3:0]), .C_out(n1));\n ^~~~~~\n        ... Looked in:\n             data/full_repos/permissive/170019407/hw3_2,data/full_repos/permissive/170019407/rca_4b\n             data/full_repos/permissive/170019407/hw3_2,data/full_repos/permissive/170019407/rca_4b.v\n             data/full_repos/permissive/170019407/hw3_2,data/full_repos/permissive/170019407/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/170019407/hw3_2/rca_16b.v:20: Cannot find file containing module: 'rca_4b'\n rca_4b m1( .A(A[7:4]), .B(B[7:4]), .C_in(n1), .S(S[7:4]), .C_out(n2));\n ^~~~~~\n%Error: data/full_repos/permissive/170019407/hw3_2/rca_16b.v:21: Cannot find file containing module: 'rca_4b'\n rca_4b m2( .A(A[11:8]), .B(B[11:8]), .C_in(n2), .S(S[11:8]), .C_out(n3));\n ^~~~~~\n%Error: data/full_repos/permissive/170019407/hw3_2/rca_16b.v:22: Cannot find file containing module: 'rca_4b'\n rca_4b m3( .A(A[15:12]), .B(B[15:12]), .C_in(n3), .S(S[15:12]), .C_out(C_out));\n ^~~~~~\n%Error: Exiting due to 4 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 n1, n2, n3;


	rca_4b m0( .A(A[3:0]), .B(B[3:0]), .C_in(C_in), .S(S[3:0]), .C_out(n1));
	rca_4b m1( .A(A[7:4]), .B(B[7:4]), .C_in(n1), .S(S[7:4]), .C_out(n2));
	rca_4b m2( .A(A[11:8]), .B(B[11:8]), .C_in(n2), .S(S[11:8]), .C_out(n3));
	rca_4b m3( .A(A[15:12]), .B(B[15:12]), .C_in(n3), .S(S[15:12]), .C_out(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 n1, n2, n3;


	rca_4b m0( .A(A[3:0]), .B(B[3:0]), .C_in(C_in), .S(S[3:0]), .C_out(n1));
	rca_4b m1( .A(A[7:4]), .B(B[7:4]), .C_in(n1), .S(S[7:4]), .C_out(n2));
	rca_4b m2( .A(A[11:8]), .B(B[11:8]), .C_in(n2), .S(S[11:8]), .C_out(n3));
	rca_4b m3( .A(A[15:12]), .B(B[15:12]), .C_in(n3), .S(S[15:12]), .C_out(C_out));

endmodule