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

Registers

A register is a row of D flip-flops that share one clock, so it stores a whole number of bits at once: 4 flip-flops hold 4 bits, 8 hold a byte. Watch every bit hop in together at the rising clock edge, see how a load signal and a mux in front of each flip-flop decide between taking new data and keeping the old value, turn the same row into a shift register, and finish with a register file of four registers.

10 min10 steps5 questionsIntermediate
Fig 21 · Interactive
Loading figure…
or ← →

Quiz Unlocks after the last step.