data/full_repos/permissive/170626364/hw3_2/fullAdder_1b.v
None: at end of input
1: b"%Error: data/full_repos/permissive/170626364/hw3_2/fullAdder_1b.v:16: Cannot find file containing module: 'xor2'\n    xor2 g1(A, B, a_xor_b),\n    ^~~~\n        ... Looked in:\n             data/full_repos/permissive/170626364/hw3_2,data/full_repos/permissive/170626364/xor2\n             data/full_repos/permissive/170626364/hw3_2,data/full_repos/permissive/170626364/xor2.v\n             data/full_repos/permissive/170626364/hw3_2,data/full_repos/permissive/170626364/xor2.sv\n             xor2\n             xor2.v\n             xor2.sv\n             obj_dir/xor2\n             obj_dir/xor2.v\n             obj_dir/xor2.sv\n%Error: data/full_repos/permissive/170626364/hw3_2/fullAdder_1b.v:18: Cannot find file containing module: 'nand2'\n    nand2 g3(A, B, a_nand_b),\n    ^~~~~\n%Error: Exiting due to 2 error(s)\n"
module fullAdder_1b(A, B, C_in, S, C_out);
    input  A, B;
    input  C_in;
    output S;
    output C_out;


    wire a_xor_b, a_nand_b, c_nand_d;
    xor2 g1(A, B, a_xor_b),
        g2(C_in, a_xor_b, S); 
    nand2 g3(A, B, a_nand_b),
        g4(C_in, a_xor_b, c_nand_d),
        g5(a_nand_b, c_nand_d, C_out); 

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

    input  A, B;
    input  C_in;
    output S;
    output C_out;


    wire a_xor_b, a_nand_b, c_nand_d;
    xor2 g1(A, B, a_xor_b),
        g2(C_in, a_xor_b, S); 
    nand2 g3(A, B, a_nand_b),
        g4(C_in, a_xor_b, c_nand_d),
        g5(a_nand_b, c_nand_d, C_out); 

endmodule