The XOR gate (sometimes EOR gate, or EXOR gate) is a digital logic gate that implements an exclusive or; that is, a true output (1) results if one, and only one, of the inputs to the gate is true (1). If both inputs are false (0) or both are true (0), a false output (0) results. Its behavior is summarized in the truth table shown on the right. A way to remember XOR is "one or the other but not both". It represents the inequality function, i.e., the output is HIGH (1) if the inputs are not alike otherwise the output is LOW (0).
This Function is addition modulo 2. As a result, XOR gates are used to implement binary addition in computers. A half adder consists of an XOR gate and an AND gate.
Other articles related to "gate, xor, xor gate, xor gates":
... Then to perform, two's complement theory says to invert each bit with a NOT gate then add one ... can mark number as positive or negative without using a multiplexer on each bit is to use a XOR (Exclusive OR) gate to precede each bit instead ... First input to the XOR gate is the actual input bit Second input to the XOR gate for each is the Control input This produces the same Truth table for the bit ...
... Hence, a suitable setup of XOR gates can model a linear feedback shift register, in order to generate random sequences of bits ...
Famous quotes containing the word gate:
The shut gate and the decomposing wall:
The gentle serpent, green in the mulberry bush,
Riots with his tongue through the hush
Sentinel of the grave who counts us all!”
—Allen Tate (18991979)