data/full_repos/permissive/169777536/hw3_2/rca_16b.v
1: b"%Error: data/full_repos/permissive/169777536/hw3_2/rca_16b.v:19: Cannot find file containing module: 'rca_4b'\n  rca_4b rca_4b_0 (.A(A[3:0]), .B(B[3:0]), .C_in(C_in), .S(S[3:0]), .C_out(c_0));\n  ^~~~~~\n        ... Looked in:\n             data/full_repos/permissive/169777536/hw3_2,data/full_repos/permissive/169777536/rca_4b\n             data/full_repos/permissive/169777536/hw3_2,data/full_repos/permissive/169777536/rca_4b.v\n             data/full_repos/permissive/169777536/hw3_2,data/full_repos/permissive/169777536/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/169777536/hw3_2/rca_16b.v:20: Cannot find file containing module: 'rca_4b'\n  rca_4b rca_4b_1 (.A(A[7:4]), .B(B[7:4]), .C_in(c_0), .S(S[7:4]), .C_out(c_1));\n  ^~~~~~\n%Error: data/full_repos/permissive/169777536/hw3_2/rca_16b.v:21: Cannot find file containing module: 'rca_4b'\n  rca_4b rca_4b_2 (.A(A[11:8]), .B(B[11:8]), .C_in(c_1), .S(S[11:8]), .C_out(c_2));\n  ^~~~~~\n%Error: data/full_repos/permissive/169777536/hw3_2/rca_16b.v:22: Cannot find file containing module: 'rca_4b'\n  rca_4b rca_4b_3 (.A(A[15:12]), .B(B[15:12]), .C_in(c_2), .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 c_1, c_2, c_3;

  rca_4b rca_4b_0 (.A(A[3:0]), .B(B[3:0]), .C_in(C_in), .S(S[3:0]), .C_out(c_0));
  rca_4b rca_4b_1 (.A(A[7:4]), .B(B[7:4]), .C_in(c_0), .S(S[7:4]), .C_out(c_1));
  rca_4b rca_4b_2 (.A(A[11:8]), .B(B[11:8]), .C_in(c_1), .S(S[11:8]), .C_out(c_2));
  rca_4b rca_4b_3 (.A(A[15:12]), .B(B[15:12]), .C_in(c_2), .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 c_1, c_2, c_3;

  rca_4b rca_4b_0 (.A(A[3:0]), .B(B[3:0]), .C_in(C_in), .S(S[3:0]), .C_out(c_0));
  rca_4b rca_4b_1 (.A(A[7:4]), .B(B[7:4]), .C_in(c_0), .S(S[7:4]), .C_out(c_1));
  rca_4b rca_4b_2 (.A(A[11:8]), .B(B[11:8]), .C_in(c_1), .S(S[11:8]), .C_out(c_2));
  rca_4b rca_4b_3 (.A(A[15:12]), .B(B[15:12]), .C_in(c_2), .S(S[15:12]), .C_out(C_out));

endmodule