Flip flop’s state tables & diagramsPresentation Transcript
Presented By:Sunny KhatanaComputer Science Engg.University Of Gujrat
What is Flip-flop?SR Flip-flopState table & DiagramD Flip-flopState table & DiagramJK Flip-flopState table & DiagramT Flip-flopState table & Diagram
a flip-flop is a type of circuit that contains twostates and are often used to store stateinformation. By sending a signal to the flip-flop, the state canbe changed. Flip-flops are used in a number ofelectronics, including computers andcommunications equipment. There were a number of types of flip-flops are Dflip-flop, SR flip-flopT flip-flop and JK flip-flop.
When the clock triggers, the value remembered by the flip-flop remains unchanged if R and S are both 0, becomes 0 ifthe R input (Reset) is 1, and becomes 1 if the S input (Set) is 1.The behavior in unspecified if both inputs are 1. (InLogical, the value in the flip-flop remains unchanged.) Characteristics Equation Q(next) = S + RQ SR = 0 Symbols & CharacteristicTableS R Q0 0 Q0 1 01 0 11 1 ??
The SR flip-flop state table. The state diagram is.Q Q(next) S R0 0 0 X0 1 1 01 0 0 11 1 X 0
When the clock triggers, the valueremembered by the flip-flop becomes thevalue of the D input (Data) at that instant. Characteristic Equation Q(next) = D D Flip-flop symbol &CharacteristicTable. D Q0 01 1
The D flip-flop has the following state table▪ Note that changes on clock edge are always assumed The corresponding state diagram is▪ Again, transitions occurs only on a clock edge.Q Q(next) D0 0 00 1 11 0 01 1 1
When the clock triggers, the valueremembered by the flip-flop toggles ifthe J and K inputs are both 1, remains thesame if they are both 0; if they aredifferent, then the value becomes 1 ifthe J (Jump) input is 1 and 0 if the K (Kill) inputis 1 Characteristic Equation Q(next) = JQ + KQ Symbol & CharacteristicTableJ K Q0 0 Q0 1 01 0 11 1 Q
The JK flip-flop state table The State Diagram isQ Q(next) J K0 0 0 X0 1 1 X1 0 X 11 1 X 0
When the clock triggers, the valueremembered by the flip-flop either toggles orremains the same depending on whetherthe T input (Toggle) is 1 or 0. Characteristic Equation Q(next) =TQ +TQ Symbols & CharacteristicEquationT Q0 Q1 Q
TheT flip-flop state table The State Diagram isQ Q(next) T0 0 00 1 11 0 11 1 0