XOR gate

From Wikipedia, the free encyclopedia
Jump to: navigation, search
INPUT OUTPUT
A B A XOR B
0 0 0
0 1 1
1 0 1
1 1 0

The XOR gate (Exclusive OR) is a logic gate that outputs 1 (true) when exactly one of its inputs is 1 (true). That means that if both of its inputs are the same, the output will be 0 (false).

Symbols[change | edit source]

There are three symbols for the XOR gate:

XOR ANSI Labelled.svg XOR IEC.svg XOR DIN.svg
MIL/ANSI Symbol IEC Symbol DIN Symbol