Exclusive OR gate

Terminology of digital electronic technology
Collection
zero Useful+1
zero
XOR gate (English: Exclusive OR gate, XOR gate for short, also known as EOR gate, ExOR gate) is implemented in digital logic Logical XOR Of Logic gate There are multiple inputs and one output, and the multi input XOR gate can be composed of two input XOR gates. If two input level Different, the output is High level 1; If the two inputs have the same level, the output is low level 0. That is, if the two inputs are different, the XOR gate outputs high level 1.
Chinese name
Exclusive OR gate
Foreign name
Exclusive-OR gate
Abbreviation
XOR gate
Also called
EOR gate
Application
Digital Electronic Technology
Features
Input different level, output high level

essential information

Announce
edit
Although XOR is not one of the basic operations of switch algebra, it is widely used in practical applications discrete XOR door of. Most switch technologies can not directly realize XOR function, but use multiple door combination design. [1]
Logical expression
(⊕ is the XOR operator)
Truth table
A
B
Output Y
zero
zero
zero
zero
one
one
one
zero
one
one
one
zero
The "XOR logic" relationship means that when the values of two logical independent variables are different, the function is 1; On the contrary, when the independent variable values are the same, the function is 0. In other words, when two input signals are different, there is an output, but there is no output at the same time. [2]

realization

Announce
edit
The exclusive OR gate can realize the addition of modulo 2, so the exclusive OR gate can realize the Binary Add. Half adder It is composed of XOR door and And door Composed of. [3]

Symbol

Announce
edit
The common logic symbols of XOR door are shown in Figure 1 below. The logic function of inverting any two signals (input or output) of XOR gate at the same time without changing the result. In the design of "circle to circle", we choose the symbol that can best express the logical function to be realized. [1]
Figure 1
IEC 60617-12
ANSI/IEEE Std 91-1984
Equivalent symbol of XOR door

application

Announce
edit
Figure 2 [2]
XOR gates are widely used in computing circuits and error correction circuits for digital signal transmission. The commonly used XOR gate integrated circuit model is 74LS386, which contains four two input XOR gate circuits. Its pin functions and internal logic structure are shown in Figure 2.