In this article, let’s learn about flip flop conversions, where one type of flip flop is converted to another type.

For the conversion of one flip flop to another, a combinational circuit has to be designed first. If a JK Flip Flop is required, the inputs are given to the combinational circuit and the output of the combinational circuit is connected to the inputs of the actual flip flop. Thus, the output of the actual flip flop is the output of the required flip flop. In this post, the following flip flop conversions will be explained.

 

  • SR Flip Flop to JK Flip Flop

As told earlier, J and K will be given as external inputs to S and R. As shown in the logic diagram below, S and R will be the outputs of the combinational circuit.

The truth tables for the flip flop conversion are given below. The present state is represented by Qp and Qp+1 is the next state to be obtained when the J and K inputs are applied.

For two inputs J and K, there will be eight possible combinations. For each combination of J, K and Qp, the corresponding Qp+1 states are found. Qp+1 simply suggests the future values to be obtained by the JK flip flop after the value of Qp. The table is then completed by writing the values of S and R required to get each Qp+1 from the corresponding Qp. That is, the values of S and R that are required to change the state of the flip flop from Qp to Qp+1 are written.

SR Flip Flop to JK Flip Flop
SR Flip Flop to JK Flip Flop
  • JK Flip Flop to SR Flip Flop

This will be the reverse process of the above explained conversion. S and R will be the external inputs to J and K. As shown in the logic diagram below, J and K will be the outputs of the combinational circuit. Thus, the values of J and K have to be obtained in terms of S, R and Qp. The logic diagram is shown below.

A conversion table is to be written using S, R, Qp, Qp+1, J and K. For two inputs, S and R, eight combinations are made. For each combination, the corresponding Qp+1 outputs are found ut. The outputs for the combinations of S=1 and R=1 are not permitted for an SR flip flop. Thus the outputs are considered invalid and the J and K values are taken as “don’t cares”.

JK Flip Flop to SR Flip Flop
JK Flip Flop to SR Flip Flop
  • SR Flip Flop to D Flip Flop

As shown in the figure, S and R are the actual inputs of the flip flop and D is the external input of the flip flop. The four combinations, the logic diagram, conversion table, and the K-map for S and R in terms of D and Qp are shown below.

SR Flip Flop to D Flip Flop
SR Flip Flop to D Flip Flop
  • D Flip Flop to SR Flip Flop

D is the actual input of the flip flop and S and R are the external inputs. Eight possible combinations are achieved from the external inputs S, R and Qp. But, since the combination of S=1 and R=1 are invalid, the values of Qp+1 and D are considered as “don’t cares”. The logic diagram showing the conversion from D to SR, and the K-map for D in terms of S, R and Qp are shown below.

D Flip Flop to SR Flip Flop
D Flip Flop to SR Flip Flop
  • JK Flip Flop to T Flip Flop

J and K are the actual inputs of the flip flop and T is taken as the external input for conversion. Four combinations are produced with T and Qp. J and K are expressed in terms of T and Qp. The conversion table, K-maps, and the logic diagram are given below.

JK Flip Flop to T Flip Flop
JK Flip Flop to T Flip Flop
  • JK Flip Flop to D Flip Flop

D is the external input and J and K are the actual inputs of the flip flop. D and Qp make four combinations. J and K are expressed in terms of D and Qp. The four combination conversion table, the K-maps for J and K in terms of D and Qp, and the logic diagram showing the conversion from JK to D are given below.

JK Flip Flop to D Flip Flop
JK Flip Flop to D Flip Flop
  • D Flip Flop to JK Flip Flop

In this conversion, D is the actual input to the flip flop and J and K are the external inputs. J, K and Qp make eight possible combinations, as shown in the conversion table below. D is expressed in terms of J, K and Qp.

The conversion table, the K-map for D in terms of J, K and Qp and the logic diagram showing the conversion from D to JK are given in the figure below.

D Flip Flop to JK Flip Flop
D Flip Flop to JK Flip Flop
Author

66 Comments

  1. Adil Shehzad

    Best Helping Materials Regarding with Flip Flop Conversion 🙂

    Thank You Sir 🙂

  2. How to convert JK ff to D ff on digital traineer kit?How to convert D ff to JK ff on digital traineer kit?

  3. how to convert JK ff to D ff on digital traineer kit?

  4. Vidya Bhandari

    If we are designing the JK flip flop using SR flip flop ,In that case what is the role of K-map in that designing procedure

  5. Sailendra

    Very usefull ,but a small mistake is there in jk to d
    In d flip-flop when D=1 Q(p+1)=1

  6. thanks sir it is very clear and understandable . i am confuse convert JK flip flop to T flip flop when i solve this the answer of this is comes J=T and K=T zabar but you are answer is different

  7. Sonny Khlane

    Can you do the charateristic table for the converted gate? What will be the charatersitic table for ‘JK Flip-flop to T flip-flop’ circuit for example?

  8. balavikram

    still more flip flop conversions must be there

  9. balavikram

    there is mistake in D flip-flop to JK flip-flop

  10. there is a mistake in the SR flipflop to JK flipflop where S=(~J)*Qp.

    • Daniel Luu

      I agree, There is AN ERROR. JK —> SR. It is suppose to be S= JQ’

    • yeah, encountered the same thing. there’s a mistake there in the first conversion.

  11. RAHUL KESHRI

    In conversion of sr to jk flipflop
    Y r we not paring with don’t cares..???
    Since we are pairing with don’t cares in each conversion…

    Reply me on my mail id its urgent to know…

    Thanks

  12. saifuddin mallick

    this is awsome.it is very helpfull to me for checking my task is correct or not……..thanks a megaton

  13. yeah this is very helpful
    but one mistake is there.in SR toJK flip flop the eqn for s will be S=J*Qp bar .

  14. Wonderful explanation. Easy language used. Very easy to learn! Thanks a ton!

  15. muhammad haris

    Its very clear and understandable , thank u so much.

  16. Rajesh Hanswal

    It will be S=J*(Q_p)’ in S-R to J-K conversion instead of J’*(Q_p) this error is in the K-Map Solution for S.
    Otherwise it is very good content and very useful..
    Thanx

  17. Debadrito

    These information are very helpful for those who want to know about flip flop. It is wonderful.

  18. This was wonderful. I am going to tell my classmates about it. Our professor just couldn’t seem to explain it this clearly, so this really helped. Thanks!

  19. Mohamed Abuelanin

    In the SR Flip Flop to D Flip Flop
    there is a mistake in the R K-Map
    the term (1) should be “1” not “0”

  20. found it helpful for writing exam …
    ACTUALLY COYING DURING THE EXAM 😀
    KEEP IT UP !!!!!!!

  21. Tarek Jreidini

    thank you so much my exam’s in 4 hours i needed this

  22. Awesome. Thanks. Althought there’s an error on the JK Flip Flop to D Flip Flop table. Last line. Qp+1 should be 1 and not 0. But the corresponding JK Inputs are correct. This said, everything is good except Qp+1.

  23. rahul kumar

    please try to keep the solution for D-ff to T-ff conversion

  24. vijay kumar

    can i have details about D flip flop to SR flip flop using NOR gates only.

    • when an SR is clocked it dxnt matter whether its NOR or NAND…. both have same characteristics….

  25. thank u very much…!!
    its up to the point and brief.

  26. Santosh Kumar Patel

    Thank’s you so much it is good details for digital information. i will com back in your web sites.

  27. Thanks a lot
    I hope if there is a suitable reference (student language not complex teacher language methods) for digital communication and for digital system design ??

    • John G. Parisi

      Alireza
      I worked in the Postal Service, it had a large training section where we laearned to service electronic equipment. It was located in Norman, Oklament. At the University of Oklahoma. The last equipment I woked on was the Optical Cahriter Reader (OCR) the hardest logic I had to learn was the Master Slave J K Flipflop. I finnaly learned how it worked just before the test that was given every Friday. Well that was the only question I missed on the test. The instructor had a way to change just a little of something different.

  28. good one and thanks dude for help me for this topic ………

  29. Arunraj K

    Thanks a lot. It will help to brush up my skills.

  30. Perfect !
    Now I think i can convert any flip flop to other !
    Thanks a lot !

  31. baiduryakanti majumder

    the figure in the conversion of jk to d is slightly incorrect …
    the last row in the conversion table should be corrected…i feel ….
    please comment if i am wrong…

  32. thank you very much.the explanations is quite simple and very easy to understand.please also post on registers.

  33. Sandip mangukiya

    very good.explanation is quite simple and fundamentally stupedous

  34. you worked really hard Mr. john. You concentrated upon a very useful topic.