Introduction to Logic Gates

XOR

XOR stands for exclusive OR. XOR gates count the number of “1s” available at their inputs and if it is an even number, the output will be “0,” and if it is an odd number, the output will be “1.” (Don’t forget that zero is an even number, so when all inputs are “0”, the output will be “0”.) XOR operation is represented by the symbol ⊕. So Y = A ⊕ B. You can see XOR logic gate symbol in Figure 10 and its truth table right below it.

XOR gateFigure 17: XOR logic gate.

A B Y
0 0 0
0 1 1
1 0 1
1 1 0

If you need more than two inputs, you will need to add another XOR gate as shown in Figure 18.

Expanding XOR logic gatesFigure 18: Expanding XOR inputs.

The most famous XOR gate integrated circuit is the 7486 and you can its pinout in Figure 19.

7486 ICFigure 19: 7486 integrated circuit provides four two-input XOR gates.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *