2-10THE OR GATEThe OR gate differs from the AND gate in that only ONE input has to be HIGH to produce a HIGHoutput. An easy way to remember the OR gate is that any HIGH input will yield a HIGH output.LOGIC SYMBOLFigure 2-6shows the standard symbol for the OR gate. The number of inputs will vary according tothe needs of the designer.Figure 2-6. —OR gate.The OR gate may also be represented by a simple circuit as shown in figure 2-7. In the OR gate, twoswitches are placed in parallel. If either or both of the switches are closed (view A), the lamp will light.The only time the lamp will not be lit is when both switches are open (view B).Figure 2-7. —OR gate equivalent circuit: A. Logic 1 state; B. Logic 0 state.Let’s assume we are applying two variables, X and Y, to the inputs of an OR gate. For the circuit toproduce a HIGH output, either variable X, variable Y, or both must be HIGH. The Boolean expression forthis operation is f = X+Y and is spoken "f equals X OR Y." The plus sign indicates the OR function andshould not be confused with addition.OR GATE OPERATIONLook at figure 2-8. At time T0, both X and Y are LOW and f is LOW. At T1, X goes HIGHproducing a HIGH output. At T2 when both inputs go LOW, f goes LOW. When Y goes HIGH at T3, f
Integrated Publishing, Inc. - A (SDVOSB) Service Disabled Veteran Owned Small Business