The NOR gate is a digital
logic gate
A logic gate is an idealized or physical device implementing a Boolean function, a logical operation performed on one or more binary inputs that produces a single binary output. Depending on the context, the term may refer to an ideal logic ga ...
that implements
logical NOR - it behaves according to the
truth table
A truth table is a mathematical table used in logic—specifically in connection with Boolean algebra (logic), Boolean algebra, boolean functions, and propositional calculus—which sets out the functional values of logical expression (mathematics) ...
to the right. A HIGH output (1) results if both the inputs to the gate are LOW (0); if one or both input is HIGH (1), a LOW output (0) results. NOR is the result of the
negation
In logic, negation, also called the logical complement, is an operation that takes a proposition P to another proposition "not P", written \neg P, \mathord P or \overline. It is interpreted intuitively as being true when P is false, and fals ...
of the
OR operator. It can also in some senses be seen as the inverse of an
AND gate. NOR is a
functionally complete operation—NOR gates can be combined to generate any other logical function. It shares this property with the
NAND gate. By contrast, the
OR operator is ''monotonic'' as it can only change LOW to HIGH but not vice versa.
In most, but not all, circuit implementations, the negation comes for free—including
CMOS and
TTL. In such logic families, OR is the more complicated operation; it may use a NOR followed by a NOT. A significant exception is some forms of the
domino logic family.
The original
Apollo Guidance Computer used 4,100 integrated circuits (IC), each one containing only two 3-input NOR gates.
Symbols
There are three symbols for NOR gates: the American (ANSI or 'military') symbol and the IEC ('European' or 'rectangular') symbol, as well as the deprecated
DIN
DIN or Din or din may refer to:
People and language
* Din (name), people with the name
* Dīn, an Arabic word with three general senses: judgment, custom, and religion from which the name originates
* Dinka language (ISO 639 code: din), spoken by ...
symbol. For more information see
Logic Gate Symbols. The ANSI symbol for the NOR gate is a standard OR gate with an inversion bubble connected.
The bubble indicates that the function of the or gate has been inverted.
Hardware description and pinout
NOR Gates are basic logic gates, and as such they are recognised in
TTL and
CMOS ICs. The standard,
4000 series, CMOS IC is the 4001, which includes four independent, two-input, NOR gates. The pinout diagram is as follows:
Availability
These devices are available from most semiconductor manufacturers such as
Fairchild Semiconductor,
Philips
Koninklijke Philips N.V. (), commonly shortened to Philips, is a Dutch multinational conglomerate corporation that was founded in Eindhoven in 1891. Since 1997, it has been mostly headquartered in Amsterdam, though the Benelux headquarters is ...
or
Texas Instruments. These are usually available in both through-hole
DIP and
SOIC format. Datasheets are readily available in most
datasheet databases.
In the popular CMOS and TTL
logic families, NOR gates with up to 8 inputs are available:
*
CMOS
** 4001: Quad 2-input NOR gate
** 4025: Triple 3-input NOR gate
** 4002: Dual 4-input NOR gate
** 4078: Single 8-input NOR gate
*
TTL
** 7402: Quad 2-input NOR gate
** 7427: Triple 3-input NOR gate
** 7425: Dual 4-input NOR gate (with strobe, obsolete)
** 74260: Dual 5-Input NOR Gate
** 744078: Single 8-input NOR Gate
In the older
RTL and
ECL families, NOR gates were efficient and most commonly used.
Implementations
The diagrams above show the construction of a 2-input NOR gate using
NMOS logic circuitry. If either of the inputs is high, the corresponding N-channel
MOSFET is turned on and the output is pulled low; otherwise the output is pulled high through the
pull-up resistor.

The diagram below shows a 2-input NOR gate using
CMOS technology. The
diodes and
resistor
A resistor is a passive two-terminal electrical component that implements electrical resistance as a circuit element. In electronic circuits, resistors are used to reduce current flow, adjust signal levels, to divide voltages, bias activ ...
s on the inputs are to protect the CMOS components from damage due to
electrostatic discharge (ESD) and play no part in the logical function of the circuit.
Functional completeness
The NOR gate has the property of
functional completeness, which it shares with the NAND gate. That is, any other logic function (AND, OR, etc.) can be implemented using only NOR gates.
[Mano, M. Morris and Charles R. Kime. ''Logic and Computer Design Fundamentals, Third Edition.'' Prentice Hall, 2004. p. 73.] An entire processor can be created using NOR gates alone.
As NAND gates are also functionally complete, if no specific NOR gates are available, one can be made from
NAND gates using
NAND logic.
See also
*
AND gate
*
OR gate
*
NOT gate
*
NAND gate
*
XOR gate
*
XNOR gate
*
NAND logic
*
Boolean algebra (logic)
*
Flash memory
Flash memory is an electronic non-volatile computer memory storage medium that can be electrically erased and reprogrammed. The two main types of flash memory, NOR flash and NAND flash, are named for the NOR and NAND logic gates. Both u ...
References
{{DEFAULTSORT:Nor Gate
Logic gates
eu:EZ-EDO ate logikoa
ro:NOR logic