Professional Documents
Culture Documents
Introduction To Low Power Concepts
Introduction To Low Power Concepts
Introduction To Low Power Concepts
Author
Manash Ranjan Raiguru
Trademarks: Trademarks and service marks of Cadence Design Systems, Inc. (Cadence)
contained in this document are attributed to Cadence with the appropriate symbol. For queries
emarks, contact the corporate legal department.
Open SystemC, Open SystemC Initiative, OSCI, SystemC, and SystemC Initiative are
trademarks or registered trademarks of Open SystemC Initiative, Inc. in the United States and
other countries and are used with permission.
Restricted Print Permission: This publication is protected by copyright and any unauthorized use
of this publication may violate copyright, trademark, and other laws. Except as specified in this
permission statement, this publication may not be copied, reproduced, modified, published,
uploaded, posted, transmitted, or distributed in any way, without prior written permission from
Cadence. This statement grants you permission to print one (1) hard copy of this publication
subject to the following conditions:
1. The publication may be used solely for personal, informational, and noncommercial purposes;
2. The publication may not be modified in any way; 3. Any copy of the publication or portion
thereof must include all original copyright, trademark, and other proprietary notices and this
permission statement; and 4. Cadence reserves the right to revoke this authorization at any time,
and any such use shall be discontinued immediately upon written notice from Cadence.
Disclaimer: Information in this publication is subject to change without notice and does not
represent a commitment on the part of Cadence. The information contained herein is the
proprietary and confidential information of Cadence or its licensors, and is supplied subject to,
Cadence and its customer. Except as may be explicitly set forth in such agreement, Cadence does
not make, and expressly disclaims, any representations or warranties as to the completeness,
accuracy or usefulness of the information contained in this document. Cadence does not warrant
that use of such information will not infringe any third-party rights, nor does Cadence assume
any liability for damages or costs of any kind that may result from use of such information.
2. 4
3. Introduction to CMOS 5
7. Useful links 24
8. 25
This document is aimed at verification engineers who are new to Low Power flow and running
Low Power simulations for the first time using any power format either CPF or 1801/UPF and
also for beginners to understand Low Power methodologies better.
Dynamic power can be termed as sum of switching power and short circuit power. And Static
power is due to leakage in the circuit. So, discuss more on what are these dynamic and
leakage powers are in detail.
Total power is a function of switching activity, capacitance, voltage, and the transistor structure
itself.
Pswitching = a.f.Ceff.Vdd2
Where a = switching activity, f = switching frequency, C eff = the effective capacitance and Vdd =
the supply voltage.
Pshort-circuit = Isc.Vdd.f
Where Isc = the short-circuit current during switching, Vdd = the supply voltage and f = switching
frequency.
Dynamic power can be lowered by reducing switching activity and clock frequency, which
affects performance; and, by reducing capacitance and supply voltage. Dynamic power can also
be reduced by cell selection-faster slew cells consume less dynamic power.
Switching activity: The switching activity factor is the probability that an output switches
during a clock cycle. The output of a two-input AND gate switches for 6 of 16 possible
input transitions. For a microprocessor, signals inside instruction RAMs may switch
every 2 cycles, while those inside data RAMs may switch only once in 4 cycles.
Switching probabilities tend to increase as the need for bandwidth increases and
-sharing techniques to save on area.
Capacitance: Technology scaling produces smaller transistors and hence less transistor
capacitance, but also packs more transistors on a chip. Interconnect capacitance does not
scale with the process. More transistors mean more interconnect capacitance.
Interconnect capacitance has become the dominant capacitance component.
Supply voltage: Dynamic power increases quadratically with supply voltage.
Switching frequency: Dynamic power increases linearly with switching frequency.
Leakage power is a function of the supply voltage Vdd, the switching threshold voltage Vth, and
the transistor size.
Several currents qualify as leakage currents. Process size affects their relative magnitude.
Junction leakage occurs from the source or drain to the substrate when the transistor is
off. This leakage increases with doping density and especially with temperature. At
commercial temperatures it is much smaller than the other leakage currents.
Gate-induced drain leakage occurs from the drain to substrate. This leakage increases
with drain to body and drain to gate voltage, and as gate oxide becomes thinner.
Gate direct tunneling leakage occurs through gate oxide insulator due to quantum-
mechanical tunneling when the transistor is on. This leakage increases exponentially as
supply voltage increases and as gate oxide becomes thinner. Using silicon dioxide
insulator, at 65 nm and below technologies, gate leakage exceeds sub-threshold leakage.
Subthreshold leakage occurs from drain to source when the transistor is off. This leakage
increases linearly with W/L and rapidly in a complex but basically exponential way with
decreasing threshold voltage, mainly due to decreasing process size. Between 130 nm and
65 nm technologies, subthreshold leakage is the largest contributor to leakage power.
While dynamic power is dissipated only when switching, leakage power due to leakage current is
continuous.
As voltages scale downward with technology, threshold voltages must also decrease to gain the
performance advantages of the new technology.
Reduction in threshold voltage causes an exponential increase in subthreshold leakage
Major contributor to leakage between 130 nm and 65 nm technologies
Thinner gate oxide causes an increase in gate direct-tunneling leakage
Exceeds subthreshold leakage at 65 nm and below technologies
Drives search for better dielectrics
Now that we know what the types of power dissipation are, so let us see what are different power
reduction techniques and what is the need of the same.
Where:
a. Pdynamic - power related to active/switching behavior
b. Pleakage power related to electrons leaking into substrate
For ex.
Reduce power in the chip by scaling down the voltage and frequency under acceptable
conditions
Requirements for DVFS include:
1. A variable power supply capable of generating the required voltage levels with minimal
transition energy losses and a quick voltage transient response
2. A power scheduler that can intelligently compute the appropriate voltage and frequency
levels needed to execute the various applications (tasks or jobs)
3. Hardware to scale frequency in proportion to voltage to accommodate additional
propagation delay
Challenges:
Complicated to implement due to several component considerations such as appropriate
V/f values
Expensive to implement
Clock scheduling issues due to dynamic latency changes
This technique comes with the dependency on using special types library cells broadly classified
as,
HVT (High Threshold voltage cell or High Vt)
MVT (Medium Threshold voltage cell or medium Vt)
LVT (Low Threshold voltage cell or Low Vt)
Power shutoff is the most effective and efficient way to prevent leakage:
Benefits include relative independence from Vt considerations
Opportunities for challenging solutions include:
Additional power control circuitry
Additional power and control routing
Additional cell library models for state retention/restoration
Increase in area, clock and signal delay, active power consumption
Changes in logical and physical verification
Few of the common terminology that we will see in later part are as follows,
Logic blocks (hierarchical instances), leaf instances, and pins that use the same main power
supply and that can be simultaneously switched on or off are said to belong to the same power
domain. The example design in above Figure has three power domains:
When a power domain is powered down, the states of certain sequential elements in the power
domain (latches, flip-flops) must be saved and retained for the entire shutoff period. When the
power domain is powered back up, the saved states must be written back into the elements. To
ensure that a powered-down block resumes normal operation after power up, these sequential
elements can be replaced by special state retention cells.
Depending on how the retained value is stored and retrieved/restored , there are at least two
flavors of retention registers, as follows:
Dual-Pin Retention:
Dual-Pin Retention is the one which has two separate control signals for save and restore
operation. Save/Restore operation can be level-sensitive or edge-sensitive.
Single-Pin Retention:
Single-Pin Retention is the one which has single control signal for both save and restore
operation. Save/Restore operation can be level-sensitive or edge-sensitive.
Save operation and Restore operation will be on opposite level/edge of control signal. i.e If save
is performed on level high than restore will be performed on level low of control signal.
Zero-Pin Retention:
Zero-Pin Retention is the one which does not have any control signal.
Save operation will be performed when the power domain in which cell is sitting goes from
NORMAL to CORRUPT state. Restore operation will be performed when the power domain in
which cell is sitting goes from CORRUPT to NORMAL state.
State retention registers require two types of power supplies: a switchable power supply and an
always-on power supply. This introduces some complications and penalties in power routing
area requirements. The physical designer, or implementation tool, must allocate extra area to
accommodate this additional power routing.
The advantages of SRPG include shutdown leakage savings, which can be independent of
process variations. It allows for faster system power-on because the state is preserved in the slave
latch.
Disadvantages include increased area and die size; timing penalties such as increased signal and
clocking delays; increased routing resources (power routing for Vcc and a power-gating signal
tree with on buffers); specialized library models for SRPG cells; additional power overhead in
the active mode; and impacts to functional verification, physical integration, and DFT etc.
A power domain is usually connected to other power domains. When a domain is powered
down, isolation logic must be added between domains to prevent the propagation of unknown
states from a power domain that is powered down to a power domain that remains on.
In other words, two power domains interact with each other and if one contains logic that is the
driver of a net and the other contains logic that is a receiver of the same net. When both power
unambiguous 1 or 0 value, except for a very short time when the value is in transition. The
structure of CMOS logic typically ensures that minimal current flow will occur when the input
value to a gate is a 1 or 0.
However, if the driving logic is powered down, the input to the receiving logic may float
between 1 or 0. This can cause significant current to flow through the receiving logic, which can
damage the circuit. An undriven input can also cause functional problems if it floats to an
unintended logic value.
To avoid this problem, isolation cells are inserted at the boundary of a power domain to ensure
that receiving logic always sees an unambiguous 1 or 0 value. Isolation may be inserted for an
input or for an output of the power domain.
An isolation cell operates in two modes: normal mode, in which it acts like a buffer, and
isolation mode, in which it clamps its output to a defined value. An isolation enable signal
determines the operational mode of an isolation cell at any given time.
Depending upon the need of user, there are mainly three types of isolation cells.
Isolation cells are placed as close to the power shut-off domain as possible, but usually reside in
the always-on domain.
Common problems that may occur while inserting isolation cells include placing the isolation
cells in the wrong power domain or hooking up the isolation power supply to the switchable
power supply instead of the always-on power supply. These are catastrophic issues!
Multi-supply voltage techniques require level shifters on signals that go from one voltage level to
another. Without level shifters, signals that cross-voltage levels will not be sampled correctly.
Two interacting power domains may also be operating with different voltage ranges. In this case,
a logic 1 value might be represented in the driving domain using a voltage that would not be an
unambiguous 1 in the receiving domain. i.e receiving domain might treat it as 0 due to high
operating voltage.
Level-Shifters are inserted at a domain boundary to translate from a lower to a higher voltage
range, and sometimes from a higher to a lower voltage range as well. The translation ensures the
logic value sent by the driving logic in one domain is correctly received by the receiving logic in
the other domain.
Every signal that crosses an MSV power domain should have a level shifter attached to it.
Although level shifting from a higher-voltage power domain to a lower one is usually optional,
level shifting from a lower-voltage power domain to a higher one is mandatory.
Level shifters are placed close to the power domain boundaries. However, level shifters have two
power rails:
Primary power rail: usually set at the top and bottom edge of the level shifter
Secondary power rail: usually set at the center horizontal line of the level shifter
The power domain where the level shifter resides depends on which voltage the primary power
rail matches. For example, if the primary power rail of the level shifter is a 0.8V rail, that level
shifter should be placed in the 0.8V power domain. Therefore, some knowledge about the library
is needed to decide in which power domain to place the level shifter.
Using low-power level-shifting cells can have a significant impact on timing and physical
design.
1. HL: High to Low type of LS cell is required when source domain is operating at high
voltage and sink domain is working at low voltage in any specific state of PST (Power-
State Table).
2. LH: Low to High type of LS cell is required when source domain is operating at low
voltage and sink domain is working at high voltage in any specific state of PST(Power-
State Table).
Enable-Level Shifter cells often termed as ELS cells, are cells which has the functionality of both
Isolation and Level-shifter cells. In general, this will serve the purpose of both isolation and
level-shifting in Power-Aware designs.
This will have the advantage that it will occupy less area compared to separate isolation and
level-shifter cell.
Insertion of power switch cells is a necessity for on-chip power shut-off. Power switch cells can
be inserted in a column or a ring fashion.
physical characteristics. Generally, the larger the PSO power domain area, and the more logic
and macros in the PSO power domain area, the more power switches are needed.
The goal is to have the true optimal number of power switches to satisfy IR drop and current
density requirements. Too many power switches lead to wasted area, but too few power switches
create excessive IR drop and risks having too much current (rush current) going through each
power switch during wakeup.
It may be desirable to introduce a delay, because turning on the PSO power domain causes a
large current to be drawn by the domain, causing a current spike or rush current. Introducing a
delay between the times when each power switch turns on will spread out the turn-on time of the
PSO domain, thereby reducing the current spike. Another method for reducing the current spike
is to turn on the power within the domain in stages over time.
It is also desirable to design the power switches in groups of cells and turn them on and off one
group at a time. This way, the last group of power switches at the end of the shut-off sequence,
or the first group of power switches at the beginning of the power-on sequence, will handle the
large current instead of a single power switch.
Power-aware verification methodology can help verify power optimization without impacting
design intent, minimizing late-cycle errors and debugging cycles. After all, simulating without
power intent is like simulation with some RTL code black boxed.
The methodology brings together power-aware elaboration with formal analysis and simulation.
With power-aware elaboration, all the blocks as well as the power management features in the
design are in place, so we can verify our design with power intent. Power intent introduces
power/ground nets, voltage levels, power switches, isolation cells, and state retention registers.
Any verification technology simulation, emulation, prototyping, or formal can be applied on
a power-aware elaboration of the design.
Detailed description of each power format type is out of scope of this document. To know more
browse through https://support.cadence.com
Low power static verification checks help to verify correct implementation of low power design
techniques using formal techniques (versus simulation) early in the design process. These static
checks on RTL helps in finding the completeness of CPF or UPF upfront ensuring that CPF or
UPF contains all the isolation and level shifter rules for power and voltage domain crossings.
This would ensure that no low power cell is missed between two voltage or power domains.
Static verification adds value by identifying bugs which are otherwise very difficult and time
consuming to find in RTL simulations.
Conformal Low Power, Genus and Xcelium: Low Power Verification for Beginners
in 1801 (RAK)
https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1Od000000051qtEAA
Now that you know Low Power Verification and have tamed it, Go and explore the world of
Low Power verification. not a mystery anymore. Is not it?
Support
Cadence Support Portal provides access to support resources, including an extensive knowledge
base, access to software updates for Cadence products, and the ability to interact with Cadence
Customer Support. Visit https://support.cadence.com.
Feedback
Email comments, questions, and suggestions to content_feedback@cadence.com.