Exclusive OR Gate

The output is high when either of inputs A or B is high, but not if both A and B are high.

How do you make one?
IC Example: IC 7486


Basic Gates
Index

Electronics concepts

Digital Circuits
 
HyperPhysics*****Electricity and magnetismR Nave
Go Back









Exclusive OR Gate

Logically, the exclusive OR (XOR) operation can be seen as either of the following operations:

1.         A AND NOT B OR B AND NOT A
2.     A OR B AND NOT A AND B

which can be implemented by the gate arrangements shown. They can also be implemented using NAND gates only.

Basic Gates
Index

Electronics concepts

Digital Circuits
 
HyperPhysics*****Electricity and magnetismR Nave
Go Back









Exclusive OR with NAND

The implementation of the exclusive OR (XOR) operation with just NAND gates illustrates the function of NANDs as universal gates.

1.
A AND NOT B OR B AND NOT A

2.
A OR B AND NOT A AND B

DeMorgan's Theorem
Basic Gates
Index

Electronics concepts

Digital Circuits
 
HyperPhysics*****Electricity and magnetismR Nave
Go Back









IC 7486 Exclusive-OR

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

Basic GatesIC Logic Circuits
Index

Electronics concepts

Digital Circuits
 
HyperPhysics*****Electricity and magnetismR Nave
Go Back