You are on page 1of 6

12/28/2016

Understandingandvalidatingthedetailedpowerreportgeneratedbythereport_instance_powerVoltuscommand

HowTo...
Thereport_powervoltuscommandcanbeusedforpoweranalysisandreporting.Fordebuggingpurpose,thedetailedpowerreportcanbegeneratedatinstancelevel
usingthereport_instance_powercommand.Thisarticlewillusestandardformulatoarriveatthenumberreportedbythiscommand.Followingisasnippetofthereport
generatedbythe"report_instance_powera1/g8fileg8.rpt"command:
Instance:a1/g8
Cell:AND2X1
Libertyfile:slow_vdd1v2.lib
Internalpower:0.00024141mW
Switchingpower:0.00583200mW
Leakagepower:0.00000077mW
Totalpower:0.00607418mW

DirectionVoltage(V)DutyDensityCap(pf)Riseslew(ns)Fallslew(ns)Power(mW)NetPin
Input1.080000040.250000001.750000e+080.003258690.040000000.08000000a1/in2A
Input1.080000040.500000001.500000e+080.002143520.040000000.040000000a1/in1B
Output1.080000040.125000001.250000e+080.080000001.187399891.326199960.00583200out1Y
Leakagepower
WhenDutyPower
((A)&(B))0.1250.125*1.53e09
((A)&(!(B)))0.1250.125*7.04e10
((!(A))&(B))0.3750.375*8.58e10
((!(A))&(!(B)))0.3750.375*4.51e10
Internalpower
FromTowhenactivity/nsdutyenergypower(mW)PowerPin
A>A(1):0.17511.655e162.89625e05(default)
B>B(1):0.1511.275e161.9125e05(default)
B>Y((A)):0.1250.34.455e165.56875e05(default)
A>Y((B)):0.1250.71.1011e150.000137638(default)
Thisarticledescribethepowercalculatedbythetoolusingcomponentsfromthereportaswellotherinputsusedinpowercalculation.

Answer
Thereport_instance_powercommandisrecommendedfordebuggingpurposetoidentifytherootcauseofpowermismatch.Thereportwillbecoveredinthefollowing
foursections:

https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1Od0000000nXATEA2&pageName=ArticleContent&oMenu=Documents%20which%20may%20be%20similar%20to%20this%20document

1/6

12/28/2016

Understandingandvalidatingthedetailedpowerreportgeneratedbythereport_instance_powerVoltuscommand

1.Headersection:ItreportsthenameofInstance,Cell,.lib,andthedistributionofpower:
Instance:a1/g8
Cell:AND2X1
Libertyfile:slow_vdd1v2.lib
Internalpower:0.00024014mW
Switchingpower:0.00583200mW
Leakagepower:0.00000077mW
Totalpower:0.00607291mW

2.SwitchingPower:ThissectioncoverstheswitchingpowerforoutputPinsalongwiththevariouscomponentsofpowerusedinpowercomputation.Thefollowing
figurecapturesthetoolreportandformulabasedswitchingpowercalculation:
Direction

Voltage(V)

Duty

Density

Cap(pf)

Riseslew(ns)

Fallslew(ns)

Power(mW)

Net

Pin

Input

1.08000004

0.25000000

1.750000e+08

0.00325869

0.04000000

0.0800000

a1/in2

Input

1.08000004

0.50000000

1.500000e+08

0.00214352

0.04000000

0.04000000

a1/in1

Output

1.08000004

0.12500000

1.250000e+08

0.08000000

1.18739989

1.32619996

0.00583200

out1

SwitchingPower=C*V2*F*A
C=loadcapacitanceatoutput=0.08000000e12
V=OperatingVoltage=1.08000004
F*A=Transitiondensityoftheoutputpin=1.250000e+08.
Switchingpower=0.08000000e12*1.08*1.08*1.250000e+08*0.5=0.00583200mW

3.LeakagePower:Thissectioncoverstheleakagepowerreportedbythetool.Leakagepoweristhesumofstatedependentleakagepowers.ItisaproductofDutyand
statedependentpowerdefinedin.lib.Refertothe"Duty"columninthefollowingsnippet:
Leakagepower
When

Duty

Power

((A)&(B))

0.125

0.125*1.53e09

((A)&(!(B)))

0.125

0.125*7.04e10

((!(A))&(B))

0.375

0.375*8.58e10

((!(A))&(!(B)))

0.375

0.375*4.51e10

https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1Od0000000nXATEA2&pageName=ArticleContent&oMenu=Documents%20which%20may%20be%20similar%20to%20this%20document

2/6

12/28/2016

Understandingandvalidatingthedetailedpowerreportgeneratedbythereport_instance_powerVoltuscommand

Dutycalculation
State

Duty

0.25

!A

1A=0.75

0.5

!B

1B=0.5

((A)&(B))

0.25*0.5=0.125

((A)&(!(B)))

0.25*0.5=0.125

((!(A))&(B))

0.75*0.5=0.375

((!(A))&(!(B)))

0.75*0.5=0.375

CellAND2X1:Leakagepowersectionfromlibertyfile
leakage_power(){
when:"AB"
value:1.530
}
leakage_power(){
when:"A!B"
value:0.704
}
leakage_power(){
when:"!AB"
value:0.858
}
leakage_power()
{when:"!A!B"
value:0.451
}

4.InternalPower:Internalpowerhastwocomponents
https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1Od0000000nXATEA2&pageName=ArticleContent&oMenu=Documents%20which%20may%20be%20similar%20to%20this%20document

3/6

12/28/2016

Understandingandvalidatingthedetailedpowerreportgeneratedbythereport_instance_powerVoltuscommand

1.Internalpinpower
2.Internalpinarcpower
Internalpower=Transitiondensity*Energy
TransitionDensity(TD)=activity/ns
Energy=(RiseEnergy+FallEnergy)*(Pinweightfactor)/2
Pinweightfactor=Dutyfromtheinternalpowertable
RiseEnergy=Energynumberfromlibertyforpincapandriseslew
FallEnergy=Energynumberfromlibertyforpincapandfallslew
InternalPinpower:Thissectioncoverstheinputpinpowercomputedbythetoolanditscorrelationusingthestandardformula.InputPinpowerisaproductoftheinput
slewbasedenergy,transitiondensity,andpinweightfactor.ThefollowingtablecapturesthepinpowercalculationforPin"A":
From

To

when

activity/ns

duty

energy

power(mW)

PowerPin

A>

(1):

0.175

1.655e16

2.89625e05

(default)

B>

(1):

0.15

1.275e16

1.9125e05

(default)

CellAND2XL:InternalpowersectionforpinAfromliberty
internal_power(){
rise_power(passive_energy_template_7x1){
index_1("0.008,0.04,0.08,0.12,0.16,0.224,0.28")/*slew*/
values("0.000165,0.000165,0.000165,0.000165,0.000165,0.000165,0.000165")/*energyvalues*/
}
fall_power(passive_energy_template_7x1){
index_1("0.008,0.04,0.08,0.12,0.16,0.224,0.28")/*slew*/
values("0.000169,0.000167,0.000166,0.000166,0.000166,0.000166,0.000166")/*energyvalues*/
}
}
InternalpinpowercalculationforpinA
TD=0.175e9
RiseEnergyforPinA=0.000165e12
FallEnergyForPinA=0.000166e12
Pinweightfactor=1
Energy=(0.000165e12+0.000166e12)*1/2=1.655e16
Internalpinpower=0.175e9*1.655e16=2.89625e8=2.89625e5mW
InternalArcpower:Thissectioncoversthepowerreportedbythetoolfortheoutputpin(inputtooutputarc)anditscorrelationusingthestandardformula.Arcpowerisa
productoftheslew/loadbasedenergy,transitiondensity,andpinweightfactor.ThefollowingtablecapturesthepowerforArc"AtoY":
https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1Od0000000nXATEA2&pageName=ArticleContent&oMenu=Documents%20which%20may%20be%20similar%20to%20this%20document

4/6

12/28/2016

Understandingandvalidatingthedetailedpowerreportgeneratedbythereport_instance_powerVoltuscommand

From

To

when

activity/ns

duty

energy

power(mW)

PowerPin

B>

((A)):

0.125

0.3

4.455e16

5.56875e05

(default)

A>

((B)):

0.125

0.7

1.1011e15

0.000137638 (default)

CellAND2X1:InternalpowersectionforARCAtoYfromliberty
internal_power(){
related_pin:"A"
rise_power(energy_template_7x7){
index_1("0.008,0.04,0.08,0.12,0.16,0.224,0.28")/*slew*/
index_2("0.01,0.016,0.05,0.08,0.12,0.2,0.25")/*loadcapacitance*/
values(\
"0.001184,0.001187,0.001191,0.001191,0.001192,0.001192,0.001192",\
"0.001172,0.001175,0.001178,0.001179,0.00118,0.001178,0.001179",\
...

"0.001144,0.001149,0.001156,0.001157,0.001158,0.001158,0.001158")
}
fall_power(energy_template_7x7){
index_1("0.008,0.04,0.08,0.12,0.16,0.224,0.28")/*slew*/
index_2("0.01,0.016,0.05,0.08,0.12,0.2,0.25")/*loadcapacitance*/
values(\
"0.001972,0.001975,0.001979,0.00198,0.00198,0.001981,0.001981",\
"0.001963,0.001967,0.001971,0.001972,0.001972,0.001973,0.001973",\
"0.001955,0.00196,0.001966,0.001967,0.001967,0.001968,0.001968",\

"0.001933,0.001941,0.001954,0.001956,0.001958,0.001959,0.00196")
}
}
InternalArcpowerforAtoY
TD=0.125
Pinweight=0.7
RiseEnergyforAtoYArc=0.001179e12
FallEnergyforAtoYArc=0.001967e12
Energy=(0.001179e12+0.001967e12)*0.7/2=1.10285e15
InternalArcpower=0.125e9*1.10285e15=0.000137856mW
https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1Od0000000nXATEA2&pageName=ArticleContent&oMenu=Documents%20which%20may%20be%20similar%20to%20this%20document

5/6

12/28/2016

Understandingandvalidatingthedetailedpowerreportgeneratedbythereport_instance_powerVoltuscommand

Returntothetopofthepage

https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1Od0000000nXATEA2&pageName=ArticleContent&oMenu=Documents%20which%20may%20be%20similar%20to%20this%20document

6/6

You might also like