ceng4480 lecture 10 clock
play

CENG4480 Lecture 10: Clock Bei Yu byu@cse.cuhk.edu.hk (Latest - PowerPoint PPT Presentation

CENG4480 Lecture 10: Clock Bei Yu byu@cse.cuhk.edu.hk (Latest update: December 3, 2020) Fall 2020 1 / 20 A 2-bit ring counter example 2-bit ring counter Initially A = B = 0; A = 0011001100 What is B? 2 / 20 A 2-bit ring counter


  1. CENG4480 Lecture 10: Clock Bei Yu byu@cse.cuhk.edu.hk (Latest update: December 3, 2020) Fall 2020 1 / 20

  2. A 2-bit ring counter example ◮ 2-bit ring counter ◮ Initially A = B = 0; A = 0011001100 ◮ What is B? 2 / 20

  3. A 2-bit ring counter example ◮ The result is Okay when clock is slow ◮ But, when clock is TOO fast, get some problem 3 / 20

  4. Setup Time and Time Margin ◮ Setup Time: The time that the input data must be stable before the clock transition of the system occurs ◮ Time Margin: measures the slack, or excess time, remaining in each clock cycle ◮ Protects your circuit against signal cross-talk, miscalculation of logic delays, and later minor changes in the layout ◮ Depends on both time delay of logic paths and clock interval 4 / 20

  5. Notations in Clock Skew Calculation ◮ T ff : delay of flip-flop (FF) ◮ T G : delay of gate G, including track delay ◮ T setup : worst-case setup time required by FF2, data at D2 must arrive at least T setup before CLK 2 D1 Q1 D2 Q2 CLK1 CLK2 5 / 20

  6. May cause problem if T CLK is too small 6 / 20

  7. EX. B2-1 CLK1 = CLK2 = 20MHz; T ff = 8ns; T setup = 5ns; TG = 10ns. ◮ Find time margin ◮ How many delay G gates can you insert between A and B without creating error? 7 / 20

  8. Clock Skew ◮ The clock does NOT reach FF1, FF2 at the same time 8 / 20

  9. Why Care Clock Skew? 9 / 20

  10. Why Care Clock Skew? ◮ T delay = T c 1 + T ff + T G ◮ T clk ′ = T CLK + T c 2 - T setup ◮ Since T delay < T clk ′ = > 10 / 20

  11. EX. B2-2 Given ◮ T ff = 7ns; ◮ T G = 5ns; ◮ T setup = 4ns; ◮ T CLK = 40MHZ; What ′ s the biggest time skew allowed? Answer: 11 / 20

  12. Strategies to reduce clock skew ◮ Drive them from the same source & balance the delays ◮ Style 1: Spider-leg distribution network ◮ use a power driver to drive N outputs. ◮ Use load (R) termination to reduce reflection if the traces are long (distributed circuit). Total load =R/N. ◮ Two or more driver outputs in parallel may be needed. ◮ Style 2: Clock distribution tree 12 / 20

  13. Style 1: Spider-leg Clock 13 / 20

  14. Style 2: Clock Tree 14 / 20

  15. Modern Clock Design 1 15 / 20

  16. Modern Clock Design 2 16 / 20

  17. Modern Clock Design 3 17 / 20

  18. Clock Skew Distribution 18 / 20

  19. EX. Skew Optimization Instead of Zero-Skew, take advantage of Skew. Question: Given T G =6ns, T ff =10ns, T setup =2ns, what’s the minimal T CLK ? Assume T c 3 = 0. 19 / 20

  20. Thank You :) 20 / 20

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend