Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Flip-Flops & Latches Reference cheat sheet - grade 11-12

Click image to open full size

Engineering Grade 11-12

Flip-Flops & Latches Reference Cheat Sheet

A printable reference covering SR, D, JK, and T latches and flip-flops, clocking, timing, characteristic equations, and truth tables for grades 11-12.

Download PNG

Flip-flops and latches are basic memory elements used in digital electronics, computer engineering, and control systems. This cheat sheet helps students compare common device types, read timing diagrams, and choose the right storage element for a circuit. It is useful for understanding registers, counters, state machines, and sequential logic design.

A latch is level-sensitive, while a flip-flop is edge-triggered. The most important ideas are present state Q, next state Q(next), inputs, clock behavior, setup time, hold time, and propagation delay. Core devices include SR, D, JK, and T types, each with a truth table or characteristic equation that predicts the next output.

Key Facts

  • A latch is level-sensitive, so it can change output while its enable input is active.
  • A flip-flop is edge-triggered, so it changes output only on the specified rising or falling clock edge.
  • For a D latch or D flip-flop, Q(next) = D when the device is transparent or clocked.
  • For an SR latch with active-high inputs, S = 1 and R = 0 sets Q to 1, while S = 0 and R = 1 resets Q to 0.
  • For an active-high SR latch, S = 1 and R = 1 is invalid because it can force both outputs into a noncomplementary or unstable condition.
  • For a JK flip-flop, J = 0 and K = 0 holds, J = 1 and K = 0 sets, J = 0 and K = 1 resets, and J = 1 and K = 1 toggles.
  • For a T flip-flop, Q(next) = Q when T = 0 and Q(next) = not Q when T = 1.
  • A timing path is reliable only when data is stable before the clock for setup time and after the clock for hold time.

Vocabulary

Latch
A latch is a level-sensitive memory circuit that stores one bit and can change output while its enable signal is active.
Flip-flop
A flip-flop is an edge-triggered memory circuit that stores one bit and changes output only at a clock edge.
Clock edge
A clock edge is the transition of a clock signal from low to high or high to low that triggers a flip-flop.
Setup time
Setup time is the minimum time the input data must be stable before the triggering clock edge.
Hold time
Hold time is the minimum time the input data must remain stable after the triggering clock edge.
Propagation delay
Propagation delay is the time between an input or clock change and the resulting output change.

Common Mistakes to Avoid

  • Treating a latch like an edge-triggered flip-flop is wrong because a latch can keep changing while enable is active, which may cause unintended output changes.
  • Using S = 1 and R = 1 on an active-high SR latch is wrong because that input combination is invalid and can create unpredictable behavior.
  • Ignoring setup time is wrong because data that changes too close to the clock edge may not be captured correctly.
  • Ignoring hold time is wrong because data that changes immediately after the clock edge can corrupt the stored value.
  • Confusing JK toggle behavior with D behavior is wrong because JK with J = 1 and K = 1 toggles, while a D flip-flop simply copies D at the clock edge.

Practice Questions

  1. 1 A positive-edge D flip-flop has D = 1 just before the rising clock edge. What is Q after the propagation delay?
  2. 2 A JK flip-flop currently has Q = 0. If J = 1 and K = 1 at the active clock edge, what is Q(next)?
  3. 3 A T flip-flop starts at Q = 1 and receives four active clock edges while T = 1. What is the final value of Q?
  4. 4 Explain why a designer might choose an edge-triggered flip-flop instead of a level-sensitive latch in a synchronous digital circuit.