EX-OR Gate
There are two “hybrid logic gates” that are made using combining other basic gates, and are still considered a complete logic gate. They are the Exclusive-OR Gate or EX-OR Gate and Exclusive-NOR Gate or EX-NOR Gate.
EX-OR Gate is achieved by combining standard logic gates together to form a complex gate function. They are used in building arithmetic logic circuits, error detection circuits, and computational logic comparators.
The two input EX-OR Gate gives the sum of two binary numbers that can be said to operate as a module two adder.
The truth table for two-input EX-OR Gate is as follows:
B | A | Q |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
A or B gives Q. But both does not. |
The Boolean expression= Q = AB + AB
From the truth table it can deduced that EX-OR Gate only goes high when the input in both the terminals are different.
3-input EX-OR Gate
The truth table for a 3-input EX-OR Gate is as follows:
C | A | B | Q |
0 | 0 | 0 | 0 |
0 | 0 | 1 | 1 |
0 | 1 | 0 | 1 |
0 | 1 | 1 | 0 |
1 | 0 | 0 | 1 |
1 | 0 | 1 | 0 |
1 | 1 | 0 | 0 |
1 | 1 | 1 | 1 |
Odd number of inputs give Q. |
Boolean Expression= Q = ABC + ABC + ABC + ABC.
Reference