Presentation is loading. Please wait.

Presentation is loading. Please wait.

Instructor: Alexander Stoytchev Presented by: Mohamed Selim (PhD Student) TA for Cpr E 281 CprE 281: Digital.

Similar presentations


Presentation on theme: "Instructor: Alexander Stoytchev Presented by: Mohamed Selim (PhD Student) TA for Cpr E 281 CprE 281: Digital."— Presentation transcript:

1 Instructor: Alexander Stoytchev Presented by: Mohamed Selim (PhD Student) TA for Cpr E 281 http://www.ece.iastate.edu/~alexs/classes/ CprE 281: Digital Logic

2 T Flip-Flops & JK Flip-Flops CprE 281: Digital Logic Iowa State University, Ames, IA Copyright © Alexander Stoytchev

3 T Flip-Flop

4 Motivation A slight modification of the D flip-flop that can be used for some nice applications. In this case, T stands for Toggle.

5 [ Figure 5.15a from the textbook ] T Flip-Flop

6 [ Figure 5.15a from the textbook ] T Flip-Flop Positive-edge-triggered D Flip-Flop

7 [ Figure 5.15a from the textbook ] T Flip-Flop What is this?

8 Q Q T D Q Q T D

9 Q Q T D + = ?

10 T 0 1 D Q Q Clock T Flip-Flop Q Q T D

11 What is this? Q T D

12 Q T D D = QT + QT

13 What is this? Q T D D = Q + T D Q T

14 What is this? + = ?

15 T D Q Q Clock T Flip-Flop TQD 000 Q 011 101 Q' 110

16 T Flip-Flop (How it Works) If T=0 then it stays in its current state If T=1 then it reverses its current state In other words the circuit “toggles” its state when T=1. This is why it is called T flip-flop.

17 [ Figure 5.15a,b from the textbook ] T Flip-Flop (circuit and truth table)

18 [ Figure 5.15a,c from the textbook ] T Flip-Flop (circuit and graphical symbol)

19 [ Figure 5.15d from the textbook ] T Flip-Flop (Timing Diagram) 1 1 0 0 11 1 0 1 1 0 1 Decision Point

20 [ Figure 5.15d from the textbook ] T Flip-Flop (Timing Diagram) 1 1 0 0 11 1 0 1 1 0 1

21 [ Figure 5.15d from the textbook ] T Flip-Flop (Timing Diagram) 1 1 0 0 11 1 0 1 1 0 1

22 [ Figure 5.15d from the textbook ] T Flip-Flop (Timing Diagram) 1 1 0 0 11 1 0 1 1 0 1

23 JK Flip-Flop

24 [ Figure 5.16a from the textbook ] T Flip-Flop J K

25 [ Figure 5.16a from the textbook ] JK Flip-Flop D = JQ + KQ

26 [ Figure 5.16 from the textbook ] JK Flip-Flop JQ Q K 0 1 Qt1+  Qt  0 (b) Truth table(c) Graphical symbol J 0 0 0 1 1 1 Qt  1 K D Q Q Q Q J Clock (a) Circuit K Hold Set Reset Toggle

27 JK Flip-Flop (How it Works) A versatile circuit that can be used both as a SR flip-flop and as a T flip flop If J=0 and S =0 it stays in the same state Just like SR It can be set and reset J=S and K=R If J=K=1 then it behaves as a T flip-flop

28 JK Flip-Flop (How it Works)

29

30

31

32 Questions?

33 THE END Draw the wave form of Q for a (-ve edge) JK flip-flop

34 THE END


Download ppt "Instructor: Alexander Stoytchev Presented by: Mohamed Selim (PhD Student) TA for Cpr E 281 CprE 281: Digital."

Similar presentations


Ads by Google