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
Reference:

Tocci,
Sec 4-6


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:

        A AND NOT B OR B AND NOT A
    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
Reference:

Horowitz & Hill,
Sec 8-12


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.


A AND NOT B OR B AND NOT A


A OR B AND NOT A AND B

DeMorgan's Theorem
Basic Gates
Index

Horowitz & Hill,
Ch 8


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