Flip flop
Upcoming SlideShare
Loading in...5
×
 

Flip flop

on

  • 5,089 views

 

Statistics

Views

Total Views
5,089
Views on SlideShare
5,089
Embed Views
0

Actions

Likes
2
Downloads
329
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Give qualifications of instructors: DAP teaching computer architecture at Berkeley since 1977 Co-athor of textbook used in class Best known for being one of pioneers of RISC currently author of article on future of microprocessors in SciAm Sept 1995 RY took 152 as student, TAed 152,instructor in 152 undergrad and grad work at Berkeley joined NextGen to design fact 80x86 microprocessors one of architects of UltraSPARC fastest SPARC mper shipping this Fall
  • credential: bring a computer die photo wafer : This can be an hidden slide. I just want to use this to do my own planning. I have rearranged Culler’s lecture slides slightly and add more slides. This covers everything he covers in his first lecture (and more) but may We will save the fun part, “ Levels of Organization,” at the end (so student can stay awake): I will show the internal stricture of the SS10/20. Notes to Patterson: You may want to edit the slides in your section or add extra slides to taylor your needs.
  • credential: bring a computer die photo wafer : This can be an hidden slide. I just want to use this to do my own planning. I have rearranged Culler’s lecture slides slightly and add more slides. This covers everything he covers in his first lecture (and more) but may We will save the fun part, “ Levels of Organization,” at the end (so student can stay awake): I will show the internal stricture of the SS10/20. Notes to Patterson: You may want to edit the slides in your section or add extra slides to taylor your needs.

Flip flop Flip flop Presentation Transcript

  • Sequential Circuits: Flip flops By: C.SARAVANAN D.EEE Reg No.29307106
  • Overview
    • Latches respond to trigger levels on control inputs
      • Example: If G = 1, input reflected at output
    • Difficult to precisely time when to store data with latches
    • Flip flips store data on a rising or falling trigger edge.
      • Example: control input transitions from 0 -> 1, data input appears at output
      • Data remains stable in the flip flop until until next rising edge.
    • Different types of flip flops serve different functions
    • Flip flops can be defined with characteristic functions.
  • D Latch Q Q’ C S’ R’ S R S R C Q Q’ 0 0 1 Q 0 Q 0 ’ Store 0 1 1 0 1 Reset 1 0 1 1 0 Set 1 1 1 1 1 Disallowed X X 0 Q 0 Q 0 ’ Store 0 1 0 1 1 1 1 0 X 0 Q 0 Q 0 ’ D C Q Q’
    • When C is high, D passes from input to output (Q)
    D
  • Clocking Event
    • What if the output only changed on a C transition?
    Lo-Hi edge Hi-Lo edge C D Q Q’ 0 0 1 1 1 0 X 0 Q 0 Q 0 ’ D C Q Q’ Positive edge triggered
  • Master-Slave D Flip Flop
    • Consider two latches combined together
    • Only one C value active at a time
    • Output changes on falling edge of the clock
  • D Flip-Flop D gets latched to Q on the rising edge of the clock.
    • Stores a value on the positive edge of C
    • Input changes at other times have no effect on output
    C D Q Q’ 0 0 1 1 1 0 X 0 Q 0 Q 0 ’ D C Q Q’ Positive edge triggered
  • Clocked D Flip-Flop
    • Stores a value on the positive edge of C
    • Input changes at other times have no effect on output
  • Positive and Negative Edge D Flip-Flop
    • D flops can be triggered on positive or negative edge
    • Bubble before Clock (C) input indicates negative edge trigger
    Lo-Hi edge Hi-Lo edge
  • Clocked J-K Flip Flop
    • Two data inputs, J and K
    • J -> set, K -> reset, if J=K=1 then toggle output
    Characteristic Table
  • Asynchronous Inputs
    • J, K are synchronous inputs
      • Effects on the output are synchronized with the CLK input .
    • Asynchronous inputs operate independently of the synchronous inputs and clock
      • Set the FF to 1/0 states at any time.
  • Asynchronous Inputs
  • Asynchronous Inputs
    • Note reset signal (R) for D flip flop
    • If R = 0, the output Q is cleared
    • This event can occur at any time, regardless of the value of the CLK
  • Parallel Data Transfer
    • Flip flops store outputs from combinational logic
    • Multiple flops can store a collection of data
  • Summary
    • Flip flops are powerful storage elements
      • They can be constructed from gates and latches!
    • D flip flop is simplest and most widely used
    • Asynchronous inputs allow for clearing and presetting the flip flop output
    • Multiple flops allow for data storage
      • The basis of computer memory!
    • Combine storage and logic to make a computation circuit