data/full_repos/permissive/169885920/hw3_2/rca_4b.v
1: b"%Error: data/full_repos/permissive/169885920/hw3_2/rca_4b.v:19: Cannot find file containing module: 'fullAdder_1b'\n    fullAdder_1b bit_0(A[0], B[0], C_in, S[0], c0);\n    ^~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/169885920/hw3_2,data/full_repos/permissive/169885920/fullAdder_1b\n             data/full_repos/permissive/169885920/hw3_2,data/full_repos/permissive/169885920/fullAdder_1b.v\n             data/full_repos/permissive/169885920/hw3_2,data/full_repos/permissive/169885920/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/169885920/hw3_2/rca_4b.v:20: Cannot find file containing module: 'fullAdder_1b'\n    fullAdder_1b bit_1(A[1], B[1], c0, S[1], c1);\n    ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/169885920/hw3_2/rca_4b.v:21: Cannot find file containing module: 'fullAdder_1b'\n    fullAdder_1b bit_2(A[2], B[2], c1, S[2], c2);\n    ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/169885920/hw3_2/rca_4b.v:22: Cannot find file containing module: 'fullAdder_1b'\n    fullAdder_1b bit_3(A[3], B[3], c2, S[3], 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 c0, c1, c2; 

    fullAdder_1b bit_0(A[0], B[0], C_in, S[0], c0);
    fullAdder_1b bit_1(A[1], B[1], c0, S[1], c1);
    fullAdder_1b bit_2(A[2], B[2], c1, S[2], c2);
    fullAdder_1b bit_3(A[3], B[3], c2, S[3], 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 c0, c1, c2; 

    fullAdder_1b bit_0(A[0], B[0], C_in, S[0], c0);
    fullAdder_1b bit_1(A[1], B[1], c0, S[1], c1);
    fullAdder_1b bit_2(A[2], B[2], c1, S[2], c2);
    fullAdder_1b bit_3(A[3], B[3], c2, S[3], C_out);

endmodule