Waveform: Figure 3: Xor Gate Using Winspice
Waveform: Figure 3: Xor Gate Using Winspice
A B C A B C
1 1 0 1 1 1
0 1 1 0 1 0
1 0 1 1 0 0
0 0 0 0 0 1
TABLE 1: XOR Gate Truth TABLE 2: XNOR Gate Truth
Table with Inputs A and B Table with Inputs A and B
A B Carry Sum
1 1 0 0
0 1 0 1
In complementary;
Carry = A A +AB+ A B + B B
Carry = A B +AB
KARNAUGH MAP
Half Adder Full Adder
Carry Cout
B B C C
A 0 0
AB 0 0
A 0 1
AB 0 1
Sum AB 1 1
B B AB 0 1
A 0 1 Sum
A 1 1
C C
AB 0 1
AB 1 0
AB 0 1
AB 1 0
FULL ADDER
Cin A B Sum Cout
0 0 0 0 0
0 1 0 1 0
0 0 1 1 0
0 1 1 0 1
1 0 0 1 0
1 1 0 0 1
1 0 1 0 1
1 1 1 1 1
Table 2: Full Adder Truth Table with Inputs Cin, A, and B and
Outputs Sum and Cout
Cout = AB + BC +AC
NETLIST
HALF ADDER