34 Computer Architecture and Organization
This inversion of any logic signal is represented by the bubble (small circle). Note that in the symbol of
the NOT gate, if this bubble is not present, then, the symbol denotes a buffer or a driver, which simply
boosts any digital signal without any inversion of its logic level.
Figure 3.6 Symbol and truth table for (a) NOT (b) AND (c) NAND (d) OR (e) NOR (f)
XOR and (g) XNOR gates
Logic gates shown in Figure 3.6 are having only two inputs, A and B (except the NOT gate).
However, this does not mean that logic gates cannot accept more than two inputs. As a matter of fact,
theoretically, any number of inputs is possible for all logic gates (except NOT gate, which cannot have
more than one input and XOR gate, which can not have more than two inputs). However, for all practi-
cal purposes they are manufactured with not more than eight inputs. The output in all cases would be
only one.
3.3.2 Universal Gates
Out of these seven gates, NAND and NOR gates are designated as universal gates, because of the fact
that functions of all other gates may be accomplished by various combinations of either of these two
gates. Figure 3.7 depicts how some other gates may be constructed from either NAND or NOR gates.
At the left side of Figure 3.7 , combinations from NAND gates are shown, while at the right side, NOR
gate oriented circuits are presented.
Figure 3.7 Other gates using NAND and NOR gates
M03_GHOS1557_01_SE_C03.indd 34M03_GHOS1557_01_SE_C03.indd 34 4/29/11 5:01 PM4/29/11 5:01 PM