Presentation is loading. Please wait.

Presentation is loading. Please wait.

BY: TRAVIS HOOVER 2/22/2011 CS 147 DR. LEE JK flip-flops.

Similar presentations


Presentation on theme: "BY: TRAVIS HOOVER 2/22/2011 CS 147 DR. LEE JK flip-flops."— Presentation transcript:

1 BY: TRAVIS HOOVER 2/22/2011 CS 147 DR. LEE JK flip-flops

2 What is a JK Flip-flop? A flip-flop is a circuit that has two stable states and can be used to store state information. The flip-flop can be made to change state by signals applied to one or more control inputs and will have one or two outputs.

3 JK Terminology/Structure Has 5 inputs named: J(set),K(reset), PR, CLR, and CLK Has 2 outputs: Q and Q’ Set: when it stores a binary 1 Cleared (reset): when it stores a binary 0 PR = Preset CLR = Clear CLK = Clock

4 Outputs The Q output is the primary output. This means that the binary bit stored in the flip-flop, 1 or 0, is the same as Q. The Q’ output is the opposite binary bit value that is stored in Q. The PR and CLR inputs always override the J,K inputs.

5 Inputs: PR and CLR A low at the PR input sets Q = 1 A low at the CLR input sets Q = 0

6 Inputs: J and K The logic states applied to the J and K inputs cause the flip-flop to operate 4 different ways. The way the logic state is applied to J and K is called Mode of Operation. The mode of operation refers to the condition of the flip-flop as it prepares for the positive clock pulse.

7 Four Modes Of Operation JKQQ’Q’Mode 00QQ’Q’Hold 1010Sets 0101Resets 11Q’Q’QToggle The 4 modes of operation are: hold, set, reset, toggle JK contains an internal Active Low SR latch.

8 Active Low SR Latch S’ – “set”R’ – “reset” QQ’Q’ 00Invalid 0110 1001 11QQ’Q’ Point to remember: A ‘0’ at the set or the reset will either set or reset the value of Q.

9 Review: Truth Table for NAND ABX 001 011 101 110 ABCX 0001 0011 0101 0111 1001 1011 1101 1110 2 Inputs:3 Inputs:

10 Mode of Operation: Hold JKQQ’Q’Orig. QOrig. Q’ 000101 Hold: no change in Q.

11 Mode of Operation: Set JKQQ’Q’Orig. QOrig. Q’ 101001 Set: Q = 1.

12 Mode of Operation: Reset JKQQ’Q’Orig. QOrig. Q’ 010110 Reset: Q = 0.

13 Mode of Operation: Toggle JKQQ’Q’Orig. QOrig. Q’ 111001 Toggle: Q = Q’.

14 Mode of Operation: Toggle again JKQQ’Q’Orig. QOrig. Q’ 110110 Toggle: Q = Q’.

15 Overview: During a time period

16 Characteristic Equation QJKQ(t + 1) 0000 0010 0101 0111 1001 1010 1101 1110 Characteristic Equation: Q(t+1) = J.Q’+ K’.Q

17 If only one slide to remember… JKQQ’Q’Mode 00QQ’Q’Hold 1010Sets 0101Resets 11Q’Q’QToggle Characteristic Equation: Q(t+1) = J.Q’+ K’.Q Q is the primary output. SR Latch: A ‘0’ at the set or the reset will either set or reset the value of Q.

18 More information / Questions? http://www.wisc-online.com/objects/ViewObject.aspx?ID=DIG3303 http://hyperphysics.phy-astr.gsu.edu/hbase/electronic/jkflipflop.html http://computer.howstuffworks.com/boolean5.htm http://www.youtube.com/watch?v=bN02shtPWuI


Download ppt "BY: TRAVIS HOOVER 2/22/2011 CS 147 DR. LEE JK flip-flops."

Similar presentations


Ads by Google