Lecture9 Part2 With Voice
Lecture9 Part2 With Voice
S S Q S Q Q
Master Slave
R R Q R Q Q
Clock
logic 1
Clock
signal
logic 0
(Rn, Sn)
R Q Qn+1
CLK
S Q
Tn-1 Tn Tn+1
Rn Sn Qn+1
0 0 Qn
0 1 1
1 0 0
SR Flip-flop with PRESET and CLEAR Inputs
T=1 Qn+1= Qn
Example: SR to D
Dn Qn+1
0 0
Clear 1 1
D R Q
Example: SR to JK
Jn Kn Qn+1
0 0 Qn
∙
Clear 0 1 0
K R Q
1 0 1
1 1 Qn
CLK
∙
Rn Sn Qn+1
J S Q
0 0 Qn
Preset
0 1 1
1 0 0
Example: SR to JK
Jn, Kn and Qn 0 0 Qn 0 0 Qn
1 0 0
Rn,Sn 0 1 0
Jn,Kn 1 0 1 0
1
1
1
1
x
1 1 Qn
Qn 00 01 11 10
0 x0 x0 01 01
1 0x 10 10 0x
This gives –
K R
Clear
Q
∙
Clock CLK
Rn=KnQn Sn=JnQn
J S
Preset
Q
∙
Converting One Type of Flip-flop to Another
Example: D to JK
∙
Clear
K Q
Clock CLK
Preset
Q ∙
Example: D to JK
Jn,Kn
Qn 00 01 11 10 Qn Jn Kn Dn
0 0 0 0
0 0 0 1 1
0 0 1 0
1 1 0 0 1
0 1 0 1
0 1 1 1
This gives –
1 0 0 1
1 0 1 0
Dn=JnQn + KnQn
1 1 0 1
1 1 1 0
Converting One Type of Flip-flop to Another
Example: SR to T
∙
Clear
T ∙ R Q
Clock CLK
S
Preset
Q ∙