Module 5: Clock Tree Synthesis · 5.5 Clock Gating & CTS

Integrated Clock Gating Cells

RTL design guidelines prohibit combinational AND gates on clock nets because combinational glitching corrupts state registers. Designers use Integrated Clock Gating (ICG) cells instead. An ICG cell contains a negative-level transparent latch and an AND gate. This article examines the physical implementation of ICG cells and their placement within clock networks.

The Physical ICG Standard Cell

The SkyWater 130nm standard cell library (sky130_fd_sc_hd) provides the sky130_fd_sc_hd__dlclkp_1 cell. This cell integrates a D-latch and a clock gate into a single qualified layout. It features three primary ports: CLK (clock input), GATE (enable input), and GCLK (gated clock output).

Inside the SKY130 ICG cell, and why the latch matters
Figure 1: Left, the latch and AND inside dlclkp_1. Right, GATE changing while CLK is high; the latch only passes it while CLK is low, so GCLK carries whole pulses and never a sliver.

Commercial synthesis engines infer ICG cells automatically from register clock enables. Open-source flows using Yosys often require manual instantiation of library primitives in Verilog source code. Regardless of the insertion flow, the physical cell placed on the silicon substrate remains identical.

Clock Network Classification

Physical design tools do not treat ICG cells as ordinary combinational data path gates. An ICG cell is a clock distribution network component. Floorplanning, placement, and clock tree synthesis tools must recognize its clock pin connections.

The GCLK pin of the ICG cell drives the clock inputs of all registers in the gated domain. TritonCTS computes latency and skew for downstream sinks starting from the GCLK pin. If CTS tools treated the ICG as combinational logic, timing engines would report incorrect clock latencies across gated domains.

Low-Power Operation in the UART

The baseline uart_top design runs baud rate generators continuously. Designers can add an ICG cell to gate the receiver baud counter when the UART is idle. The gated registers stop switching, eliminating dynamic switching power in the idle state. Clock gating is an effective technique to minimize dynamic power dissipation in idle subsystems.

Practice Exercise

List the three representations of clock gating from RTL design to physical implementation.

Solution
  1. RTL Intent: Clock enable logic written to avoid bare combinational AND gating.
  2. Logical Structure: Latch-and-AND gate topology that eliminates transient clock glitches.
  3. Physical Standard Cell: The sky130_fd_sc_hd__dlclkp_1 cell recognized by CTS as a local clock driver.

You understand the physical structure and classification of ICG cells. The next article analyzes how CTS balances clock skew across gated and ungated clock domains.

← Fixing a Post-CTS Hold Violation CTS Across Gated Clock Domains →