Caffeinated Coder
Book an appointment
Lesson 18 · Memory elements and clocks

The SR latch

Gates on their own forget: their output depends only on their inputs right now. Wire two NOR gates in a loop, so each output feeds the other gate, and the circuit can remember one bit. Step through set, hold, reset and hold, watch the feedback loop keep the value, see why S = R = 1 is not allowed, and meet the NAND version with active-low inputs.

12 min9 steps5 questionsIntermediate
Fig 18 · Interactive
Loading figure…
or ← →

Quiz Unlocks after the last step.