Escolar Documentos
Profissional Documentos
Cultura Documentos
Flip-Flops
Objectives
Draw the symbol for the D-Latch and D Flip Flop.
FLIP-FLOP TYPES
S CLK R Q Q
RS FLIP FLOP (Reset/Set) a.k.a. Set/Clear Most basic flip flop can be made by cross coupling NAND or NOR gates Activating Set and Reset is invalid
D CLK
Q Q
D Flip Flop (Data or Delay) Has only a single data input and clock input Input transfers to output on clock pulse T Flip Flop (Toggle) Output toggles on each clock pulse Q output divides clock frequency in half J-K Flip Flop Universal, can make all other flip flops Has no prohibited states
Q T Q
J CLK K
Q Q
D
CLK
Q Q
Q NOT
EN
Truth Table:
EN 0 1 1 D X 0 1 Q* No change 0 1
C D Q
EN 0 1 1
D X 0 1
Q* No change 0 1
C D Q C D Q
C D Q
CLK
D X 0 1
Q* No change 0 1
C D Q C D Q
Q T Q
CLK Q
Output toggles on each clock pulse Q output divides clock frequency in half Usually made with JK Flip Flop
Truth Table:
CLK Q QO Q= QO MEANS THAT THE NEW VALUE OF Q WILL BE THE INVERSE OF THE VALUE IT HAD PRIOR TO THE NGT
T Q
CLK
Q QO
T Q
Q= QO
MEANS THAT THE NEW VALUE OF Q WILL BE THE INVERSE OF THE VALUE IT HAD PRIOR TO THE NGT
J-K FLIP-FLOP
UNIVERSAL Flip Flop can make all others from JK (T, D and RS)
J CLK K
Q Q
The J input acts like SET, K acts like RESET No illegal state, activating both inputs causes Q to TOGGLE
J-K FLIP-FLOP
J CLOCK
Symbol:
Q NOT
J CLK K
Q Q
Truth Table:
CLK 0 1 J X X X 0 0 1 1 K X X X 0 1 0 1 Q NO CHG NO CHG NO CHG NO CHG 0 1 QO MODE HOLD HOLD HOLD HOLD RESET SET TOGGLE
Q Q
C J K Q
K Q 0 NO CHG 1 0 1 0 1 QO
C J K Q
Q Q
C J K
K Q 0 NO CHG 1 0 1 0 1 QO
C J K Q
C J K Q
ASYNCHRONOUS OVERRIDES
Asynchronous Inputs a.k.a. Overide Inputs operate independent of the control and clock inputs
PRE
J CLK K Q Q
PRE
CLR
CLR
CLR
PRE 1 1 0 0
CLR 1 0 1 0
Q* No effect; FF can respond to J, K, and CLK Q=0 independent of synchronous inputs Q=1 independent of synchronous inputs Ambiguous (not used)
J-K FLIP-FLOP
Symbol:
J
Clk
Q __ Q
Truth Table:
Mode of Operation PS Asynchronous set 0 Inputs Clr Clk 1 x J x K x Outputs Q Q 1 0
CLR
PRE 1 1 0 0
CLR 1 0 1 0
TEST
Data Delay 1. The D in D flip flop stands for _________ or _________ .
Set
4. The K input on a J-K flip flop acts like what input on an RS Latch?
Reset
5. What inputs on a J-K flip flop are the Asynchronous inputs?
Preset/Set
J&K
Clear/Reset