Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Clock gating

From Wikipedia, the free encyclopedia
Power management technique for synchronous digital circuits
For other uses, seeClock incident (disambiguation).
icon
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Clock gating" – news ·newspapers ·books ·scholar ·JSTOR
(May 2025) (Learn how and when to remove this message)

Incomputer architecture,clock gating is a popularpower management technique used in manysynchronous circuits for reducing dynamicpower dissipation (a significant source of power dissipation in digital designs), by removing theclock signal when the circuit, or a subpart of it, is idle. Clock gatingsaves power by pruning part of theclock tree distribution, at the cost of adding more logic to a circuit.

Pruning the clock turns off portions of the circuitry so that theflip-flops in them do not switch state, as switching the state consumes power. When not switched, theswitching power consumption is reduced. This technique is particularly effective in systems with significant idle time or predictable periods of inactivity within specific modules.[1]

Essential details

[edit]

Digital circuits consume power through multiple mechanisms, typically categorised into dynamic and static components. The equation can describe the average power dissipation in a CMOS circuit:

Pavg=Pdynamic+Pshort+Pleakage+Pstatic{\displaystyle P_{\text{avg}}=P_{\text{dynamic}}+P_{\text{short}}+P_{\text{leakage}}+P_{\text{static}}}
  • Pdynamic results from charging and discharging capacitive loads during logic transitions. It is proportional to the switching activity, capacitance, supply voltage squared, and clock frequency.
  • Pshort arises during signal transitions, when both PMOS and NMOS transistors momentarily conduct simultaneously, creating a brief short-circuit current path between power and ground.
  • Pleakage is due to subthreshold and gate leakage currents, which occur even when transistors are off. This component becomes increasingly relevant in deep submicron technologies.
  • Pstatic includes the power consumed by always-on blocks, such as biasing circuits or reference generators, and is present even in standby conditions.

These components collectively define the total power profile of a digital system, and their optimisation is crucial for low-power design.[1]

These components become increasingly critical in modern integrated circuits, especially with technology scaling, where leakage and short-circuit power can constitute a significant portion of the total power budget.[1]

Clock gating is one of several techniques used to reduce the power consumption of digital circuits. It specifically targets the dynamic power component, Pdynamic, by lowering unnecessary switching activity in clock signals. The following equation can approximate the dynamic power:

Pdynamic=αCLVdd2f{\displaystyle P_{\text{dynamic}}=\alpha \cdot C_{L}\cdot V_{dd}^{2}\cdot f}

Where:

  • α is the switching activity factor,
  • CL is the load capacitance,
  • Vdd is the supply voltage,
  • f is the clock frequency.

By turning off the clock signal to portions of the circuit when not in use, clock gating reducesα, thus decreasing overall dynamic power consumption. This differs from thepower-gating technique, which cuts the power supply entirely and simultaneously reduces multiple sources of power dissipation.

Clock-gating techniques

[edit]

Clock-gating techniques typically operate by targeting specific clock regions. To apply these techniques, it is often necessary to modify the registers/(flip-flops) in the circuit so that they can be controlled and disconnected from the clock distribution network, effectively isolating blocks ofcombinational logic.

Illustration of the enabled flip-flops technique used to isolate an internal logic block. The clock is selectively enabled, allowing controlled activation of the logic while reducing unnecessary switching activity.

External circuits can control clock and activation signals through a technique known as Enabled Flip-Flops, or they can be generated internally using traditional clock-gating methods.

Timing diagram illustrating the gated clock (Gclock) behaviour in a clock gating circuit. When the control signal (CNTRL) is high, the clock is disabled and GCLK is held at a constant logic level (typically logic 0).

When the control signal (CNTRL) is set to 1, the clock-gating circuit turns off the clock by holding it at a fixed logic level, either 0 or 1. One typical implementation uses a CMOS pass-transistor controlled by the inverted control signal.

Clock-gating logic can be added to a design in a variety of ways:

  1. It can be coded into theregister-transfer level (RTL) code as enable conditions that can be automatically translated into clock-gating logic by synthesis tools (fine-grained clock gating).
  2. It can be inserted into the design manually by the RTL designers (typically as module-level clock gating) by instantiating library-specific integrated clock gating (ICG) cells to gate the clocks of specific modules or registers.
  3. It can be semi-automatically inserted into the RTL by automated clock-gating tools. These tools either insert ICG cells into the RTL or add enable conditions into the RTL code. These typically also offer sequential clock-gating optimisations.

Glitch-free clock gating

[edit]

A common implementation of clock gating uses a level-sensitive latch (or flip-flop) to prevent glitches on the gated clock. The enable signal is captured only when the clock is in its inactive phase, ensuring that the gating control remains stable during the active clock transition. This avoids short unwanted pulses (glitches) that can cause incorrect switching in sequential elements. Many integrated clock-gating (ICG) cells include this latch internally to provide a glitch-free gated clock.[citation needed]

In general, clock gating applied at a coarser granularity leads to reduced resource overhead and greater power savings.[2]

Any RTL modifications to improve clock gating will result in functional changes to the design (since the registers will now hold different values), which need to be verified.

Other considerations

[edit]

Sequential clock gating is the process of propagating enable conditions through upstream and downstream sequential elements, allowing additional registers to be clock-gated.[3] This technique extends clock gating beyond individual flip-flops to optimise power savings across larger circuit portions.

Chips designed for battery-powered or ultra-low-power applications—such as mobile phones, wearable devices, andembedded systems—typically simultaneously implement multiple clock gating strategies. Manual clock gating involves software drivers that enable or disable clocks to various idle controllers. In contrast, automatic clock gating uses hardware mechanisms to detect when a clock is unnecessary and dynamically turns it off. These approaches often operate together within the same enable tree. For example, an internal bus or bridge may employ automatic gating, keeping the clock disabled until accessed by theCPU or aDMA engine. In contrast, peripherals on that bus might be permanently gated off if unused in a particular board design.

Clock gating may also be used to reduce area. If many registers have the same enable, clock gating them at a higher point in the clock tree may cost only one integrated clock gate worth of area, but would save a 2:1 multiplexer (the "feedback mux" normally used to implement the enable) worth of area per register that has that enable.

See also

[edit]

References

[edit]
  1. ^abBenini, Luca; DeMicheli, Giovanni (2012).Dynamic Power Management: Design Techniques and CAD Tools.Springer.ISBN 9781461554554.
  2. ^Ratto, Francesco; Fanni, Tiziana; Raffo, Luigi; Sau, Carlo (2021-01-05)."Mutual Impact between Clock Gating and High Level Synthesis in Reconfigurable Hardware Accelerators".Electronics.73: 73.doi:10.3390/electronics10010073.hdl:11584/345408.
  3. ^Weste, Neil H. E.; Harris, David (1992).CMOS VLSI Design: A Circuits and Systems Perspective (2nd ed.). Addison-Wesley.ISBN 978-0-201-53376-7.
Standards
Techniques
Implementations
Power Saving
Performance
Graphics
Models
Architecture
Instruction set
architectures
Types
Instruction
sets
Execution
Instruction pipelining
Hazards
Out-of-order
Speculative
Parallelism
Level
Multithreading
Flynn's taxonomy
Processor
performance
Types
By application
Systems
on chip
Hardware
accelerators
Word size
Core count
Components
Functional
units
Logic
Registers
Control unit
Datapath
Circuitry
Power
management
Related
Retrieved from "https://en.wikipedia.org/w/index.php?title=Clock_gating&oldid=1336870583"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp