data/full_repos/permissive/169885920/hw3_2/fullAdder_1b.v
1: b"%Error: data/full_repos/permissive/169885920/hw3_2/fullAdder_1b.v:15: Cannot find file containing module: 'xor3'\n    xor3\n    ^~~~\n        ... Looked in:\n             data/full_repos/permissive/169885920/hw3_2,data/full_repos/permissive/169885920/xor3\n             data/full_repos/permissive/169885920/hw3_2,data/full_repos/permissive/169885920/xor3.v\n             data/full_repos/permissive/169885920/hw3_2,data/full_repos/permissive/169885920/xor3.sv\n             xor3\n             xor3.v\n             xor3.sv\n             obj_dir/xor3\n             obj_dir/xor3.v\n             obj_dir/xor3.sv\n%Error: data/full_repos/permissive/169885920/hw3_2/fullAdder_1b.v:17: Cannot find file containing module: 'not1'\n    not1\n    ^~~~\n%Error: data/full_repos/permissive/169885920/hw3_2/fullAdder_1b.v:19: Cannot find file containing module: 'nand3'\n    nand3\n    ^~~~~\n%Error: data/full_repos/permissive/169885920/hw3_2/fullAdder_1b.v:21: Cannot find file containing module: 'nand2'\n    nand2\n    ^~~~~\n%Error: data/full_repos/permissive/169885920/hw3_2/fullAdder_1b.v:26: Cannot find file containing module: 'nand3'\n    nand3\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 x0, x1, n0, c0, c1, c2;

    xor3
    	xo(.in1(A), .in2(B), .in3(C_in), .out(x1));
    not1
    	no(.in1(x1), .out(x0));
    nand3
        na(.in1(A), .in2(B), .in3(C_in), .out(n0));
    nand2
    	a0(.in1(x0), .in2(n0), .out(S)),
	a1(.in1(A), .in2(B), .out(c0)),
	a2(.in1(A), .in2(C_in), .out(c1)),
	a3(.in1(B), .in2(C_in), .out(c2));
    nand3
    	a4(.in1(c0), .in2(c1), .in3(c2), .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 x0, x1, n0, c0, c1, c2;

    xor3
    	xo(.in1(A), .in2(B), .in3(C_in), .out(x1));
    not1
    	no(.in1(x1), .out(x0));
    nand3
        na(.in1(A), .in2(B), .in3(C_in), .out(n0));
    nand2
    	a0(.in1(x0), .in2(n0), .out(S)),
	a1(.in1(A), .in2(B), .out(c0)),
	a2(.in1(A), .in2(C_in), .out(c1)),
	a3(.in1(B), .in2(C_in), .out(c2));
    nand3
    	a4(.in1(c0), .in2(c1), .in3(c2), .out(C_out));

endmodule