1 / 44

K-Maps, Timing Sequential Circuits: Latches & Flip-Flops

K-Maps, Timing Sequential Circuits: Latches & Flip-Flops. Lecture 4 Digital Design and Computer Architecture Harris & Harris Morgan Kaufmann / Elsevier, 2007. 2.7 3-input K-map. 3-input K-map. K-map Definitions. Complement: variable with a bar over it Literal: variable or its complement

mikasi
Télécharger la présentation

K-Maps, Timing Sequential Circuits: Latches & Flip-Flops

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. K-Maps, TimingSequential Circuits: Latches & Flip-Flops Lecture 4 Digital Design and Computer Architecture Harris & Harris Morgan Kaufmann / Elsevier, 2007

  2. 2.7 3-input K-map

  3. 3-input K-map

  4. K-map Definitions • Complement: variable with a bar over it • Literal: variable or its complement • Implicant: product of literals • Prime implicant: implicant corresponding to the larges circle in the K-map

  5. K-map Rules • Each circle must span a power of 2 (i.e. 1, 2, 4) squares in each direction • Each circle must be as large as possible • A circle may wrap around the edges of the K-map • A one in a K-map may be circled multiple times • A “don't care” (X) is circled only if it helps minimize the equation

  6. 4-input K-map

  7. Don’t Cares

  8. Contention: X • Not just 1’s and 0’s • Contention: X

  9. Floating: Z Tri-state Buffer

  10. 2.8 Building Blocks • Multiplexer vs. Demultiplexer • Decoder vs. Encoder • Priority Encoder • Adder

  11. Multiplexers

  12. Decoders

  13. 2.9 Timing • See chap08.ppt of last year.

  14. 2.9.1 Propagation & Contamination Delay • Propagation Delay: tpd = max delay from input to output • Contamination Delay: tcd = min delay from input to output

  15. Critical (Long) and Short Path

  16. 2.9.2 Glitches • Glitch: when a single input change causes multiple output changes • Glitches don’t cause problems because of synchronous design conventions (which we’ll talk about in a bit) • But it’s important to recognize a glitch when you see one in timing diagrams

  17. Glitches: Example

  18. Glitches: Example

  19. Ch.3 Sequential Circuits • Circuits that: • give sequence to events • have memory (short-term) • use feedback from output to input

  20. 3.2 State Elements • State: information that determines future behavior of circuit • State elements store state • Cross coupled inverter pair • SR Latch • D Latch • D Flip-flop

  21. Cross Coupled inverter pair

  22. 3.2.1 SR Latch • Bistable circuit

  23. 3.2.2 D Latch

  24. 3.2.3 D Flip-Flop How many transistors required for a D-FF ?

  25. 3.2.4 Registers

  26. 3.2.5xEnabled & Resettable FF

  27. Eg.3.2– D-FF vs. D Latch

  28. D Flip-Flop Input Timing Constraints • Setup time: tsetup = time before the clock edge that data must be stable (i.e. not changing) • Setup time: thold = time after the clock edge that data must be stable • Aperture time: To = time around clock edge that data must be stable

  29. D Flip-Flop Output Timing • Propagation Delay: tpcq = time after clock edge that Q is guaranteed to be stable (i.e. stop changing) • Contamination Delay: tccq = time after clock edge that Q might be unstable (i.e. start changing)

  30. 3.3 Synchronous Logic Design • 3.3.1 Some Problematic Circuits

  31. 3.3.2 Sync. Seq. circuits

  32. 3.4 Finite State Machines • Moore & Mealy Machine

  33. 3.4 Finite State Machines

  34. 3.4 Finite State Machines

  35. 3.4 Finite State Machines

  36. 3.4 Finite State Machines

  37. 3.4.2 State Encoding • Divide by N counter

  38. Next Time • Finite State Machines

More Related