Docsity

Understanding Flip Flops: Characteristics and Types, Slides of Digital Logic Design and Programming

Partial preview of the text

Download Understanding Flip Flops: Characteristics and Types and more Slides Digital Logic Design and Programming in PDF only on Docsity!

EE -

Sequential Circuits: Flip flops

^ What if the output only changed on a

C transition?

D^

Q^

D^ C^

Q^ Q’

Positive edge triggered

LoLo--HiHi edge HiHi--LoLo edge C^

Q’^

X^0

QQ^0

^ Stores a value on the positive edge of

C

^ Input changes at other times have no effecton output

Positive edge triggered C D gets latched to Q on the rising edge of the clock.

D^

Q Q’

X^0

QQ^0

D^ C^

Q^ Q’

^ Stores a value on the positive edge of

C

^ Input changes at other times have no effect onoutput

^ Consider two latches combined together ^ Only one

C^ value active at a time ^ Output changes on falling edge of the clock EE -

Characteristic Table

EE -

^ Note reset signal(R) for D flip flop ^ If R = 0, the outputQ is clearedQ is cleared ^ This event canoccur at any time,regardless of thevalue of the CLK

  •  Latches respond to trigger levels on control inputs  Example: If G = 1, input reflected at output  Difficult to precisely time when to store data withlatches  Flip flips store data on a rising or falling triggeredge. edge.  Example: control input transitions from 0 -> 1, data inputappears at output  Data remains stable in the flip flop until next rising edge.  Different types of flip flops serve different functions  Flip flops can be defined with characteristicfunctions. EE -
  •  Created from D Flip flop  J sets  K resets  J=K=1 -> invert outputEE -
  •  Created from D flop  T=0 -> keep current  K resets  T=1 -> invert current EE -
  •  Flip flops are powerful storage elements  They can be constructed from gates andlatches!  D flip flop is simplest and most widely used  Asynchronous inputs allow for clearing and  Asynchronous inputs allow for clearing and presetting the flip flop output  Multiple FFs allow for data storage  The basis of computer memory!  Combine storage and logic to make acomputation circuit EE -