Caffeinated Coder
Book an appointment
Lesson 11 · Logic gates

NAND: one gate to build them all

NAND is functionally complete: with enough NAND gates and nothing else you can build any digital circuit. Wire one NAND as a NOT, two as an AND and three as an OR (thanks to De Morgan's law), watch each truth table play row by row, see that NOR can do the same, and look inside a NAND at its four CMOS transistors to see why chip designers like it.

12 min9 steps6 questionsBeginner
Fig 11 · Interactive
Loading figure…
or ← →

Quiz Unlocks after the last step.