Clock Tree Synthesis

Hi Readers,

This article will be a little technical. It’s about CTS.

It is one of the important steps in the Physical Design Flow. It’s the process of building a robust clock tree. i.e it’s the process of balancing the clock skew and minimising the insertion delay.

Clock nets in any chip are the most switching. They can be nasty and couple with neighbouring nets and cause failures in functionality. Hence, they need special care.

There are many articles that describe about the settings/optimisation scripts/sanity checks etc. You can read about them here →

However, in this article I would like to highlight some of the processes that happen inside the tool while executing the CTS node.

What happens @ CTS ?

  1. Clocks are propagated.
  2. NDR’s are applied.
  3. Honours exceptions like false path, multi-cycle path & don't touch attributes etc.
  4. Generated clocks are taken care.
  5. Clock Tree is built with the cell list that is provided.
  6. OCV derates impact timing from non-common clock path
  7. Clock gate enable timing is no longer ideal.
  8. Inter-clock timing depends on achievable insertion delays.
  9. Clock generator control logic timing is no longer ideal.

Anchor Buffer/Transport Buffer → It’s a strong buffer (capable of driving a long net). It is usually added at the beginning of the clock tree i.e near the clock pin.

Skew Anchor/Sink Point → It’s a clock endpoint that controls the downstream clock tree. for eg. a register that is a div2 clock generator has a clock pin as a skew anchor because the arrival time of the clock at that clock_pin affects the arrival times of all clocks after that.

Managing clock skew better often reduces hold failures in the design. Generally, for every 100K gates, 600–650 clock buffers are added. Building the clock tree with only inverters yields better DCD (Duty Cycle Distortion).

GLOBAL SKEW → Its the difference between the longest insertion delay and the shortest insertion delay.

(Skew = buffer delay + RC delay + delay due to process effects)

create_clock command →

  1. Every create_clock constraint becomes the starting point for insertion delay calculation in propagated mode.
  2. Every create_clock constraint triggers a new clock tree during CTS building.
  3. A create_clock constraint defined on the hierarchical pin is not supported during CTS.
  4. Clock logic is not to be synthesized during Synthesis stage.
  5. create_generated_clock enables insertion delay calculation from the master clock unlike the create_clock command.

What does Meeting Skew Targets mean?

Its making the skew almost equal from clock source point to all the flop end points.

Clock Tree Optimisation →

  1. Upsize/Downsize buffers/inverters/comb cells/ seq cells.
  2. Limiting the number of buffers and inverters used.
  3. Level Adjustment.
  4. Delay Insertion.
  5. Dummy Load Insertion.

CTS INTERNAL FLOW →

  1. Initialisation. (Library trimming, identify place-able area, validate transition and skew targets)
  2. Construction. (Clustering, Legalisation DRV Repair)
  3. Implementation. (Optimise Insertion Delay, power and skew balancing)
  4. EGR Post Conditioning. (early global route, area reclaim, DRV repair)
  5. Clock Routing. (detail routing along global route guides)
  6. NR Post Conditioning. (DRV and skew repair)
  7. Post CTS Optimisation. (scan re-ordering, data-path optimisation and use of useful skew)

Edit —

CTS Problems —

  1. Clock Skew.
  2. Long Insertion Delay.
  3. Skew across clocks.
  4. Heavy clock net loading.
  5. Crosstalk and EM.

CTS Analysis —

  1. Report Timing.
  2. Report ID, skew, targets.
  3. DRV Report.
  4. CTS Exceptions.
  5. Clock QoR.
  6. Report DRV, Power and Area.

Things to be noted —

  1. Check “don’t use” and “don’t touch” attributes.
  2. Check “don’t buffer” net.
  3. Check “don’t size” and “size only” cells.
  4. Check for “clock exceptions”

Disclaimer → These ideas have been gathered from various resources from the web. I do not own them nor am I responsible for the correctness.

-Sethupathi Balakrishnan

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sethupathi Balakrishnan

Sethupathi Balakrishnan

Design, Technology and Everything in Between!