Presentation is loading. Please wait.

Presentation is loading. Please wait.

Latch versus Register  Latch stores data when clock is low D Clk Q D Q Register stores data when clock rises Clk D D QQ.

Similar presentations


Presentation on theme: "Latch versus Register  Latch stores data when clock is low D Clk Q D Q Register stores data when clock rises Clk D D QQ."— Presentation transcript:

1 Latch versus Register  Latch stores data when clock is low D Clk Q D Q Register stores data when clock rises Clk D D QQ

2 Latches

3 Latch-Based Design N latch is transparent when  = 0 P latch is transparent when  = 1 N Latch Logic P Latch 

4 Timing Definitions t CLK t D t c 2 q t hold t su t Q DATA STABLE DATA STABLE Register CLK DQ

5 Positive Feedback: Bi-Stability V o 1 V i 2 5 V o 1 V i 2 5 V o 1 V i1 A C B V o2 V i1 =V o2 V o1 V i2 V i2 =V o1

6 Meta-Stability Gain should be larger than 1 in the transition region

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

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

9 Mux-Based Latch

10 NMOS onlyNon-overlapping clocks

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

12 Master-Slave Register Multiplexer-based latch pair

13 Clk-Q Delay

14 Setup Time

15 Reduced Clock Load Master-Slave Register

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

17 Other Latches/Registers: C 2 MOS “Keepers” can be added to make circuit pseudo-static

18 Insensitive to Clock-Overlap M 1 DQ M 4 M 2 00 V DD X M 5 M 8 M 6 V (a) (0-0) overlap M 3 M 1 DQ M 2 1 V DD X M 7 1 M 5 M 6 V (b) (1-1) overlap

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

20 Including Logic in TSPC AND latch Example: logic inside the latch

21 TSPC Register

22 Pulse-Triggered Latches An Alternative Approach Master-Slave Latches D Clk QD Q Data D Clk Q Data Pulse-Triggered Latch L1L2L Ways to design an edge-triggered sequential cell:

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


Download ppt "Latch versus Register  Latch stores data when clock is low D Clk Q D Q Register stores data when clock rises Clk D D QQ."

Similar presentations


Ads by Google