Skip to content

Physics · Ch 14 — Electronic Devices

The OR Gate

14.26

The OR Gate

Definition. An OR gate is a logic circuit with two (or more) inputs and a single output, whose output is HIGH (11) whenever ANY ONE, OR MORE, of its inputs is HIGH -- the electronic realisation of the everyday INCLUSIVE sense of the word 'or' (as in 'you may have tea or coffee or both'), and its output is LOW (00) only in the one case where every single input is LOW.

Symbol. The standard shield-shaped OR-gate symbol (drawn in the accompanying figure) has a curved, concave back edge where the input lines enter and a single rounded, pointed tip at the front where the output line emerges -- distinguishing it visually from the flat-backed AND-gate symbol of Section 9.27.

Truth table and Boolean equation. For two inputs AA and BB, the OR gate's behaviour is completely specified by its truth table (shown alongside): output Y=0Y=0 only when A=0A=0 AND B=0B=0 simultaneously, and Y=1Y=1 in every other one of the four possible input combinations. Its Boolean (logic) equation is written

Y=A+BY = A + B

where the '++' symbol here denotes the logical OR operation specifically, and must never be read or manipulated as ordinary arithmetic addition -- notably, 1+1=11+1=1 in Boolean logic (HIGH or HIGH is still just HIGH), not 22, since a digital signal recognises only the two levels 00 and 11 and nothing in between or beyond. …

Figure 1Standard circuit symbol of a two-input OR gate

What this figure shows. The standard IEC/ANSI shield-shaped OR-gate symbol is drawn: a body with a CURVED (concave outward, bulging toward the inputs) back edge on the left, tapering to a single ROUNDED, POINTED tip on the right where the single output line YY emerges. Two straight input lines, labelled AA and BB, enter the curved left edge from outside, one above the other. No internal circuitry is shown -- only the outline symbol -- since at this level the gate is treated as a single functional black bo …

Table 2Truth table and Boolean expression of a two-input OR gate
AABBY=A+BY=A+B
000
011