- 2075 Baisakh · 6 marks
JK flip-flop operation and truth table
Short answer
The JK flip-flop has inputs J, K, clock and outputs Q, Q'. J=0,K=0 holds state; J=0,K=1 resets to 0; J=1,K=0 sets to 1; J=1,K=1 toggles output. Characteristic equation: Q(n+1)=JQ'+K'Q. Race-around with J=K=1 is solved by edge-triggering.
Explain the operation of JK flip-flop with necessary diagrams and characteristic table.
The JK flip-flop is a clocked flip-flop with two inputs J and K and two outputs Q and Q'. It is a refinement of the SR flip-flop in which the input J = K = 1 is allowed and makes the output toggle.
Block symbol
+---------+
J ---->| |----> Q
CLK -->|> |
K ---->| |----> Q'
+---------+
Logic diagram (NAND gates)
J ---[NAND1]--S1--[NAND3]--+------ Q
CLK---[(3-in)] ^ |
Q' ---[ ] | |
K ---[NAND2]--R1--[NAND4]--+------ Q'
CLK---[(3-in)]
Q ---[ ]
NAND1 has inputs J, CLK and Q'. NAND2 has inputs K, CLK and Q. NAND3 and NAND4 form the cross-coupled latch. The feedback from the outputs to the input gates is the key difference from the SR flip-flop.
Operation
- J = 0, K = 0: no change, Q(n+1) = Q(n).
- J = 0, K = 1: reset, Q = 0.
- J = 1, K = 0: set, Q = 1.
- J = 1, K = 1: toggle, Q(n+1) = Q(n)'.
Characteristic table
| J | K | Q(n) | Q(n+1) |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 1 |
| 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 0 |
| 1 | 0 | 0 | 1 |
| 1 | 0 | 1 | 1 |
| 1 | 1 | 0 | 1 |
| 1 | 1 | 1 | 0 |
Characteristic equation: Q(n+1) = JQ' + K'Q.
With J = K = 1, if the clock pulse is wider than the propagation delay, the output toggles many times (race-around condition). This is removed by edge triggering or by using a master-slave JK flip-flop.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- SR flip-flop operation · Basic Electronics Engineering, chapter 6 · asked 6×
- Types of flip-flops; JK flip-flop · Basic Electronics Engineering, chapter 6 · asked 2×
- Combinational vs sequential; JK flip-flop · Basic Electronics Engineering, chapter 6
- Edge triggered D flip-flop with preset, clear · Basic Electronics Engineering, chapter 6
- JK flip-flop characteristic and excitation tables · Digital Logic, chapter 6 · asked 2×
- Edge triggered JK flip-flop with excitation table · Digital Logic, chapter 6
- JK over SR advantages; D flip-flop · Digital Logic, chapter 6
- SR drawback; edge triggered JK flip-flop · Digital Logic, chapter 6 · asked 3×