OR gate
The OR gate is a digital logic gate that implements logical disjunction.[src] The OR gate outputs "true" if any of its inputs is "true"; otherwise it outputs "false".[src] The input and output states are normally represented by different voltage levels.[src]
The OR gate is a digital logic gate that implements logical disjunction.[src] The OR gate outputs "true" if any of its inputs is "true"; otherwise it outputs "false".[src] The input and output states are normally represented by different voltage levels.[src] ==Description== Any OR gate can be constructed with two or more inputs.[src] It outputs a 1 if any of these inputs are 1, or outputs a 0 only if all inputs are 0.[src] The inputs and outputs are binary digits ("bits") which have two possible logical states.[src] In addition to 1 and 0, these states may be called true and false, high and low, active and inactive, or other such pairs of symbols.[src] Thus it performs a logical disjunction (∨) from mathematical logic.[src] The gate can be represented with the plus sign (+) because it can be used for logical addition.[src] Equivalently, an OR gate finds the maximum between two binary digits, just as the AND gate finds the minimum.[src] Together with the AND gate and the NOT gate, the OR gate is one of three basic logic gates from which any Boolean circuit may be constructed.[src] All other logic gates may be made from these three gates; any function in binary mathematics may be implemented with them.[src] It is sometimes called the inclusive OR gate to distinguish it from XOR, the exclusive OR gate.[src] The behavior of OR is the same as XOR except in the case of a 1 for both inputs.[src] In situations where this never arises (for example, in a full-adder) the two types of gates are interchangeable.[src] This substitution is convenient when a circuit is being implemented using simple integrated circuit chips which contain only one gate type per chip.[src] ==Symbols== There are two logic gate symbols currently representing the OR gate: the American (ANSI or 'military') symbol and the IEC ('European' or 'rectangular') symbol.[src] The DIN symbol is deprecated.[src] The "≥1" on the IEC symbol indicates that the output is activated by at least one active input.[src] As of Unicode 16.0.0, the OR gate is also encoded in the Symbols for Legacy Computing Supplement block as .[src] ==Hardware description and pinout== OR gates are basic logic gates, and are available in TTL and CMOS ICs logic families.[src] The standard 4000 series CMOS IC is the 4071, which includes four independent two-input OR gates.[src] The TTL device is the 7432.[src] There are many offshoots of the original 7432 OR gate, all having the same pinout but different internal architecture, allowing them to operate in different voltage ranges and/or at higher speeds.[src] In addition to the standard 2-input OR gate, 3- and 4-input OR gates are also available.[src] In the CMOS series, these are: 4075: triple 3-input OR gate 4072: dual 4-input OR gate Variations include: 74LS32: quad 2-input OR gate (low power Schottky version) 74HC32: quad 2-input OR gate (high speed CMOS version) - has lower current consumption/wider voltage range 74AC32: quad 2-input OR gate (advanced CMOS version) - similar to 74HC32, but with significantly faster switching speeds and stronger drive 74LVC32: low voltage CMOS version of the same.[src] ==Implementations== f(a,b)=a+b-a*b is the analytical representation of OR gate: f(0,0)=0+0-0*0=0 f(0,1)=0+1-0*1=1 f(1,0)=1+0-1*0=1 f(1,1)=1+1-1*1=1 ===OR gates with many inputs=== OR gates with multiple inputs are designated with the same symbol, with more lines leading in.[src] While direct implementations with more than three inputs are possible in logic families like CMOS, these are inefficient.[src] More efficient implementations use a cascade of NOR and NAND gates, as shown in the picture below.[src] ===Alternatives=== If no specific OR gates are available, one can be made from NAND or NOR gates in the configuration shown in the image below.[src] Any logic gate can be made from a combination of NAND or NOR gates.[src] ==Wired-OR== With active low open collector logic outputs, as used for control signals in many circuits, an OR function can be produced by wiring together several outputs.[src] This arrangement is called a wired OR.[src] This implementation of an OR function typically is also found in integrated circuits of N or P-type only transistor processes.[src] ==See also== AND gate NOT gate NAND gate NOR gate XOR gate XNOR gate Boolean algebra Logic gate ==References==[src]
38 sentences · 38 cited inline · 1 references stored
References
- OR gate · retrieved 2026-11-23 · rev 1373737675
Cite this reference
MLA "OR gate." 2026-11-23. https://en.wikipedia.org/w/index.php?oldid=1373737675. Accessed 25 November 2026.
Chicago "OR gate." 2026-11-23. https://en.wikipedia.org/w/index.php?oldid=1373737675.
APA encyclopegia.org. (2026). OR gate. Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1373737675
Cite this article
MLA
"OR gate." encyclopegia.org, 2026, https://encyclopegia.org/wiki/or-gate. Accessed 25 November 2026.
Chicago
"OR gate." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/or-gate.
APA
encyclopegia.org. (2026). OR gate. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/or-gate
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON
Claims
| Predicate | Value | Source |
|---|---|---|
| definition | a digital logic gate that implements logical disjunction. | article body |