Skip to main content

D to JK and JK to D conversion

Short answer

To convert a D flip-flop to JK, derive D = J Q_n' + K' Q_n using excitation tables and K-map, and feed this to D. To convert a JK flip-flop to D, set J = D and K = D' (D inverted) based on the excitation table, so D=1 sets and D=0 resets.

Convert D flip-flop into JK flip-flop and JK flip-flop into D flip-flop.

D flip-flop into JK flip-flop

Find D (the input of the available flip-flop) for each J, K, QnQ_n. D excitation: D=Qn+1D = Q_{n+1}.

JKQnQ_nQn+1Q_{n+1}D
00000
00111
01000
01100
10011
10111
11011
11100
        KQn=00 01 11 10
J=0        0   1  0  0
J=1        1   1  0  1
D=J Qn′+K′ QnD = J\,Q_n' + K'\,Q_n
J --[AND]--+
Q'--[   ]  +--[OR]-- D +--------+--- Q
K'--[AND]--+           | D FF   |
Q --[   ]              |  CLK   |--- Q'
                       +--------+

JK flip-flop into D flip-flop

Find J, K for each D, QnQ_n, using the JK excitation table.

DQnQ_nQn+1Q_{n+1}JK
0000X
010X1
1011X
111X0

From the table (using don't cares): J=DJ = D, K=D′K = D'.

D --+------------ J +--------+--- Q
    |               | JK FF  |
    +--[NOT]----- K |  CLK   |--- Q'
                    +--------+

So D goes to J directly and through an inverter to K. Then D=1D = 1 sets and D=0D = 0 resets the flip-flop at each clock, which is D flip-flop behaviour.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Digital Logic chapter 6 questions →