← 🔁 Latches & Flip-Flops
Subtopic 4 of 4

4.4Triggering: level, edge, master-slave and race-around

The idea

Level-triggered devices pass the input as long as the clock is high; edge-triggered flip-flops sample only at the clock edge. A level-triggered JK with J = K = 1 keeps toggling: the race-around condition.

Think of it like this: A tap that stays open (level) versus a button that gives one drop per press (edge).

Why it exists

GATE asks why a master-slave arrangement exists and when race-around happens.

How it works

  1. If the clock is high longer than the propagation delay, J = K = 1 toggles Q again and again.
  2. A master-slave flip-flop uses two latches on opposite clock levels, so the output changes only once per pulse.
  3. Edge-triggered flip-flops sample the input only around the active edge.
  4. A pulse shorter than t_pd would also avoid the race, but is hard to guarantee.

Worked example: Clock high 50 ns, t_pd = 10 ns

A level-triggered T = 1 flip-flop toggles 5 times in one pulse, so the final state is unpredictable. A master-slave version toggles once.

Now play with it

  • →Change the pulse width in the calculator and watch the toggle count.
  • →Read the table to see which types are immune.
Toggles during one clock pulse (T = 1, level-triggered)5
Final Q after the pulsetoggled
Safe pulse width< 10 ns (shorter than t_pd)

Race-around: while the clock is high and J = K = 1 the output keeps flipping every t_pd. A master-slave or edge-triggered flip-flop allows one change per pulse.

TypeChanges whenRace-around?
Latch (level)whole time the enable is highyes, if it feeds itself
Master-slaveoutput changes at the falling edgeno (but "1s catching" in JK)
Positive-edge FFat the rising edge onlyno
Negative-edge FFat the falling edge onlyno

Check yourself

The race-around condition occurs in

Remember: Race-around: level-triggered, J = K = 1, pulse longer than t_pd; edge or master-slave fixes it.
Exam notes (the dense version)

A level-triggered JK/T latch with J = K = 1 toggles repeatedly while the clock is high: the race-around problem if the clock pulse is longer than the propagation delay. Cures: edge triggering or a master-slave arrangement (master follows the input while the clock is high, slave copies on the falling edge), or keeping the pulse shorter than t_pd. In a master-slave JK the inputs are sampled during the high level, so "1s catching" can occur. Edge-triggered flip-flops sample only at the active edge. Asynchronous PRESET/CLEAR override the clock.

Previous year questions: Latches & Flip-Flops (2)

PYQs are grouped by topic, so this is the full set for Latches & Flip-Flops; try the ones that match this subtopic. Open all 2 on the topic page.