data/full_repos/permissive/170902741/hw3_2/fullAdder_1b.v
1: b"%Error: data/full_repos/permissive/170902741/hw3_2/fullAdder_1b.v:17: Cannot find file containing module: 'xor2'\n xor2 xor_a_b(.in1(A), .in2(B), .out(w_a_xor_b));\n ^~~~\n        ... Looked in:\n             data/full_repos/permissive/170902741/hw3_2,data/full_repos/permissive/170902741/xor2\n             data/full_repos/permissive/170902741/hw3_2,data/full_repos/permissive/170902741/xor2.v\n             data/full_repos/permissive/170902741/hw3_2,data/full_repos/permissive/170902741/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/170902741/hw3_2/fullAdder_1b.v:18: Cannot find file containing module: 'xor2'\n xor2 xor_cin_a_b(.in1(C_in), .in2(w_a_xor_b), .out(S));\n ^~~~\n%Error: data/full_repos/permissive/170902741/hw3_2/fullAdder_1b.v:21: Cannot find file containing module: 'nand2'\n nand2 nand_a_b(.in1(A), .in2(B), .out(w_nand_a_b));\n ^~~~~\n%Error: data/full_repos/permissive/170902741/hw3_2/fullAdder_1b.v:22: Cannot find file containing module: 'nand2'\n nand2 nand_cin_a_xor_b(.in1(w_a_xor_b), .in2(C_in), .out(w_nand_cin));\n ^~~~~\n%Error: data/full_repos/permissive/170902741/hw3_2/fullAdder_1b.v:23: Cannot find file containing module: 'nand2'\n nand2 nand_out(.in1(w_nand_a_b), .in2(w_nand_cin), .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 w_a_xor_b, w_nand_a_b, w_nand_cin;



	xor2 xor_a_b(.in1(A), .in2(B), .out(w_a_xor_b));
	xor2 xor_cin_a_b(.in1(C_in), .in2(w_a_xor_b), .out(S));


	nand2 nand_a_b(.in1(A), .in2(B), .out(w_nand_a_b));
	nand2 nand_cin_a_xor_b(.in1(w_a_xor_b), .in2(C_in), .out(w_nand_cin));
	nand2 nand_out(.in1(w_nand_a_b), .in2(w_nand_cin), .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 w_a_xor_b, w_nand_a_b, w_nand_cin;



	xor2 xor_a_b(.in1(A), .in2(B), .out(w_a_xor_b));
	xor2 xor_cin_a_b(.in1(C_in), .in2(w_a_xor_b), .out(S));


	nand2 nand_a_b(.in1(A), .in2(B), .out(w_nand_a_b));
	nand2 nand_cin_a_xor_b(.in1(w_a_xor_b), .in2(C_in), .out(w_nand_cin));
	nand2 nand_out(.in1(w_nand_a_b), .in2(w_nand_cin), .out(C_out));

endmodule