Professional Documents
Culture Documents
SR Flip Flop JK Flip Flop
SR Flip Flop JK Flip Flop
No we simplify all the values and forms an equation for 𝑄 with the help of K-Map,
𝑄 0 1
𝐷
0 0 0
1 1 1
1 1 1
JK FLIP FLOP
The SR Flip Flop or Set-Reset flip flop has lots of advantages. But, it has the following
switching problems:
o When Set 'S' and Reset 'R' inputs are set to 1, this condition is always avoided.
o When the Set or Reset input changes their state while the enable input is 0, the
incorrect latching action occurs.
The JK Flip Flop removes these two drawbacks of SR Flip Flop. The JK flip flop is an
improved clocked SR flip flop.
The JK flip flop is one of the most used flip flops in digital circuits and is considered as a
universal flip flop having two inputs 'J' and 'K'. In SR flip flop, the 'S' and 'R' are the
shortened abbreviated letters for Set and Reset, but J and K are not. The JK flip flop has 'J'
and 'K' flip flop instead of 'S' and 'R' which are themselves autonomous letters and are chosen
to distinguish the flip flop design from other types. The JK flip flop work in the same way as
the SR flip flop work.. The only difference between JK flip flop and SR flip flop is that when
both inputs of SR flip flop is set to 1, the circuit produces the invalid states as outputs, but in
case of JK flip flop, there are no invalid states even if both 'J' and 'K' flip flops are set to 1.
Page 17 of 51
The circuit of a JK flip – flop using gates is shown below. It is similar to a modified NAND
SR flip – flop.
G3 G1
G4 G2
Working
Case -1 : When CLK = 0
Then whatever the value of value of J and K is, there is no effect. The circuit continues with
its previous memory.
Page 18 of 51
Let’s assume Q=1 And Q’=0 as previous memory, at present our CLK is off i.e. 0 and (J and
K) =0
Then our both G3 and G4 got two input as 0 and produces the result as 1,irrespective of the
third input which further will be one input of G1 and G2, Now the G1 will get the second
input from the previous result of Q’(0) and similarly the G2 will get their second input from
the previous result of Q(1) and hence Q=1 and Q’=0 i.e. previous state.
Similarly it happens in each case for every value of J,K and its previous states.
Case-2 : When CLK is high,J is low and K is low,
then also Q and Q’ returns its previous state value i.e. it holds the current state.
Now both G3 and G4 will get two inputs as 0 and 1 which results out in 1,irrespective of the
third input. When both G1 and G2 got one input as 1 then we cann’t predict anything, and
take out the help of second input which is the previous state of Q and Q’ and hence the result
came out will again be its previous state.
Case-3 : When J is low and K is high,
then flip – flop will be in reset state i.e. Q = 0, Q’ =1.
The G3 gets two input 0 and 1 which results out 1 as the result and G4 got two input ,both as
1 and depends on third input.In this situation we cann’t proceed further, so we assume here
two cases of previous state of Q and Q’ for procedding further:
i. When Q=0 and Q’=1
Now as third input of G4 is previous
state of Q, so we got the third input as 0 which results out in 1.
Now we got one input as 1 for both G1 and G2, now second input
we again take the previous value of Q and Q’. Hence new value of
Q=0(from the combination of 1 and 1) and Q’=1(from the
combination of 1 and 0) i.e. RESET state.
ii. When Q=1 and Q’=0
Now as third input of G4 is previous
state of Q, so we got the third input as 1 which results out in 0.
Now we got one input as 1 for G1 and as 0 for G2, so having 0 as
one input for G2 will results out in 1. Now this result would also
be the second input of G1 and that results out in 0 Hence new value
of Q=1(from the combination of 1 and 1) and Q’=0(having one
input as 1) i.e. RESET state.
Now we saw in both above cases The result came out to be is RESET state. Hence the
circuit will be in reset state when J is low and K is high.
input ,both as 1 and depends on third input. In this situation we again cann’t proceed further,
so we assume here two cases of previous state of Q and Q’ for procedding further :
This process of transformation of values of Q and Q’ i.e. called TOOGLING will continues
upto infinite times. Until the CLK will be turned off.
Truth Table
CLK 𝐽 𝐾 𝑄 𝑄 ’ STATE
0 X X Q Q’ PREVIOUS
1 0 0
1 0 1 0 1 RESET
1 1 0 1 0 SET
1 1 1 Q’ Q TOGGGLING
OR
COMPLEMENTARY
The J-K flip-flop has the distinction that it can be used to construct any other flip-flop, much
like NAND gates can be used to construct any other type of gate (and by extension, any
digital circuit). Because of this, the J-K is sometimes called a universal flip-flop
𝑄 𝐽 𝐾 𝑄
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 1
1 0 0 1
Page 21 of 51
1 0 1 0
1 1 0 1
1 1 1 0
1 0 1 0 0
1 1 x 0
Diagaram