Expanding The Synopsys Primetime Solution With Power Analysis
Expanding The Synopsys Primetime Solution With Power Analysis
Expanding The Synopsys Primetime Solution With Power Analysis
Introduction
Design closure in todays advanced designs requires a delicate balance of many complex issues. Timing remains critical, but power has become important toward achieving design success. Today, power management
is a mainstream design challenge and a key concern for chip designers. Power consumption is a critical
design delimiter. It affects packaging decisions, cooling requirements, battery life, design performance, and
chip reliability. More than ever, accurate power analysis is required for designs. Designers today must consider the impact of their design techniques on power in conjunction with timing and area. A failure to analyze
power can lead to chip failure.
Power, timing, and signal integrity (SI) effects are all interdependent at 90-nanometers (nm) and below. To
achieve the highest accuracy power analysis, an accurate timing engine is required to perform accurate timing and slew calculations. Since timing parameters affect power dissipation, designers require a solution that
takes advantage of these interdependencies. In this white paper, we propose a methodology that combines
static timing analysis, signal integrity analysis, and power analysis within a single, unified environment.
Static Power
Static power is dissipated in several ways. Some are due to the reverse-biased diode leakage from the
diffusion layers and the substrate, but the largest percentage of static power results from source-to-drain
sub-threshold leakage current. This is caused by reduced threshold voltages which prevent the gate from
completely turning off and hence allow this leakage current (Ileak).
The leakage power is dependent on the voltage, temperature and state of the transistors.
Leakage Power = V * Ileak
Dynamic Power
Dynamic power is dissipated any time the voltage on a net changes due to some stimulus. This voltage
change charges or discharges the capacitive load of the external net. Also, the voltage change results in a
short-circuit current between the N and P transistors internal to the gate. For ASIC designs, the dynamic
power consumed by the charging or discharging of the output load external to the cell is classified as
switching power, while the dynamic power dissipated within the cell is generally classified as the internal
power.
Switching Power
The switching power is determined by the capacitive load and the frequency of the logic transitions on a cell
output.
Switching Power = * Cload * V2 * f
where the total load capacitance (Cload) is the sum of the net and gate capacitances on the driving output,
and the frequency (f) is the rate of state transitions.
Internal Power
The internal power is caused by the charging of internal loads as well as by the short-circuit current between
the N and P transistors of a gate when both are on.
Internal Power = ( * Cint * V2 *f) + (V * Isc)
As the input signals transition, both N and P type transistors can be on simultaneously. During this time,
current Isc flows from Vdd to Gnd causing the dissipation of short-circuit power. The short-circuit power is affected by the dimensions of the transistors, the load capacitance on the output, and the transition time of the
input signals. Circuits with slow transition times can dissipate excessive short circuit power as both N and P
transistors are on for an extended period.
ASIC or Library vendors provide power models for the internal power consumption of CMOS cells, which are
characterized with different driver output loads and input signal transition times.
The diagram below describes the power components for a simple buffer cell.
Vdd
Vd d
In b
In
I sc
Ou t
I sc
I i n tsw
N
I sc
I l ea k
I sw
N
C i nt
I l ea k
C l oad
G nd
G nd
I sw Switching current
The leakage current Ileak can vary based on the transistor states. For example, when the input signal In is
high, and the N transistor is on, the leakage will differ compared to when the N transistor is off. When a
rising signal is applied at the input, internal power is dissipated due to Isc and Iintsw. During the transition from
low to high, the N transistor turns on and the P type transistor turns off resulting in Isc from Vdd to Gnd.
Additionally, internal switching power is incurred in charging and discharging of Cint. The switching power on
the Out net is due to Isw charging and discharging Cload.
Netlist
Data
Signal
Activity
Power
Models
Net
Parasitics
Power Analysis
U1
D1
Out
C1
DX
DX
DX
DX
The internal power consumption of U1 is determined by the transition time on In1 and the capacitive load
on the output Net1, which is the sum of the input pin capacitances of the gates it drives (gate fanout) and
the net capacitance, C1. Now if the net capacitance C1 is large, the switching power of Net1 certainly will
increase, but additionally, the transition time on Net1 will be affected.
A large transition time on a net with a large number of fanout loads results in excessive internal power
consumption for all of the gates to which it is connected. This is because the internal power consumption of
the fanout gates, the registers D1-DX in this example, is considerable because the long transition time on
the net is allowing for a longer period of time in which short circuit power is being dissipated.
In summary, the accuracy of the power analysis is dependent upon the accuracy of the inputs provided. The
netlist, cell library power model, signal activity, and parasitics/transition times need to be accurate to provide
accurate power consumption analysis.
VCD Flow
Power
Models
Netlist
& Parasitics
PrimeTime PX
Peak Power
Report and
Waveforms
Vector-free Flow
SAIF Flow
Signal
Activity
(VCD)
Power
Models
Netlist
& Parasitics
PrimeTime PX
Average Power
Report and
Waveforms
Signal
Activity
(SAIF)
Power
Models
Netlist
& Parasitics
PrimeTime PX
Average Power
Report and
Waveforms
The VCD-based analysis is extremely accurate since all the factors contributing to power consumption are
supported in an accurate form. Peak and average power can be calculated, and detailed, time-based
waveforms can be generated.
If event-based simulation activity is not available, accurate average power can still be calculated by providing
gate-level toggle rates, typically with a SAIF file. In the SAIF file, the activity information includes the number
of times the signals toggled per net, as well as the percentage of time that the signals were at a given state.
This toggle rate information enables both dynamic and leakage power to be accurately determined.
If gate-level logic simulation data is unavailable, the PrimeTime PX solution also supports RTL VCD
(generated from a RTL logic simulation), RTL SAIF (also generated from a RTL simulation), user-defined
switching, and default analysis. In this case, the activity of unannotated nodes is obtained via an internal
zero-delay simulation to compute the toggling of the outputs. With the switching activity for every node in
the design now determined, power consumption can be calculated.
Other Benefits of Integrating Timing, SI, and Power Analysis
By combining timing, signal integrity and power analysis into a single tool and environment, productivity
and time to results are improved over separate, standalone timing and power analysis tools. With a single
environment, identical operations are not repeated. For example, timing and slew calculations are not
repeated. Netlist, parasitic and constraint file reads are not repeated. And tool setup steps are not repeated.
As a result, PrimeTime PX delivers up to 2X faster time to results over separate, standalone solutions.
Furthermore, as an extension of the PrimeTime environment, PrimeTime PX is easy to use and adopt. Power
analysis can be performed using the familiar PrimeTime commands, user interface, reports, attributes, and
multiple debugging features.
Summary
With the transition to finer process geometries, signal integrity effects and power consumption have become
a top concern. When ignored, circuits can either fail in silicon, or not meet performance specifications. Given
the effects of parasitics and SI on timing, and the effects of timing on power consumption, designers need
an environment in which the interdependencies between power and timing analysis are accounted for.
Use of the PrimeTime environment for processing of the netlist, parasitic and timing data contributes to a
high level of accuracy when performing power analysis. The other critical factor is signal activity. If eventbased activity is available, both peak and average power can be determined. For purely average power
analysis, the toggle rate data can produce accurate leakage and average power results. If gate-level simulation activity data is unavailable, the support for RTL level switching or default switching activity propagation
provides a good estimate of the dynamic power and state-dependent leakage.
700 East Middlefield Road, Mountain View, CA 94043 T 650 584 5000 www.synopsys.com
Synopsys, the Synopsys logo, and PrimeTime are registered trademarks. All other trademarks or registered trademarks
mentioned in this release are the intellectual property of their respective owners and should
be treated as such. All rights reserved. Printed in the U.S.A.
2006 Synopsys, Inc. 6/06.CE.WO.06-14513