Author: M Abo Bakar Aslam

XOR (Exclusive OR) Gate

This gate will generate otput as 1 (HIGH), if number of 1's in inputs are ODD. This is also called ODD Function.

1. Properties

  1. Output will be 1, if number of 1's in inputs are ODD. Otherwise, output is 0.
  2. This is also called ODD Function

2. Symbol - 2 Inputs XOR Gate

XOR Gate with 2 Inputs
Figure 1: XOR Gate with 2 Inputs

3. Boolean Expression - 2 inputs XOR Gate

Y = AB′ + A′B = A ⊕ B

4. Truth Table - 2 Inputs XOR Gate

Total Number of Rows = 2^(number of inputs) = 2^2 = 4
Total Numbers: 0, 1, 2, 3
ABY
000
011
101
110

5. Circuit Diagram using Basic Gates

Circuit Diagram for 2 Input XOR Gate
Figure 2: Circuit Diagram for 2 Input XOR Gate


6. Symbol - 3 Inputs XOR Gate

XOR Gate with 3 Inputs
Figure 3: XOR Gate with 3 Inputs

7. Boolean Expression - 3 inputs XOR Gate

Y = A ⊕ B ⊕ C = (AB′ + A′B) ⊕ C
Y = (AB′ + A′B)'C + (AB′ + A′B)C'

8. Truth Table - 3 Inputs XOR Gate

Total Number of Rows = 2^(number of inputs) = 2^3 = 8
Total Numbers: 0, 1, 2, 3, 4, 5, 6, 7
ABCY
0000
0011
0101
0110
1001
1010
1100
1111

9. Circuit Diagram using Basic Gates for 3 Input XOR Gate

Circuit Diagram for 3 Input XOR Gate
Figure 4: Circuit Diagram for 3 Input XOR Gate