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
- If the clock is high longer than the propagation delay, J = K = 1 toggles Q again and again.
- A master-slave flip-flop uses two latches on opposite clock levels, so the output changes only once per pulse.
- Edge-triggered flip-flops sample the input only around the active edge.
- 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.
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.
| Type | Changes when | Race-around? |
|---|---|---|
| Latch (level) | whole time the enable is high | yes, if it feeds itself |
| Master-slave | output changes at the falling edge | no (but "1s catching" in JK) |
| Positive-edge FF | at the rising edge only | no |
| Negative-edge FF | at the falling edge only | no |
Check yourself
The race-around condition occurs in
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.