The XOR gate is a logic gate the place the output goes HIGH (or “1”) if one – and just one – of its inputs are HIGH. XOR stands for Unique-OR. Take a look at its image and fact desk under.
The logic or Boolean expression for an XOR gate is which implies that:
If A and B are totally different from one another, then Q is true
XOR gates are often discovered with simply two inputs. If both of the 2 inputs is 1, whereas the opposite is 0, then the output turns into 1.
Stated otherwise, the output is HIGH solely when its two inputs aren’t the identical.
XOR Gate Fact Desk
|Enter A||Enter B||Output Q|
IC Alternate options with XOR Gates
These ought to all be obtainable as hobbyist-friendly through-hole chips. Simply be sure you purchase the DIP bundle model.
XOR Gate Instance Circuit: Toggle Flip flop
You should utilize the XOR for plenty of issues. Beneath is an instance circuit with an XOR and a D flip flop to create a Toggle flip flop.
As an alternative of setting the flip flop to 1 or 0, which is what you’d usually do with a d flip flop, you’ll toggle the flip flop at any time when the enter is HIGH. So if Q was HIGH, it will likely be LOW. If it was LOW, it will likely be HIGH.
Subsequent Step within the Logic Gates Tutorial
Take a look at the opposite articles on this logic gates tutorial: