Skip to main content

SR to T conversion and SR timing diagram

Short answer

Derive S = T·Q' and R = T·Q from the SR excitation table. Connect T AND Q' to S, and T AND Q to R of an SR flip-flop. For T=0, S=R=0 holds state; for T=1, the output toggles with no invalid S=R=1. A timing diagram shows set on S=1 edge, reset on R=1 edge.

Convert SR flip-flop to T flip-flop and draw the timing diagram of SR flip flop.

Converting S-R flip-flop to T flip-flop

A T flip-flop must hold for T = 0 and toggle for T = 1. We generate S and R from T and Q.

S-R excitation table:

QQ+SR
000x
0110
1001
11x0

Conversion table (Q+ = T XOR Q, then S and R from the excitation table):

TQQ+SR
0000x
011x0
10110
11001

K-maps:

K-map for S
Q\T    0   1
 0     0   1
 1     x   0

K-map for R
Q\T    0   1
 0     x   0
 1     0   1
S=T Q‾,R=T QS = T\,\overline{Q}, \qquad R = T\,Q
            +-----+      +---------+
 T --+----->|     |      |         |
     | Q' ->| AND |----->| S     Q |---> Q
     |      +-----+      |         |
     |      +-----+ CLK->|>  SR    |
     +----->|     |      |         |
       Q -->| AND |----->| R    Q' |---> Q'
            +-----+      +---------+
 (Q and Q' are fed back from the outputs)

Check: T = 1, Q = 0 gives S = 1, R = 0 (Q goes to 1); T = 1, Q = 1 gives S = 0, R = 1 (Q goes to 0); T = 0 gives S = R = 0 (hold). S and R are never 1 together.

Timing diagram of S-R flip-flop (positive edge triggered, Q initially 0)

       1   2   3   4   5   6
CLK   _|‾|_|‾|_|‾|_|‾|_|‾|_|‾|
S     ‾‾‾|___________|‾‾‾|____
R     _______|‾‾‾|_______|‾‾‾|
Q     _|‾‾‾‾‾‾‾|_______|‾‾‾|__

S = 1 sets Q at an edge, R = 1 resets it, S = R = 0 keeps the old value. S = R = 1 is not applied because it is invalid.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Digital Logic chapter 6 questions →