CPF Tutorial 2007 12 06
CPF Tutorial 2007 12 06
Tutorial
December 6, 2007
Qi Wang
Cadence Design Systems, Inc.
LPC Architect, LPC, Si2
Outline
Where Was It Started?
CPF Basics
Digest CPF Using A Simple Example
CPF Based Low Power Design Flow
Where Is CPF Headed?
Domains
Command file
Domains
Level shifters
Isolation
SRPG
Constraint
Generation
Synthesis
SVP
Iterate
RTL
Coding
Constraints
Command file
Simulation
Acceleration
& Emulation
Netlist
Chip Integration
Prototyping
Sign-off
GDSII
ATPG
Routing
Command file
Analysis
Physical Synthesis
DFT
Domains
Level shifters
Isolation
SRPG
Equivalence LVS/DRC/Ext
checking
Which one of
these is golden? Command file
Formal
Analysis
Physical Implementation
Constraint Validation
Domains
Level shifters
Isolation
SRPG
Verification
Iterate
Constraint Validation
Command file
Design Creation
Equivalence Checking
Domains
Level shifters
Isolation
SRPG
?
Verification Coverage
Command file
MSV
SRPG
PSO
DVFS
Specification
Function, timing, power
Testbench Automation
Command file
Domains
Modes for ATPG
Formal
Analysis
Simulation
Hardware
Formal
Analysis
Simulation
Hardware
Parser
Parser
Parser
Parser
Parser
Parser
Synthesis
Management
Synthesis
Parser
Parser
Parser
Parser
Equivalence
Checking
(Verilog)
Parser
P+R
IP
SVP
Power
Power
Information
Information
(CPF)
(no consistency)
Parser
Test
Libraries
Can be Automated
Innovation Through Collaboration Low Power Coalition
Equivalence
Checking
Parser
Parser
Parser
Parser
Logic
Information
Parser
SVP
Parser
Management
P+R
IP
Test
Libraries
Simulation
Hardware
Parser
Parser
Parser
Management
Synthesis
Parser
Parser
Parser
SVP
Power
Information
(CPF)
Parser
Parser
Parser
Equivalence
Checking
P+R
IP
Test
Libraries
Is Automated
Innovation Through Collaboration Low Power Coalition
A new method of
capturing design
and constraint
information
IP
De
n
io
t
a
c
i
f
ri
e
V
n
sig
CPF
Libs
EDA
Facilitates holistic
methodology across
design, verification,
and implementation
Implementation
Mfg
Equip
Q22006
CPF
V 0.8
CPF
V 0.5
CPF
V 0.0
300
Man
Years
Q32006
Q42006
CPF
V 1.0
~ 100 Inputs
March 5, 2007
Outline
Where Was It Started?
CPF Basics
Digest CPF Using A Simple Example
CPF Based Low Power Design Flow
Where Is CPF Headed?
Power domain
Power Logic
Isolation Logic
State-Retention logic
Power mode
Mode definitions
Technology information
Level Shifter Cells, Isolation Cells, State-Retention Cells, Switch Cells, Always On Cells
10
CPF Language
CPF is TCL-based.
CPF Language = TCL commands + CPF objects + Design objects
Power domain
Analysis view
Delay corner
Library set
Operating condition
Commands 42 commands
define_*_cell commands
create_*_rule commands
[design intent]
update_*_rules commands
[implementation directives]
11
create_power_domain
create_nominal_condition
create_power_mode
create_state_retention_rule
create_isolation_rule
create_level_shifter_rule
define_library_set
update_nominal_condition
update_power_mode
create_ground_nets
create_power_nets
update_power_domain
create_power_switch_rule
create_analysis_view
create_operating_corner
Outline
Where Was It Started?
CPF Basics
Digest CPF Using A Simple Example
CPF Based Low Power Design Flow
Where Is CPF Headed?
13
Nano CPU
32 bit RISC processor
Clock
Control
Address
Program Counter
Address register
State
Sequencer
Address Bus
Power
Control
Unit
Always ON power
domain
ALU
Instruction register
Data IN
Data-in register
Arithmetic Unit
Register
file
Logical Unit
Power
Control Bus
Data OUT
Data-out register
Data Bus
14
15
16
17
For RTL verification tools, the command models a retention cell behavior at RTL
The register need to have save signal come before its parent power domain is switched off
The register will restore the saved value after the parent domain is switched on again when there
restore signal comes
For Implementation tools, the command specifies a list of registers to be mapped into
retention cells.
The option instances takes a list of RTL register names
There are other commands to specify the format of mapping RTL register names into gate level
flops names so the same CPF file can be used by both RTL and post RTL tools
18
19
For RTL verification tool, this is the condition when the behavior specified by isolation_output
should be imposed to the normal functional behavior
For implementation tool, isolation condition should be synthesized to drive the enable pin of the
special isolation cell
In most cases, isolation is needed when the driver of a signal is switched off but the
receivers of the signal are still on. In some cases, isolation may be required when the
driver signal is on but the receivers of the signal are off.
-isolation_target specifies which power domain is switched off when this rule is activated
20
Power Modes
PDcore
PDau
PDlu
PDalu
PDrf
PM1
1.2v
1.2v
1.2v
1.2v
1.2v
PM2
0.8v
off
1.2v
1.2v
1.2v
PM3
0.8v
off
off
off
1.2
PM4
0.8v
1.2v
1.2v
1.2v
off
21
PDau
PDlu
PDalu
PDrf
PM1
1.2v
1.2v
1.2v
1.2v
1.2v
PM2
0.8v
off
1.2v
1.2v
1.2v
PM3
0.8v
off
off
off
1.2
PM4
0.8v
1.2v
1.2v
1.2v
off
PDrf@high}
22
-domain_conditions domain_condition_list
The create_power_mode commands specify a list of valid operating modes for a design
Each mode include the operating conditions for each power domain
off or on
if on at what voltage
23
PDau
PDlu
PDalu
PDrf
PM1
1.2v
1.2v
1.2v
1.2v
1.2v
PM2
0.8v
off
1.2v
1.2v
1.2v
PM3
0.8v
off
off
off
1.2
PM4
0.8v
1.2v
1.2v
1.2v
off
PM1
PM3
PM4
24
25
26
Simulation tools
Coverage tools
Assertion tools
Verification tools
27
Need to link the libraries to each power domain in each power mode
Need to associate timing constraints for each power mode to perform DVFS synthesis
update_nominal_condition
update_power_domain
update_power_mode
28
29
PDau
PDlu
PDalu
PDrf
PM1
1.2v
1.2v
1.2v
1.2v
1.2v
PM2
0.8v
off
1.2v
1.2v
1.2v
PM3
0.8v
off
off
off
1.2
PM4
0.8v
1.2v
1.2v
1.2v
off
30
31
32
Simulation tools
Analysis tools
to perform power domain aware and power mode aware power analysis
33
34
35
36
PDau
PDlu
PDalu
PDrf
PM1
1.2v
1.2v
1.2v
1.2v
1.2v
PM2
0.8v
off
1.2v
1.2v
1.2v
PM3
0.8v
off
off
off
1.2
PM4
0.8v
1.2v
1.2v
1.2v
off
37
38
create_operating_corner
-name
<string>
-voltage
<float>
[-process
<float>]
[-temperature
<float>]
-library_set
<name>
define_library_set
-name <library_set>
-timing <library_list>
create_power_domain
-name <string>
{-default [-instances instance_list]
[-boundary_ports pin_list]
| -instances instance_list
[-boundary_ports pin_lust]
[-boundary_ports pin_list }
[-shoutoff_condition expression]
39
40
At this stage
The power and ground nets for each power domain are fully specified
Verification tools
Analysis tools
41
42
Other Commands
Hierarchical Flow
set_instance [hier_instance [-merge_default_domains]
[-port_mapping port_mapping_list]]
set_hierarchy_separator string
RTL to Netlist Name Mapping
set_register_naming_style
set_array_naming_style
General Commands
set_cpf_version
set_power_target
set_power_unit
set_switching_activity
set_time_unit
43
Outline
Where Was It Started?
CPF Basics
Digest CPF Using A Simple Example
CPF Based Low Power Design Flow
Where Is CPF Headed?
44
SVP
Coding
Constraints
Sign-off
GDSII
ATPG
Routing
Analysis
Physical Synthesis
Structural &
Funct. Checks
Simulation
Acceleration
& Emulation
Functionally verify
advanced power
implementation
techniques
Chip Integration
Prototyping
DFT
Equivalence LVS/DRC/Ext
checking
Single power
specification used from
specification to GDSII
Netlist
Physical Implementation
Constraint Validation
Golden
specification
eliminates
assumptions and
miscommunications
CPF
Formal
Analysis
Testbench Automation
Synthesis
Verification
Iterate RTLRTL
+ CPF Iterate
Constraint Validation
Equivalence Checking
Design Creation
b
Constraint
Generation
Verification Coverage
Instantiate single
RTL with different
power profiles
Specification
Function, timing, power
Re-use preverified IP
Automatic partitioning of
power domains
Automatic scheduling of
test modes
45
1Q2007
2Q2007
Reference
Flow 8.0
PRIDE Flow
2H2007
EnergyPro
Technology
Joins PFI
Joins PFI
CPF becomes
Si2 standard
Cadence Low
Power Solution
production
released V 1.0
Common
Platform
Flow
Joins PFI
PowerPro CG
DDR PHY
Innovation Through Collaboration Low Power Coalition
Joins PFI
> 100 customer adopting
CPF-based advanced low
power solution
~ 50 tapeouts
Freescale, Fujitsu, NEC, NXP..
46
Early
Adopters
Foundry
IP Vendor
ASIC /
Design
Service
EDA
www.powerforward.org
Innovation Through Collaboration Low Power Coalition
47
CPF
CPF-Enabled
CPF-Enabled Logic
Logic simulation
simulation
Incisive
Design
Team
Incisive Design Team Simulator
Simulator
CPF-Enabled
CPF-Enabled Physical
Physical implementation
implementation
SoC
Encounter
SoC Encounter
CPF-Enabled
CPF-Enabled LEC
LEC ++ Power
Power Checks
Checks
Conformal
Low
Power
Conformal Low Power
CPF-Enabled
CPF-Enabled ATPG
ATPG
Encounter
Test
Encounter Test
CPF-Enabled
CPF-Enabled Timing
Timing &
& SI
SI signoff
signoff
Encounter
Timing
System
Encounter Timing System
CPF-Enabled
CPF-Enabled Leakage
Leakage &
& Thermal
Thermal Analysis
Analysis
Encounter
Timing
System
Encounter Timing System
CPF-Enabled
CPF-Enabled IR
IR drop
drop &
& Power
Power signoff
signoff
VoltageStorm-DG
VoltageStorm-DG
48
www.tsmc.com
48
ARC Proof Point Project Using CPF Based Low Power Solution
49
SCQ
SCQ SCM
SCQ
SDM
Always On
Power Forward
low-power implementation &
verification project results
Simulation with CPF identifies
D$
Functional Blocks
Power Domains
Fujitsu Proof Point Project Using CPF Based Low Power Solution
90nm
940K instances
11 Power Domains
19 Power Modes
DVFS
50
CPU1
Power Switch
peripherals
CPU2
Power
Domains
Silicon
SiliconProven
Proven September
September07
07
50
NEC Proof Point Project Using CPF Based Low Power Solution
65nm
6 Power Domains
5 Power Modes
2 Supply Voltage
NEC Electronics
Corporation
PD0: 1.2V
(Default,
Always On)
Driver
PD1:1.2V
PD4:0.74V
PD2:1.2V
PSOcntl
PD3:0.74V
PSGcntl
PD5:0.74V
ISOcntl
Power
Mode
Power Domain
PD0
PD1
PD2
PD3
PD4
PD5
PM1
1.2V
1.2V
1.2V
0.74V
0.74V
0.74V
PM2
1.2V
PSO
1.2V
0.74V
0.74V
0.74V
PM3
1.2V
1.2V
PSO
0.74V
0.74V
0.74V
PM4
1.2V
1.2V
1.2V
PSO
0.74V
0.74V
PM5
1.2V
PSO
PSO
PSO
0.74V
PSO
51
NXP Proof Point Project Using CPF Based Low Power Solution
52
Outline
Where Was It Started?
CPF Basics
Digest CPF Using A Simple Example
CPF Based Low Power Design Flow
Where Is CPF Headed?
53
Data API
Design Flow
Common Glossary
Low Power Design Flow Document
Format Requirement
54
http://www.si2.org/openeda.si2.org/projects/si2cpf/
Si2 LPC
http://www.si2.org
http://www.powerforward.org
http://www.si2.org/?page=866
55