introduction to clock tree synthesis. clock jargon : important terms clock to an soc (system on a...

58
Introduction to Clock Tree Synthesis

Upload: amberly-priscilla-gibbs

Post on 21-Jan-2016

228 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Introduction to Clock Tree Synthesis

Page 2: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Clock Jargon : Important Terms Clock to an SOC (System on a Chip) is like blood to a human body.

Just the way blood flows to each and every part of the human body and regulates metabolism, clock reached each and every sequential device and controls the digital events inside an SOC.

Clock Latency: Delay the clock signal takes between any two points. It can be from the source (PLL) to the source pin (Clock pin) of registers.

Source Insertion Delay: This is the clock delay from the clock origin point, which could be PLL to the clock definition point.

Network Insertion Delay: This refers to the clock delay from the clock definition point to the sink pink of the registers.

Page 3: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Representation of Clock based delays in clock path

Page 4: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Clock Skew:

Page 5: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

The Clock Design Problem:

Page 6: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Uneven spread of flops on a chip:

Page 7: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Clock Tree:

Page 8: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Clock Trees:

Page 9: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

What is Clock Tree Synthesis (CTS)?

It is a process to ensure that clock gets distributed evenly to all sequential elements in a design.

CTS is the design step to form clock tree distribution. Goal of the CTS is to minimize clock latency and skew.

It is the step where the actual clock tree is synthesized. Before CTS timing tools use ideal clock arrival times.

After CTS real clock distribution is available, therefore real clock arrival times are used.

Page 10: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

CTS Quality Check- I:

Page 11: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

False Data Capture (late clock/clock skew)

Page 12: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

CTS Quality Check – II (Maintain PW of 1ns)

Page 13: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way
Page 14: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

CTS Quality Check -III

Page 15: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way
Page 16: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

CTS Quality Check - IV

Page 17: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

CTS Quality Check - V

Page 18: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way
Page 19: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

CTS Quality Check –VI

Page 20: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Skew generated due to close proximity of nets

Page 21: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Crosstalk might lead to a functional failure:

Page 22: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

CTS Check List: SKEW

PULSE WIDTH

DUTY CYCLE

LATENCY

CLOCK TREE POWER

SIGNAL INTEGRITY AND CROSS-TALK

Page 23: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

H-Tree Algorithm Goal : The clock reaches each and every flop end point and fulfills all

the quality check parameters as discussed.

It works on divide and conquer approach. Divide the chip into equal parts.

Page 24: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way
Page 25: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Implemented H-Tree Quality Parameter Check : Skew

Page 26: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Modeling the RC Network Delay on a chip:

Page 27: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Degradation of Pulse Width due to RC Network

Page 28: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Pulse Width degradation kills performance: Duty Cycle Check is a more comprehensive Pulse Width check.

Page 29: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Implemented H-Tree Parameter check: Latency The clock input and output transition waveforms are way off. We need

to optimize the RC network delays by reducing the RC stages to improve latency.

Page 30: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Implemented H-Tree Parameter Check : Power Clock Tree Power dissipation is a function of latency and the output

transition.

Clock signal continuously running from start to end without any breaks or help (Analogy: Athlete’s race). Energy consumed is humongous.

Page 31: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

The bigger picture of the problem:

Page 32: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Clock Tree Modeling: Anything having a physical dimension has a finite resistance and

capacitance.

Clock end points are connected to flip flops which are load Capacitance(CL).

This whole wire model can be represented as a lumped RC model.

The clock port has a resistance Rd or the driver resistance.

Page 33: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

The simplified RC Model:

Page 34: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Dependence of Time Constant on Length:

Page 35: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Clock Tree Buffering: Initially the entire Load Capacitance of wire was on the flop, leading

to poor output transitions.

Page 36: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Quantifying the no. of buffers added

Page 37: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way
Page 38: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Buffer implementation despite few drawbacks:

Buffer adds to the area cost, imagine area consumed if few buffers are added on each of the million clock paths on a chip.

Load on the buffer is twice than the max capacity of decent operation. How about building a buffer tree at node A? (Analogy: Man pushing 4 blocks alone)

Page 39: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way
Page 40: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way
Page 41: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way
Page 42: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Critical conditions to be satisfied for a satisfactory clock tree built:

Page 43: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Validating the design conditions to be met:

Page 44: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Validating the Quality check parameters (Skew):

Page 45: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Quality Check parameter for H-Tree (PW)

Page 46: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Why Skew test passed and not the PW check?

The level of buffering and load driven by each buffer being the same, results in a successful minimal (~0) skew.

The output transition is better with the H- Tree as compared to previous results but the rise transition is greater than the fall transition at the output.

This results in Pulse Width increase (Time period) and decrease of frequency.

Further analysis of the buffer is required to get to our solution. The buffer used in the data path is not the same as the ones used in the clock path.

Choice of clock buffers is a tradeoff between the performance and symmetry.

Page 47: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way
Page 48: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Examining unequal rise and fall times in PW check:

Page 49: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way
Page 50: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

More resistive PMOS allows less current to pass:

Page 51: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Manipulating the size of the PMOS to achieve equal rise, fall times but leakage power(Clock Buffer):

Page 52: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Analyzing quality checks with clock buffers:

Page 53: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Power check as a function of latency:

Page 54: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Dynamic Power Issue: At every switch you consume a finite amount of power. Charging,

discharging of capacitance can be related to filling and emptying water buckets.

At any time instant all buffers are consuming power (this is small design).

Page 55: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Short Circuit Power:

At an intermediate value of input both PMOS and NMOS are on, leading to a common path to ground and short circuit current flows through it.

Page 56: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way

Leakage Power:

When Vgs > Vt, current flows from Source to Drain and Transistor is ON.

Even when Vgs < Vt, small current flows called leakage current (steady state).

Page 57: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way
Page 58: Introduction to Clock Tree Synthesis. Clock Jargon : Important Terms  Clock to an SOC (System on a Chip) is like blood to a human body. Just the way