|
|
Exclusive
OR Gate |
|
The name exclusive OR Gate is usually shortened to XOR gate.
The
XOR gate can be obtained by using OR, AND and NOT gates as shown
in Fig (a). |
|
|
|
|
Fig (a) |
|
Fig
(b) |
|
|
Inputs |
Outputs |
A |
B |
OR |
XOR |
0 |
0 |
0 |
0 |
1 |
0 |
1 |
1 |
0 |
1 |
1 |
1 |
1 |
1 |
1 |
0 |
|
Truth
Table of XOR |
|
Shows
the truth table for XOR gate. The table shows that the output
is HIGH (1) if any but not all of the inputs are High (1).This
exclusive feature eliminates the similarly to the OR gate. The
OR gate truth table is also given so that you can compare the
OR gate truth table with XOR gate truth table. The logic symbol
for XOR gate is shown in Fig. (b). Note that the symbol is similar
to that of OR gate except for the additional curved line at
the input side. |
|
The
Logic operations in the circuit are as under:
|
|
A |
B |
|
|
. B = Y' |
A
. = Y" |
Y
= Y' + Y" |
0 |
0 |
1 |
1 |
0 |
0 |
0 |
1 |
0 |
0 |
1 |
0 |
1 |
1 |
0 |
1 |
1 |
0 |
1 |
0 |
1 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
|
|
Note that 0 ANDed with 1 is 0 and AND with 1 is 1.
|
|