data/full_repos/permissive/170041316/hw3_2/fullAdder_1b.v
1: b"%Error: data/full_repos/permissive/170041316/hw3_2/fullAdder_1b.v:15: Cannot find file containing module: 'xor2'\n    xor2 xor_ab(.in1(A),.in2(B), .out(a_xor_b));\n    ^~~~\n        ... Looked in:\n             data/full_repos/permissive/170041316/hw3_2,data/full_repos/permissive/170041316/xor2\n             data/full_repos/permissive/170041316/hw3_2,data/full_repos/permissive/170041316/xor2.v\n             data/full_repos/permissive/170041316/hw3_2,data/full_repos/permissive/170041316/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/170041316/hw3_2/fullAdder_1b.v:16: Cannot find file containing module: 'xor2'\n    xor2 xor_abc(.in1(a_xor_b),.in2(C_in), .out(S));\n    ^~~~\n%Error: data/full_repos/permissive/170041316/hw3_2/fullAdder_1b.v:17: Cannot find file containing module: 'nand2'\n    nand2 nand_ab(.in1(A), .in2(B), .out(a_nand_b));\n    ^~~~~\n%Error: data/full_repos/permissive/170041316/hw3_2/fullAdder_1b.v:18: Cannot find file containing module: 'nand2'\n    nand2 nand_p(.in1(a_xor_b), .in2(C_in), .out(ab_nand_c));\n    ^~~~~\n%Error: data/full_repos/permissive/170041316/hw3_2/fullAdder_1b.v:19: Cannot find file containing module: 'nand2'\n    nand2 nand_co(.in1(a_nand_b), .in2(ab_nand_c), .out(C_out));\n    ^~~~~\n%Error: Exiting due to 5 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;
    xor2 xor_ab(.in1(A),.in2(B), .out(a_xor_b));
    xor2 xor_abc(.in1(a_xor_b),.in2(C_in), .out(S));
    nand2 nand_ab(.in1(A), .in2(B), .out(a_nand_b));
    nand2 nand_p(.in1(a_xor_b), .in2(C_in), .out(ab_nand_c));
    nand2 nand_co(.in1(a_nand_b), .in2(ab_nand_c), .out(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;
    xor2 xor_ab(.in1(A),.in2(B), .out(a_xor_b));
    xor2 xor_abc(.in1(a_xor_b),.in2(C_in), .out(S));
    nand2 nand_ab(.in1(A), .in2(B), .out(a_nand_b));
    nand2 nand_p(.in1(a_xor_b), .in2(C_in), .out(ab_nand_c));
    nand2 nand_co(.in1(a_nand_b), .in2(ab_nand_c), .out(C_out));
endmodule