13.07.2015 Views

Digital Electronics: Principles, Devices and Applications

Digital Electronics: Principles, Devices and Applications

Digital Electronics: Principles, Devices and Applications

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Logic Gates <strong>and</strong> Related <strong>Devices</strong> 73OR gate produces the output Y 2 = Y 1 + C = A + B + C. Similarly, the output of OR gate 3 isY 3 = Y 2+D = A+B +C +D. In the case of Fig. 4.5(b), the output of OR gate 1 is Y 1 = A+B.The second OR gate produces the output Y 2 = C + D. Output Y 3 of the third OR gate is given byY 1 + Y 2 = A + B + C + D.Example 4.2Draw the output waveform for the OR gate <strong>and</strong> the given pulsed input waveforms of Fig. 4.6(a).SolutionFigure 4.6(b) shows the output waveform. It can be drawn by following the truth table of the OR gate.4.3.2 AND GateAn AND gate is a logic circuit having two or more inputs <strong>and</strong> one output. The output of an AND gateis HIGH only when all of its inputs are in the HIGH state. In all other cases, the output is LOW. Wheninterpreted for a positive logic system, this means that the output of the AND gate is a logic ‘1’ onlywhen all of its inputs are in logic ‘1’ state. In all other cases, the output is logic ‘0’. The logic symbol<strong>and</strong> truth table of a two-input AND gate are shown in Figs 4.7(a) <strong>and</strong> (b) respectively. Figures 4.8(a)<strong>and</strong> (b) show the logic symbols of three-input <strong>and</strong> four-input AND gates respectively. Figure 4.8(c)gives the truth table of a four-input AND gate.The AND operation on two independent logic variables A <strong>and</strong> B is written as Y = AB <strong>and</strong> readsas Y equals A AND B <strong>and</strong> not as A multiplied by B. Here, A <strong>and</strong> B are input logic variables <strong>and</strong> Y isthe output. An AND gate performs an ANDing operation:'1''0''1''0'a b c d e f g h i j kt(a)'1''0'a b c d e f g h i j k(b)Figure 4.6 Example 4.2.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!