Pages

Sunday, 11 May 2014

J-K Flip Flop

Q.1) Explain J-K flip flop.

Answer) The J-K flip-flop is the most versatile of the basic flip-flops. It has the input- following character of the clocked D flip-flop but has two inputs,traditionally labeled J and K. 

JK flip flop

S = not(K.Q)
R = not(J.not(Q))

Analyzing the above circuit :
I) When CLK = ↓, J = 0, K = 1,  
     The output of the flip-flop does not change, i.e. Q and not(Q) retain their state.

II) When CLK = ↑ , J = 0, K = 0
      S = 1; R = 1, 
      Outputs will be retained.

III) When CLK = ↑ J = 0, K = 1
       S = not(Q) ; R = 1, hence according to the operation of S-R latch, 
       Q = 0 and not(Q) = 1.

IV) When CLK = ↑ , J = 1, K = 0
       S = 1; R = Q, hence according to the operation of S-R latch, 
       Q = 1 and not(Q) = 0

V) When CLK = ↑ , J = 1, K = 1
      S = not(Q), R = Q
       a) If Q = 0 and not(Q) = 1, 
               S = 1 and R = 0, hence output Q = 1 and not(Q) = 0.
       b) If Q = 1 and not(Q) = 0,
               S = 0 and R = 1, hence output Q = 0 and not(Q) = 1.

       Hence, we conclude that for J=K=1, the outputs get toggled.

Truth table for JK flip flop
Truth Table for J-K Flip Flop.

Q.2) Draw the excitation table for J-K flip flop.

Answer) From the truth table, we can infer the following points :
              a) When Q retains state '0' ,
                   J = K = 0 and J = 0 , K =1  => J = '0' , K = 'x'

              b) When Q changes from '0' to '1' ,
                   J = K = 1 and J = 1 , K =0  => J = '1' , K = 'x'

              c) When Q changes from '1' to '0' ,
                   J = K = 1 and J = 0 , K =1  => J = 'x' , K = '1'

              d) When Q retains state '1' ,
                   J = K = 0 and J = 1 , K =0  => J = 'x' , K = '0'

Excitation table for JK flip flop
                                                                              Excitation Table for J-K Flip Flop.


Q.3) Convert S-R flip flop into J-K flip flop.

Answer) Given flop : S-R flip flop (Output)
              Flop to be derived : J-K flip flop (Input)

MUST READ : S-R flip flop


Combined truth table for converting SR flip flop into JK flip flop
Combined truth table for converting S-R flip flop into J-K flip flop.


       K map simplification for S      K map simplification for R
K-Map Simplification

JK flip flop using SR flip flop
J-K flip flop using S-R flip flop.

Q.4) Convert J-K flip flop into D flip flop.

Answer) Given flop : J-K flip flop (Output)
              Flop to be derived : D flip flop (Input)

MUST READ : D flip flop


Combined truth table for converting JK flip flop into D flip flop.
Combined truth table for converting J-K flip flop into D flip flop.

          K map simplification for J K map simplification for D
K-Map Simplification

D flip flop using JK flip flop
D flip flop using J-K flip flop.

Q.5) Convert J-K flip flop into S-R flip flop.

Answer) Given flop : J-K flip flop (Output)
              Flop to be derived : S-R flip flop (Input)


Combined truth table for converting JK flip flop into SR flip flop
Combined truth table for conversion of J-K flip flop into S-R flip flop.

   
                 K map simplification for K      K map simplification for J                    

K-Map Simplification

SR flip flop using JK flip flop
S-R flip flop using J-K flip flop.

Q.6) Convert D flip-flop into J-K flip flop.

Answer) Given flop : D flip flop (Output)
              Flop to be derived : J-K flip flop (Input)


Combined truth table for converting D flip flop into JK flip flop
Combined truth table for conversion of D flip flop into J-K flip flop.

K map simplification for D
K-Map Simplification

JK flip flop using D flip flop
J-K flip flop using D flip flop.

No comments:

Post a Comment