How TritonCTS Builds a Tree
TritonCTS is the clock tree synthesis engine inside OpenROAD. OpenLane invokes TritonCTS during the CTS physical design stage.
Modules 2 through 4 evaluated physical design using alu8.
From Module 5 through Module 7, the reference design switches to uart_top.
The uart_top module features a transmit baud generator, a 16x oversampled receiver baud generator, and independent state machines.
Its distributed sequential registers provide realistic clock distribution challenges.
The Clustering and Buffering Algorithm
TritonCTS constructs the clock distribution network bottom-up in two discrete phases:
Phase 1: Sink Clustering. The tool identifies all clock sink terminals (flip-flop clock pins) from the placed layout. It clusters physically adjacent sinks into localized groups. Grouping nearby sinks keeps local interconnect wiring short and limits capacitive load.
Phase 2: Bottom-Up Tree Construction. TritonCTS assigns a clock buffer to drive each sink cluster. It then groups these leaf buffers into secondary clusters and inserts parent buffers to drive them. The tool repeats this hierarchical grouping until all branches converge at a single root clock buffer.
Figure 1 illustrates this two-phase hierarchy on the uart_top design.
TritonCTS groups sinks based on physical coordinates rather than RTL hierarchy.
However, modular RTL structures typically place into compact spatial clusters, resulting in balanced tree branches.
CTS Configuration Parameters
OpenLane exposes TritonCTS controls through config.json:
{
"CTS_TARGET_SKEW": 150,
"CTS_TOLERANCE": 100,
"CTS_SINK_CLUSTERING_SIZE": 25,
"CTS_SINK_CLUSTERING_MAX_DIAMETER": 50,
"CTS_ROOT_BUFFER": "sky130_fd_sc_hd__clkbuf_16",
"CTS_CLK_BUFFER_LIST": [
"sky130_fd_sc_hd__clkbuf_2",
"sky130_fd_sc_hd__clkbuf_4",
"sky130_fd_sc_hd__clkbuf_8"
]
}
These parameters define synthesis targets:
CTS_TARGET_SKEW: The maximum target skew in picoseconds. TritonCTS optimizes the tree to meet this value.CTS_TOLERANCE: The acceptable skew margin above target before TritonCTS executes additional optimization iterations.CTS_SINK_CLUSTERING_SIZEandCTS_SINK_CLUSTERING_MAX_DIAMETER: Parameters controlling maximum sink count and physical diameter ($50\ \mu\text{m}$) per cluster.CTS_ROOT_BUFFERandCTS_CLK_BUFFER_LIST: Standard cell library buffer instances selected for root and intermediate branch driving.
Practice Exercise
An engineer sets CTS_SINK_CLUSTERING_MAX_DIAMETER to an extremely small value of $2\ \mu\text{m}$ on a large floorplan.
Describe the resulting clock tree structure.
Solution
TritonCTS creates an excessive number of very small sink clusters. Few registers fall within a $2\ \mu\text{m}$ diameter, forcing almost every flip-flop into an isolated cluster. This results in excessive leaf buffers, deeper tree levels, increased insertion delay, and higher dynamic power consumption. Set cluster diameter to match the spatial density of sequential cells across the core.
The next article explores useful skew, which intentionally introduces controlled clock delays to resolve critical timing paths.