CTS Across Gated Clock Domains
Gated clock networks require specialized synthesis handling. Registers downstream of an ICG cell form a localized clock domain. Clock tree synthesis tools must analyze latency, insertion delay, and enable timing across these gated domain boundaries.
Enable Signal Timing Constraints
The GATE pin of an ICG cell has strict setup and hold requirements relative to the incoming clock. The internal transparent latch must sample the enable signal cleanly before the active clock edge. An invalid enable signal transition creates output clock glitches. The timing engine checks enable setup slack using the following relationship:
$$\text{Enable setup slack} = T_{clk} - (t_{comb,\text{en path}} + t_{setup,\text{ICG latch}} + \text{skew}_{\text{en to ICG}})$$
This check evaluates the path from the control register to the ICG GATE pin. If control logic arrives too late, or if clock skew delays arrival, the ICG captures an incorrect enable state. Gated clock architectures create this new timing check for every inserted ICG cell.
Skew Balancing Across Domain Boundaries
Logic signals often cross between ungated registers and gated registers. The clock latency of a gated register includes the standard clock tree delay, the internal propagation delay of the ICG cell, and the downstream leaf routing delay:
$$L_{\text{gated register}} = L_{\text{tree to ICG}} + t_{\text{ICG}} + L_{\text{ICG to register}}$$
TritonCTS must account for the propagation delay $t_{\text{ICG}}$ of the gating cell during clock balancing. If the synthesis algorithm ignores ICG delay, the tool balances only upstream tree nets. Paths crossing between gated and ungated domains will then suffer from uncompensated clock skew.
Implications for Physical Design
Clock gating reduces dynamic power, but it adds physical timing constraints. Standard cell clustering algorithms must keep the ICG cell physically close to its sink registers. Designers must analyze paths that cross the boundary between gated and ungated domains. Both setup and hold timing constraints require precise clock tree balancing through the ICG cell.
Practice Exercise
A control FSM generates an enable signal that connects to an ICG GATE pin. List the two timing checks required for this interface that do not exist in an ungated design.
Solution
- Enable Path Setup Check: Verifies that the enable signal arrives at the ICG latch before the clock edge.
- Boundary Skew and Hold Check: Verifies clock balancing between registers inside the gated sub-tree and ungated registers, accounting for ICG cell propagation delay.
You understand the timing and skew constraints of gated clock domains. The final article runs clock tree synthesis on a gated UART design and reviews the resulting clock tree structure.