DigiFlop

Flip-flops chained together become memory with a purpose.

VLSI Concept ยท Fundamentals
Counters & Shift Registers
Flip-flops chained together become memory with a purpose.

A counter is a chain of flip-flops that increments its stored value every clock cycle (timers, address generation, clock dividers). A shift register is a chain of flip-flops where each stage passes its value to the next one every cycle (serial-to-parallel conversion, delay lines, and โ€” as seen in DFT โ€” scan chains). Both are just flip-flops plus a small amount of combinational logic.

CounterNext value = current value + 1 (or a custom sequence).
Shift registerNext value of stage N = current value of stage N-1.
Why it mattersThese two patterns appear inside almost every non-trivial digital block, from UARTs to CPUs.
▶ Try the interactive version