Physics · Ch 14 — Electronic Devices
The NAND Gate
The NAND Gate
Definition, as a combination. A NAND gate (short for 'NOT-AND') is functionally an AND gate (Section 9.27) whose single output is immediately passed through a NOT gate (Section 9.28) -- its output is, at every instant, the exact complement of what a plain AND gate, fed the same two inputs, would produce.
Symbol. The NAND-gate symbol (shown in the accompanying figure) is drawn EXACTLY like the AND-gate symbol of Section 9.27 -- flat input edge, rounded output edge -- but with a small inversion bubble added at the single output point, the identical bubble convention used for the NOT gate in Section 9.28: the bubble alone converts the AND symbol into the NAND symbol.
Truth table and Boolean equation. For two inputs and , the NAND gate's truth table (shown alongside) is the row-for-row COMPLEMENT of the AND gate's own truth table (Section 9.27): output only in the single row where AND , and in every other combination. Its Boolean equation is written
the bar drawn over the WHOLE product , showing the inversion is applied to the combined AND result, not to or individually (which would instead describe two separately inverted inputs feeding an ordinary AND gate -- a different, and much less useful, circuit). …
What this figure shows. The symbol is drawn exactly as the two-input AND gate of Section 9.27 (flat left edge with two input lines , ; semicircular right edge), but with a small open inversion bubble added at the single output point on the curved edge, from which the output line then emerges -- the bubble alone converting the plain AND symbol into the NAND symbol, exactly mirroring how the bubble converts a buffer into a NOT …
| 0 | 0 | 1 |
| 0 | 1 | 1 |