Module 5: Clock Tree Synthesis · 5.4 Post-CTS Timing

Reading a Post-CTS Timing Report

Section 5.3 showed that TritonCTS achieved a worst-case skew of 0.111 ns and met its global target. However, global skew metrics do not guarantee timing closure on individual paths. We now run static timing analysis on the post-CTS UART design using propagated clock latencies.

Generating the Timing Report

Execute the OpenSTA command to evaluate setup and hold paths:

% report_checks -path_delay min_max -fields {slew cap input_pins}

The -path_delay min_max option instructs OpenSTA to check both setup constraints (maximum delay) and hold constraints (minimum delay).

Evaluating Setup Timing

The setup timing report displays substantial positive slack:

Startpoint: u_rx/shift_reg[7] (rising edge-triggered flip-flop clocked by clk)
Endpoint:   u_rx/rx_data_out_reg[7] (rising edge-triggered flip-flop clocked by clk)
Path Group: clk
Path Type:  max

  Delay    Time   Description
--------------------------------------------------------------
   0.000   0.000   clock clk (rise edge)
   0.298   0.298   clock network delay (propagated)
   0.000   0.298   u_rx/shift_reg[7]/CLK (sky130_fd_sc_hd__dfxtp_2)
   0.083   0.381   u_rx/shift_reg[7]/Q
   0.412   0.793   u_rx/rx_data_out_reg[7]/D (data arrival time)
--------------------------------------------------------------
  20.000  20.000   clock clk (rise edge)
   0.409  20.409   clock network delay (propagated)
   0.000  20.409   u_rx/rx_data_out_reg[7]/CLK
  -0.061  20.348   library setup time
                    data required time                20.348
--------------------------------------------------------------
   data required time                                 20.348
   data arrival time                                   0.793
--------------------------------------------------------------
   slack (MET)                                         19.555

The design operates at 50 MHz with a 20 ns clock period. Total data arrival time is only 0.793 ns, producing 19.555 ns of setup slack. Notice that the clock network delay lists actual propagated values rather than idealized zero delays.

Detecting the Hold Violation

The hold timing report reveals a negative slack on the receiver baud counter:

Startpoint: u_rx_baud/count_reg[0] (rising edge-triggered flip-flop clocked by clk)
Endpoint:   u_rx_baud/count_reg[1] (rising edge-triggered flip-flop clocked by clk)
Path Group: clk
Path Type:  min

  Delay    Time   Description
--------------------------------------------------------------
   0.000   0.000   clock clk (rise edge)
   0.298   0.298   clock network delay (propagated)
   0.000   0.298   u_rx_baud/count_reg[0]/CLK (sky130_fd_sc_hd__dfxtp_2)
   0.095   0.393   u_rx_baud/count_reg[0]/Q
   0.070   0.463   u_rx_baud/count_reg[1]/D (data arrival time)
--------------------------------------------------------------
   0.000   0.000   clock clk (rise edge)
   0.409   0.409   clock network delay (propagated)
   0.000   0.409   u_rx_baud/count_reg[1]/CLK
   0.060   0.469   library hold time
                    data required time                 0.469
--------------------------------------------------------------
   data required time                                  0.469
   data arrival time                                   0.463
--------------------------------------------------------------
   slack (VIOLATED)                                    -0.006

Registers count_reg[0] and count_reg[1] are adjacent bits in the baud counter. Launch clock delay is 0.298 ns, whereas capture clock delay is 0.409 ns. This 0.111 ns skew delay pushes data required time to 0.469 ns. The data arrives at 0.463 ns, creating a 6 ps hold violation.

Pre-CTS vs Post-CTS Comparison

Before CTS, ideal clock assumptions masked this short-path sensitivity. The table below compares the hold slack calculated under each clock model:

Stage Clock Model Hold Slack on Register Pair Status
Pre-CTS Ideal (zero latency) +0.105 ns MET
Post-CTS Propagated (0.298 ns / 0.409 ns) -0.006 ns VIOLATED

The physical logic gates did not change between stages. Only the clock network representation changed from ideal to physical. Meeting global CTS targets is insufficient to confirm timing integrity. Designers must always review post-CTS minimum delay reports before routing.

Practice Exercise

Use the clock network delays from the hold report to compute the clock skew between count_reg[0] and count_reg[1]. Compare this value with the worst-case skew reported by TritonCTS.

Solution

Subtract launch latency from capture latency:

$$\text{Skew} = 0.409\text{ ns} - 0.298\text{ ns} = 0.111\text{ ns} = 111\text{ ps}$$

This value matches the 0.111 ns worst-case skew reported by TritonCTS in Section 5.3. This register pair defines the maximum clock skew across the entire design.

You identified the failing hold path in the post-CTS timing report. The next article demonstrates how to insert delay buffers and repair this hold violation.

← Why Hold Violations Appear After CTS Fixing a Post-CTS Hold Violation →