Logic NAND Gate
The Logic NAND Gate is a combination of a digital logic AND gate and a NOT gate connected together in seriesLogic NAND Gate Equivalence
Then we can define the operation of a 2-input digital logic NAND gate as being:
“If either A or B are NOT true, then Q is true”
Transistor NAND Gate
A simple 2-input logic NAND gate can be constructed using RTL Resistor-transistor switches connected together as shown below with the inputs connected directly to the transistor bases. Either transistor must be cut-off “OFF” for an output at Q.The Digital Logic “NAND” Gate
2-input Logic NAND Gate
Symbol | Truth Table | ||
2-input NAND Gate | B | A | Q |
0 | 0 | 1 | |
0 | 1 | 1 | |
1 | 0 | 1 | |
1 | 1 | 0 | |
Boolean Expression Q = A.B | Read as A AND B gives NOT Q |
3-input Logic NAND Gate
Symbol | Truth Table | |||
3-input NAND Gate | C | B | A | Q |
0 | 0 | 0 | 1 | |
0 | 0 | 1 | 1 | |
0 | 1 | 0 | 1 | |
0 | 1 | 1 | 1 | |
1 | 0 | 0 | 1 | |
1 | 0 | 1 | 1 | |
1 | 1 | 0 | 1 | |
1 | 1 | 1 | 0 | |
Boolean Expression Q = A.B.C | Read as A AND B AND C gives NOT Q |
A 4-input NAND Function
If the number of inputs required is an odd number of inputs any “unused” inputs can be held HIGH by connecting them directly to the power supply using suitable “Pull-up” resistors.
The Logic NAND Gate function is sometimes known as the Sheffer Stroke Function and is denoted by a vertical bar or upwards arrow operator, for example, A NAND B = A|B or A↑B.
The “Universal” NAND Gate
The Logic NAND Gate is generally classed as a “Universal” gate because it is one of the most commonly used logic gate types. NAND gates can also be used to produce any other type of logic gate function, and in practice the NAND gate forms the basis of most practical logic circuits.By connecting them together in various combinations the three basic gate types of AND, OR and NOT function can be formed using only NAND gates, for example.
Various Logic Gates using only NAND Gates
Commonly available digital logic NAND gate IC’s include:
TTL Logic NAND Gates
- 74LS00 Quad 2-input
- 74LS10 Triple 3-input
- 74LS20 Dual 4-input
- 74LS30 Single 8-input
CMOS Logic NAND Gates
- CD4011 Quad 2-input
- CD4023 Triple 3-input
- CD4012 Dual 4-input