Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 9 High Speed Clock Management. Agenda Inside the DCM Inside the DFS Jitter Inside the V5 PLL.

Similar presentations


Presentation on theme: "Chapter 9 High Speed Clock Management. Agenda Inside the DCM Inside the DFS Jitter Inside the V5 PLL."— Presentation transcript:

1 Chapter 9 High Speed Clock Management

2 Agenda Inside the DCM Inside the DFS Jitter Inside the V5 PLL

3 The Digital Clock Manager

4 Delay Lock Loop Block Diagram Key ideas: All clocks look the same (more or less) Future clocks resemble current clocks (ie, they are interchangeable)

5 Simplified DLL Diagram

6 Simplified Clock Tree Driving Four CLBs

7 Aligining FBCLK with CLKIN

8 Compensating for Setup Delays with DLL Basic idea: We can set Td_C = 0

9 Feedback from End Cell to Center Cell

10 Additional Skew Reduction Place DLL output Centrally, minimize Extra delays

11 Completing the Picture Clock tree Geometry is Crucial. Delivering clock Uniformly to large Area is the main Idea. Can deliver to Hundreds of LUT Flip flops with Virtually identical “skew”

12 DLL “Zoom In”

13 Z2 Delay Exposed

14 Main Delay & Trim Detail

15 Configuration & Lock Process General idea: Don’t assert “Locked” To outside world until Done is asserted from The configuration State machine Looks like instantaneous Locking as part powers up

16 Clock Doubling Capture a period Identify end points Identify middle (50%) Identify 25%, 75% Reassemble pieces

17 Board Deskewing We seek the ideal Situation with A,B And C all tracking. However, different Environments. Takes two DCMs To lock B to A, and C to A, but can Make outside track Inside the chip

18 More on Board Deskewing Foreward path delay Note how Locked is used To enable/ Disable the Right hand device Synchronization trick delivers four clocks Worth of reset to the DCM and stops

19 System Synchronous Applications The Classic, single clocked synchronous system. Looks good, but doesn’t account for clock arriving skewed all over the place to the right hand block(s)

20 Source Synchronous Applications More common these days. The clock is recreated by the middle box and forwarded to the boxes on the right. This is what DDR SDRAM does, making whichever device is blasting data, also provide the clock for that data to the receivers. You may receive in one case, but transmit in another case, so often both boxes can transmit data and clocks. Depends on which one is Sourcing the Data.

21 Compare System and Source Synchronous Timing Most Source Synchronous devices have DLL units inside. Data centering can select appropriate setup time by phase Shifting the clock.

22 Duty Cycle Correction DLLs have ability to correct duty cycle to 50%. This means data clocking with the rising edge has same setup window as data clocking with the falling edge.

23 Digital Frequency Synthesizer Capabilities Its nice to distribute slow, external clocks and be able to increase speed within the device. Frequency synthesis allows this.

24 Basic Internal DFS Structure Output Control manages Up/down signal Task: adjust variable ring oscillator so: CLKFX = CLKIN M D

25 Some Common DFS Applications

26 Fixed Value Phase Shift See XAPP 462: ISE software lets you place a phase shift constant Into the programmable phase shifter, to assign clock edges

27 Dynamic Fine Phase Shift Control Can also do it dynamically, on the fly. Status feedback gives indicator of where you Are in the phase shifting

28 Dynamic Phase Shift Controls

29 Spartan 3 DCM Restrictions

30 Clock Jitter Jitter comes from many sources: clock crystal drift noise VCC ripple SSO ground bounce temperature drift, gain change

31 Cycle to Cycle Jitter

32 Peak to Peak Period Jitter Distribution Period jitter captured with digital sampling scope (typically)

33 Period Jitter Spec. as % Unit Interval Another point of view: consider the amount of time allocated for a data Bit on a line. Call it a Unit Interval. Identify the amount of peak to peak Jitter as a percentage of that Unit Interval. Jitter is a “performance thief”, you must assume it subtracts out of your setup time (usually). Leaves less time available to handle data properly

34 Peak to Peak Jitter Calculation Adding more devices is done by squaring the device jitter and adding under the radical. Deviation gets divided by “n” as number increases

35 Jitter for DCM Cascades

36 Virtex 5 Clock Management Tile V5 Clock tile doesn’t Have PMCDs, it Has PLLs, instead.

37 V5 PLL –High Level PFD = Phase & Frequency Detector CP = Charge Pump LF = Low Frequency Filter VCO = Voltage Controlled Oscillator D = Divisor counter M = Multiplier counter

38 V5 PLL – More Detail

39 PLL/DCM Cascades (preferred)

40 Conclusions Clocking resources simplify design DCMs cover standard user domains working with the global clock networks DFS adds in extra clock multiplication Phase shifting allows “tweaking” clocks to better center to data PMCDs are quick/cheap ways to make more clocks and track together Jitter can be identified, managed and predicted PLLs can extend the frequency range and reduce overall jitter Virtex 6 and Spartan 6 resemble Virtex 5 DCMs


Download ppt "Chapter 9 High Speed Clock Management. Agenda Inside the DCM Inside the DFS Jitter Inside the V5 PLL."

Similar presentations


Ads by Google