2081 9

BIT103 ยท 2081 ยท 5 marks

Realize JK flip-flop from RS flip-flop.

Realize JK flip-flop from RS flip-flop. [5]

Digital LogicChapter 8: Flip-Flops and LatchesJK flip-flop design and operation

Quick answer

The key difference is that JK = 11 toggles the output, whereas SR = 11 is forbidden.

Realizing JK Flip-Flop from RS Flip-Flop

Review of Both Flip-Flops

RS Flip-Flop Truth Table

SRQ(next)Remarks
00QNo change
010Reset
101Set
11XForbidden

JK Flip-Flop Truth Table

JKQ(next)Remarks
00QNo change
010Reset
101Set
11Q'Toggle

Derivation

We need to find expressions for S and R in terms of J, K, and the current state Q.

Mapping Table

Compare each input combination and find required S, R inputs:

JKQQ(next)SR
00000X
0011X0
01000X
011001
100110
1011X0
110110
111001

S and R values are derived from the RS flip-flop excitation table (what S, R must be to achieve the required Q(next) from current Q).


K-Map Simplification for S

Variables: J, K, Q

JK \ Q01
000X
0100
1110
101X

Grouping 1s and X (don't cares):

$$\boxed{S = J \cdot Q'}$$


K-Map Simplification for R

Variables: J, K, Q

JK \ Q01
00X0
01X1
1101
1000

Grouping 1s and X (don't cares):

$$\boxed{R = K \cdot Q}$$


Final Result

The conversion equations are:

$$S = J \cdot Q' \qquad R = K \cdot Q$$

Logic Circuit Diagram

        +-------+
J ------|       |
        | AND   |----> S ----+
Q' -----|       |            |        Q
        +-------+            |   +--------+
                             +-->|        |---> Q
        +-------+            |   | RS F/F |
K ------|       |            +-->|        |---> Q'
        | AND   |----> R ----+   +--------+
Q  -----|       |                    |
        +-------+                    |
             ^                       |
             |                       |
             +----------- Q ---------+

The current output Q is fed back: Q' feeds the S-gate and Q feeds the R-gate, eliminating the forbidden state and enabling toggle operation.


Summary

ConditionS = JQ'R = KQRS Behavior
J=0, K=000No change
J=0, K=10QReset when Q=1
J=1, K=0Q'0Set when Q=0
J=1, K=1Q'QEither Set or Reset (never both 1 simultaneously), achieving toggle

This ensures SR = 11 never occurs, successfully realizing a JK flip-flop from an RS flip-flop.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.