Beruflich Dokumente
Kultur Dokumente
• RedHawk Explorer
Totem
Power-Noise-Reliability Platform for
Analog/Custom/Memories
Voltage Drop (Static/Dynamic), EM (Signal/Power), Substrate Noise Analysis
Sentinel
Package-Board Level Extraction, Analysis Platform
3D Full-wave Extraction - AC, DC, Transient Analysis
Power Artist
RTL and Gate Level Power Calculation
Analysis Driven Power Optimization
3 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
RedHawk
SoC “PNR” Platform
RedHawk
R
Iavg Iavg
Cload Cload
Vss Pad
Instance Instance
Vstatic
Vdd Pad Ipad
R
Iavg Iavg
Vss Pad
From SPEF
From .lib
P(total) = P(Leakage) +
½ * (Internal-energy * Freq * TR) +
From .lib ½ * C * V^2 * Freq * TR
7 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Dynamic Voltage Drop Problem Definition
On-chip power/ground network
i(t,V)
Vdd Pad
L R Cdev
is(t)
Rload
V(t)
Cpg
Cload
- Cload
Vss Pad
V(t)
Vdd Pad
i(t,V) ESR
Cpg
Cdev Cload
Vss Pad
Non-switching instance
Switching instance
Output: 1->1
Static Dynamic
Qualitative Analysis
Power distribution quality
PG Weakness Checks
Placement/CTS FAO Clock buffer clustering
Simultaneous Switching
Decap placement
Signoff Verification
Static IR
Power EM
Routing Dynamic Drop
Low Power Signoff
Impact on Timing
Chip Power Model
11 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
RedHawk Static Analysis Flow
Data Preparation
Result Exploration
• APL* • VCD
• TECH* • Package
• Pad Files
• Slew
– Required for Static (Power calculation uses Slew)
– Required for Dynamic (Current w/f is dependent on Slew)
• Timing Windows
– Not required for static
• Instance Frequency
– Required for static and dynamic
• Clock domain info
– Required for static and dynamic
ATE
STA File
APL
450
400
VDD
350
300
ESR
Current
250
200
150 I-leak
100
50 CDEV
0
0 50 100 150 200 250 300
Time
VSS
GDS2DEF
LEF DEF
Sim2iprof ACE
APL Current
Synopsys LIB/ Datasheet
Parameters
AVM
APL CDEV
Option-1
Redhawk automatically identifies the voltage source locations
from PINS section in DEF
Option-2
User can specify the master cell name for P/G pads through a file
Option-3
User can specify the P/G pad instance names through a file
Option-4
User can specify the P/G pad (x,y) locations through a file
*PAD
VDD_PAD1
VSS_PAD45
PVDD1DGZ
17.5 242.0 METAL6 POWER
*PLOC
DVDD1 4905 878.85 METAL4 POWER
DVSS1 4880 938.85 METAL4 GROUND
DVDD2 4905 998.85 METAL4 POWER
• BLOCK_POWER_FOR_SCALING (BPFS)
– Used for defining power target values
– RH will scale the toggle rate to meet user specified power target
– Scaling can be done at Full-chip/Block level. It can be master cell
specific too
– Can define pin specific power for multi-vdd cells
BLOCK_POWER_FOR_SCALING {
• INSTANCE_POWER_FILE (IPF)
– Can be used to import instance power numbers from 3rd
party tools
– RH will assign the power number from this file as it is
– Instances missing in this file will get zero power
– Supports pin specific
INSTANCE_POWER_FILE design.ipf
#Format of design.ipf
Inst1/inst_100 0.0123
Inst1/inst_102 0.0123
Inst1/inst_104 0.0123
Inst1/inst_105 0.0123
Inst1/inst_106 0.0123
Inst1/inst_107 0.0123
Inst1/inst_108 0.0123
Inst1/inst_108 0.0123
Inst1/inst_109 0.0123 VDD
INSTNACE_TOGGLE_RATE {
instance_name toggle_rate
} Global Toggle Rate Used
(BPFS will override this)
BLOCK_TOGGLE_RATE {
block_name toggle_rate
}
INPUT_TRANSITION 100e-12
Default Slew value used
(Used for instances missing in STA File)
TEMPERATURE 125
To specify the P/G Extraction Temperature
VDD_NETS {
VDD 1.2
inst_129973/VDD_INT 1.2
}
GND_NETS {
VSS 0 Nets being analyzed and Ideal Voltage
}
IGNORE_TECH_ERROR 1
IGNORE_DEF_ERROR 1
IGNORE_UNDEFINED_LAYER 1
IGNORE_LEF_DEF_MISMATCH 1 Option to proceed even with Errors
FREQ 266e6
INPUT_TRANSITION 100e-13
TEMPERATURE 125
DYNAMIC_SIMULATION_TIME 10e-9
DYNAMIC SIMULATION SETTINGS
DYNAMIC_PRESIM_TIME -1
DYNAMIC_TIME_STEP 10e-12
BLOCK_POWER_FOR_SCALING {
FULLCHIP GENERIC 1.2
}
You can use Apache utility rh_setup.pl to generate
TOGGLE_RATE 0.2 the command file/GSR
# Exporting the DB for future use # Exporting the DB for future use
export db static.db export db dynamic.db
sub-threshold leakage
Block
Block
CTL
Vss Vss
Time
• Daisy chain structure for switch enable helps reducing rush current
Simultaneously
Turn-On All Switches
Switch
Switch
Switch
Staged Switch
EN Delay Delay Turn-On
25ps
VDD
EN1
EN2
Small Big
VDD_INT Switch
Switch
More switches can be used
in critical areas to reduce the drop
Small switch is used to charge the internal
nodes; Big switch will reduce the ON state
resistance
VSS VSS
• More significant when wakeup
time is more
ON state Analysis
Static IR drop analysis
Dynamic analysis
Spef/Dspf
import gsr GENERIC.gsr
setup design Optional
Circuit 3.20E-03
3.00E-03
2.80E-03
2.60E-03
RedHawk 2.40E-03
Equivalent 2.20E-03
Circuit 2.00E-03
0 0.5 1
• STA File should contain turn ON time for the switch enable
pins
• Required only for Rampup analysis; Not required for ON
state analysis
• True-time
– VCD has SDF back-annotated.
– Switching events in VCD will indicate the real time at
which instance switches
• Non-True-time
– VCD is NOT SDF back-annotated
– Simulator assumed unit-gate-delays for generating this
VCD
– RedHawk will use STA_FILE to derive the switching
time
– VCD is used only for Switching scenario information
Cycle selection
Setup
Scans through the entire VCD and selects
cycles which are critical for analysis
Power calculation
and
Cycle Selection
Extraction
Dynamic
Simulation
TCL:
setup design
perform pwrcalc
perform extraction –power –ground -c
setup package
perform analysis -vcd
adsRpt/worst_power_cycle.rpt
GSR:
VCD_FILE { Indicates that file is RTL VCD
GENERIC GENERIC.vcd
FILE_TYPE RTL_VCD
FRONT_PATH "GENERIC/"
SUBSTITUTE_PATH ""
FRAME_SIZE 2500
TRUE_TIME 1
MAPPING <filename>
}
SENTINEL
REDHAWK
DYNAMIC_SIMULATION_TIME 5e-9
PAD_FILES {
GENERIC.ploc Ploc files with package hooked up
}
Pull-down Menu
Navigation Menu
Layer/Legend
Selection
Query/Search
Message Window
Bird’s eye view
TCL Console
61 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
GUI Basic Operations
Property Query
clear selection
Fit Screen
Map Shortcuts
TCL command:
plot voltage <options>
TCL command:
plot current <options>
• min_res_path also generates a resistance report which will give the break-up of
resistance and voltage drop across different wire/via segments in the path
• By default, this command generates the output in adsRpt/res_path.rpt file. User can
control this using “-o” switch.
adsRpt/res_path.rpt file
File Description
adsRpt/redhawk.log Redhawk log file
adsRpt/power_summary.rpt Power Summary Report
adsRpt/<design>.power.rpt Detailed Power Report
adsRpt/Static/<design>.inst.worst Instance Static IR Report
adsRpt/Dynamic/<design>.dvd Instance DVD Report
adsRpt/Static/<design>.em.worst Instance EM Report
Command Description
import db/export db For importing and exporting the database
help To get help on any TCL command
print type Prints the cell type wise switching statistics
plot switching Plots switching histogram
plot analysis Plots analysis histograms
gsr get / gsr set Queries / Assigns a GSR keyword parameter
(supported only for selected keywords)
condition set –time/-xy/-type Filters the analysis results to specified time/bbox or cell
type
Command Summary
select add $inst Highlights a particular instance in GUI
select addfile $file Highlights all instances listed in the input file
marker add –position $x $y Adds a marker sign (+) in the specified location
plot line –position $x1 $y1 $x2 $y2 Plots a line in GUI
zoom rect $x1 $y1 $x2 $y2 Zoom in-to the specified rectangle
Command Switch
-type
-height
Returns Various properties
get cell $cell -width of a master cell
-pins
-pgarcs
Loops through all master cells in
get cell * -glob
the library
Command Switch
-ideal_voltage
Returns Various properties
get net $net -worst_drop of a net
-worst_em
Loops through all nets in the
get net * -glob
design
Command Switch
-info
-voltage
-current Returns Various properties
get pad $pad of a pad
-layer
-location
-net
get pad * -glob Loops through all pads in the design
Command Switch
-int_voltage
-voltage_drop Returns Various properties
of switch instances
-current
get switch $switch
-net_pair
-turn_on_time
-status
Command Switch
-bbox
Returns Various properties
-worst_inst_drop of the design
-worst_inst
get design
-worst_wire_drop
-worst_em
-stats
Design Summary
Result Summary
Power Summary
Static IR
Power EM
Dynamic Voltage Drop
Low Power
Run Details
84 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Summary Section
Power Summary Break-up
Various Maps
Run Details
VRM/Package Related
Pad Placement Quality Check
Package Drop Contribution
PDN Related
PG Resistance Distribution
PG Resistance Balancing
Switch Placement Quality Check
Decap Distribution Check
Current Related
Power Distribution Quality
Clock Buffer Clustering
Peak Current Check
Simultaneous Switching Check
Computes the average pad current across the chip in each domain
(Total Pad current / Number of pads)
Checks whether any pad drives more than 5X the average pad current across
the chip
Reports violations
Review pads with high (EM, IR) and low (over-design, connectivity issue)
currents
100 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Design Weakness Analysis
Related Maps Section
Design Weakness -> Power Distribution Quality -> Related Maps
High Load
High Freq
High Power
High Toggle
Rate
Clock
Clustering
101 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Getting Help on a Specific Item
102 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Hot Spot Analysis
103 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Power Noise
Root Cause Identification
Root Cause for DVD/IR/EM Issues
30% due to
less pads
40+ reasons
why you have
30
a hot-spot! % due to less
decaps
104 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Hot Spot Analysis
105 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Hot Spot Analysis
106 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Hot Spot Analysis
Checking Hot-spot #1
107 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Root Cause Identification
Design Weakness Analysis
Global Issues
This hot-spot region ranks 7 among all regions in the design based on Total Clock Power
(Rank-1 indicates the weakest region)
108 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Root Cause Identification
Data Integrity Checking
109 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Hot Spot Analysis at Instance Level
110 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Hot Spot Analysis
Instance Level Debug
111 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Shortest Path Tracing
112 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Explorer Command Line Options and
Log Details
Command Description
explore design Runs Explorer and Pops up GUI
explore design –constraint_file <cons_file> Runs Explorer with a user specified constraint file
113 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Tea Break
114 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
REDHAWK-LP LAB
115 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
RedHawk – LP Lab
Command File
116 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
GSR Review
Switch Model
GSC File
117 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Mixed Mode Analysis
118 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
RedHawk – LP Lab
119 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
RedHawk – LP Lab (Cont’d)
120 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
RedHawk – LP Lab (Cont’d)
• Voltage Domain Current W/f
– Represents the total current through the switches
xgraph adsRpt/Dynamic/virtual_domain_total_i.rpt
121 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
RedHawk – LP Lab (Cont’d)
• Rampup Movie
– Results -> Movie -> Make
122 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Low Power Support in Explorer
123 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Low Power Summary
124 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
ALP Related Data Integrity Check
125 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
ALP Hotspots Section
126 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Peak Rampup Current & Rampup Time Checks
127 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Battery Current & Demand Current Checks
128 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
What is Differential Voltage Check ?
129 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Differential Voltage Analysis
List of violations
130 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Cross-Probing Violations
131 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Adjusting Differential Voltage Thresholds
132 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Differential Voltage Violation Details
133 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Differential Voltage Violation Report
134 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Noise Coupling Check
135 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Noise Coupling Analysis : Summary
136 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Noise Coupling Analysis Details
137 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Switch Id-sat Check
Highlights switch instances in the design which are driven to their saturation region
due to excessive current flow during powerup
138 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Switch Off State Check
This check analyzes the effectiveness of power gating in the design in terms of reducing the leakage power
139 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Low Power : Related Maps & Movies
140 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
RedHawk – LP Lab Summary
141 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
ALP Movie Support For Mother-Daughter
Switches
142 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Changing the Low Power Constraints
143 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Chip Power Model Generation
144 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
CPM Technology
145 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Chip Power Model (CPM)
Spice compatible accurate model for the DIE which can be used in
Package/Board level analysis
CPM can be created using “perform pwrmodel” command in the same Dynamic simulation setup
Cdie
I
Rdie
REDHAWK SENTINEL
Chip Power Model
146 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Chip Power Modeling Flow
147 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Command File
# Import data
import gsr GENERIC.gsr
setup design
# Calculate power
Exactly same inputs and setup used
perform pwrcalc in dynamic simulation
148 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Apache Resource Center
Apache Online Customer Support Center
– http://support.apache-da.com
– Email: support@apache-da.com
149 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS
Thank You!!!
150 © 2012 ANSYS, Inc. March 8, 2017 Apache Design, a subsidiary of ANSYS