Advertisements
Advertisements
Question
An X-OR gate has following truth table:
| A | B | Y |
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
It is represented by following logic relation `Y = barA.B + A.barB`. Build this gate using AND, OR and NOT gates.
Advertisements
Solution
X-OR gate can be realized by the combination of two NOT gates, two AND gates and one OR gate. According to the problem, the logic relation for the given truth table is
When `Y = barA * B + A * barB = Y_1 + Y_2`
`Y_1 = A * B` and `Y_2 = A * barB`
Y1 can be obtained as output of AND gate 1 for which one input is of A through NOT gate and another input is of B. Y2 can be obtained as the output of AND pate II for which one input is of A and the other input is of B through NOT gate.
Now Y can be obtained as output from OR gate, where Y1 and Y2 are inputs of OR gate.
Thus, the logic circuit of this relation is given below.

