XOR Gate


An exclusive OR, shortened to XOR, is similar to an OR gate with one major difference. Can you tell from the truth table?

 

When we say exclusive, we mean it. This means that output is high when either of inputs A or B is high, but not if both A and B are high.

It turns out the XOR gate is an incredibly useful function in digital logic. It can be implemented with the three fundamental digital logic gates. A mix of NOTs, ANDs, and an OR. 



This is the equivalent circuit of an Exclusive OR gate. It composed of two (2)  NOT gates, two (2) AND gates and one (1) OR gate. The truth table of the circuit above is same in the truth table of an XOR gate.


IC 7486 EXCLUSIVE OR GATE 


This is an example of convenient packaging of XOR gates in integrated circuit form. 


This is the pin configuration of an XOR Gate. It is a 7486 IC. It composed of 14 pins that has four (4) XOR gates as you can see in the picture.

If you have questions, just comment below! Thank you!



 
First

8 comments

Write comments
July 27, 2016 at 5:42 AM delete

Maam Daisy why is XOR gate and Nor gate called a "hybrid" logic gates?

Reply
avatar
Unknown
AUTHOR
July 27, 2016 at 8:52 AM delete

Hybrid logic gates are logic gates that are combined with the use of basic logic gates like AND, OR, and NOT. XOR gate is considered hybrid logic gate because it can be design using AND, OR and NOT gates as I mentioned above. NOR gate is also hybrid logic gate because we can also make NOR gate with the use of AND, OR, and NOT.

Reply
avatar
Cheska
AUTHOR
July 27, 2016 at 5:44 PM delete

Ma'am how do we know if our XOR gate is working?

Reply
avatar
Unknown
AUTHOR
July 27, 2016 at 8:00 PM delete

If you buy XOR gate in an electronic shop, you do not know if it is working or not. To test if our XOR gate is working, we try to test every gates inside the IC if it can receive an input and display an output. We all know that an IC7486 has 4 XOR gates. Check the first XOR gate if it is working. Connect the +5V to VCC or pin 14. Then Connect the 0V to Ground. The first inputs of XOR gate is 2 & 3 and the output is 4. By using the LED as an output, connect the positive terminal in pin 4 and then connect the negative terminal to the Ground. We all know that if one of the inputs is high, the output is high. And when the inputs are the same which means it is both high or both low, the output is low. So try to check all the individual gates inside the IC if it can follow the truth table.

Reply
avatar
Unknown
AUTHOR
July 31, 2016 at 11:37 PM delete

Ma'am daisy how many input and output does the XOR GATE have? and what pin numbers are inputs and outputs?

Reply
avatar
Unknown
AUTHOR
July 31, 2016 at 11:47 PM delete

Hi Joyce! An XOR Gate has two inputs and one output. In our 7486 IC, we have 14 pins. Pin 7 is the ground and Pin 14 is the VCC.

Pin 1 - first input of the first XOR gate.
Pin 2 - second input of the first XOR gate.
Pin 3 - output of the first XOR gate.
Pin 4 - first input of the second XOR gate.
Pin 5 - second input of the second XOR gate.
Pin 6 - output of the second XOR gate.
Pin 8 - output of the third XOR gate.
Pin 9 - first input of the third XOR gate.
Pin 10 - second input of the third XOR gate
Pin 11 - output of the fourth XOR gate.
Pin 12 - first input of the fourth XOR gate.
Pin 13 - second input of the fourth XOR gate.

Reply
avatar
August 1, 2016 at 5:05 PM delete

Hi maam! In what application do we usually use the XOR Gate ? Thank you.

Reply
avatar
Unknown
AUTHOR
August 1, 2016 at 5:31 PM delete

Hi Alfredo! XOR or EX-OR gate is a digital logic gate, designed for arithmetic and logical operations, Every electronic student must have studied this gate is his/her career. This gate is mainly used in applications where there is a need for mathematical calculations. So in calculators, computers and many digital applications use this gate. We can also used this if you want to make a game. A fun example of an XOR gate would be a game show buzzer. If two contestants buzz in, only one of them, the first to buzz, will activate the circuit. The other contestant will be “locked out” from buzzing.

Reply
avatar

“Sadyang mailap ang humanap ng tunay na pag-ibig. Madaling sabihing mahal kita, madaling isiping mahal ka niya, pero paano mo malalamang... ito na, eto na talaga?”

Ramon Bautista, Bakit Hindi Ka Crush ng Crush Mo?