1 / 52

SEQUENTIAL LOGIC -II

This article discusses the differences between latches and registers in sequential logic circuits. It covers various types of latches, such as static latches, mux-based latches, and master-slave registers. The article also delves into the concept of setup/hold time and includes illustrations and examples of different latch designs.

fults
Télécharger la présentation

SEQUENTIAL LOGIC -II

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. SEQUENTIAL LOGIC -II

  2. Latch versus Register • Latch stores data when clock is low • Register stores data when clock rises D Q D Q Clk Clk Clk Clk D D Q Q

  3. CLK D Q D D Clk CLK Clk D Q Writing into a Static Latch Use the clock as a decoupling signal, that distinguishes between the transparent and opaque states Forcing the state (can implement as NMOS-only)

  4. Q 0 Q 1 D 1 D 0 CLK Mux-Based Latches Negative latch (transparent when CLK= 0) Positive latch (transparent when CLK= 1) CLK

  5. Mux-Based Latch (can implement as NMOS-only)

  6. Mux-Based Latch (NMOS Only) NMOS only Non-overlapping clocks

  7. Master-Slave (Edge-Triggered) Register Two opposite latches trigger on edge Also called master-slave latch pair

  8. Master-Slave Register Multiplexer-based latch pair

  9. Clk-Q Delay 2.5 CLK 1.5 D t c  q(lh) t c  q(hl) Volts Q 0.5 2 0.5 0 0.5 1 1.5 2 2.5 time, nsec

  10. Setup Time – I2 – T2 = 0.20 nsec = 0.21 nsec

  11. Reduced Clock Load Master-Slave Register

  12. Avoiding Clock Overlap X CLK CLK Q A D B CLK CLK (a) Schematic diagram CLK CLK (b) Overlapping clock pairs

  13. Static SR Latches ─Cross-Coupled Pairs NOR-based set-reset Overpowering the Feedback Loop

  14. Cross-Coupled NAND Added clock Cross-coupled NANDs This is not used in datapaths any more,but is a basic building memory cell

  15. Sizing Issues Output voltage dependence on transistor width Transient response

  16. Storage Mechanisms Dynamic (charge-based) Static CLK D Q CLK

  17. Making a Dynamic Latch Pseudo-Static

  18. More Precise Setup Time

  19. Setup/Hold Time Illustrations Circuit before clock arrival (Setup-1 case)

  20. Setup/Hold Time Illustrations Circuit before clock arrival (Setup-1 case)

  21. Setup/Hold Time Illustrations Circuit before clock arrival (Setup-1 case)

  22. Setup/Hold Time Illustrations Circuit before clock arrival (Setup-1 case)

  23. Setup/Hold Time Illustrations Circuit before clock arrival (Setup-1 case)

  24. Setup/Hold Time Illustrations Hold-1 case 0

  25. Setup/Hold Time Illustrations Hold-1 case 0

  26. Setup/Hold Time Illustrations Hold-1 case 0

  27. Setup/Hold Time Illustrations Hold-1 case 0

  28. Setup/Hold Time Illustrations Hold-1 case 0

  29. Other Latches/Registers: C2MOS “Keepers” can be added to make circuit pseudo-static

  30. Insensitive to Clock-Overlap V V V V DD DD DD DD M M M M 2 6 2 6 M M 0 0 4 8 X X D Q D Q M M 1 1 3 7 M M M M 1 5 1 5 (a) (0-0) overlap (b) (1-1) overlap

  31. Other Latches/Registers: TSPC Positive latch (transparent when CLK= 1) Negative latch (transparent when CLK= 0)

  32. Including Logic in TSPC Example: logic inside the latch AND latch

  33. TSPC Register

  34. Pulse-Triggered LatchesAn Alternative Approach Ways to design an edge-triggered sequential cell: Master-Slave Latches Pulse-Triggered Latch L1 L2 L Data Data D Q D Q D Q Clk Clk Clk Clk Clk

  35. Pulsed Latches

  36. Pulsed Latches Hybrid Latch – Flip-flop (HLFF), AMD K-6 and K-7 :

  37. Pulsed Triggered Latches

  38. Hybrid Latch-FF Timing

  39. Sense-Amplifier Based Registers Sense-amplifier-based flip-flop, DEC Alpha 21264, StrongARM 110 • First stage is a sense amplifier, precharged to high, when Clk = 0 • After rising edge of clock sense amplifier generates the pulse S or R • The pulse is captured S-R latch • Cross-coupled NAND has different delays of rising and falling edges

  40. Pipelining Pipelined Reference

  41. Latch-Based Pipeline

  42. Multivibrator Circuits

  43. Non-Bistable Sequential Circuits─Schmitt Trigger • VTC with hysteresis • Restores signal slopes

  44. Noise Suppression using Schmitt Trigger

  45. CMOS Schmitt Trigger Moves switching threshold of the first inverter

  46. Schmitt Trigger Simulated VTC 2.5 2.5 2.0 2.0 V 1.5 1.5 M + (V) (V) x X 1.0 1.0 V V V M - k = 1 k = 3 k = 2 0.5 0.5 k = 4 0.0 0.0 0.0 0.5 1.0 1.5 2.0 2.5 0.0 0.5 1.0 1.5 2.0 2.5 V (V) V (V) in in Voltage-transfer characteristics with hysteresis. The effect of varying the ratio of the PMOS device M . The width is k * 0.5 m. m 4

  47. CMOS Schmitt Trigger (2)

  48. Multivibrator Circuits

  49. Transition-Triggered Monostable

  50. Astable Multivibrators (Oscillators)

More Related