Memory, registers and state machines
Circuits that remember: latches and flip-flops, registers and counters, finite state machines, and the memories and programmable logic built from them.
About 12 hours of study
Learning objectives
- Describe the behaviour of D, T and JK flip-flops
- Trace counters and shift registers clock by clock
- Design a small state machine and size a memory
Lessons
- 1
Latches and flip-flops Intermediate
Circuits that remember: the SR latch, the D latch, and edge-triggered D, JK and T flip-flops, with their characteristic tables.
- 2
Registers and counters Intermediate
Groups of flip-flops that hold words, shift bits along, and count: registers, shift registers, ripple and synchronous counters, and mod-N counters.
- 3
Finite state machines Advanced
Design sequential circuits as state machines: Moore and Mealy machines, state diagrams and tables, and two worked examples.
- 4
Memory and programmable logic Advanced
How memory chips are organised (address and data lines, sizes, SRAM and DRAM), ROM as a stored truth table, and PLAs and FPGAs.
Module practice
- A T flip-flopEasy
- A JK flip-flopMedium
- Latch or flip-flop?Hard
- A shift registerEasy
- A modulo-N counterMedium
- Ring and Johnson countersHard
- A turnstileEasy
- Detect 101Medium
- Detect 1011, overlappingHard
- How big is the memory?Easy
- A ROM from truth tablesMedium
- A programmable logic arrayHard
Module quiz
‹ Adders, multiplexers and combinational designFinal assessment ›