Download Power State Table (PST)

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
A Systematic Approach to Power State
Table (PST) Debugging
by
Bhaskar Pal
Synopsys
Overview:
The outline of the presentation
•
•
•
•
•
•
•
Low power static checker flow
Power State Table (PST) and its significance in the checker flow
Completeness and consistency of PSTs
Root cause debugging of incomplete and inconsistent PSTs
Tool flow
Results
Conclusion
Sponsored By:
Low Power Static Checker Flow
DBs/Lib
s
Design
files
Power specification
(UPF files)
Design
Database
Root cause
debug and
feedback
Power intent
Database
Low power
design database
Low power static checks
Checker
Database
Root cause
debug and
feedback
Sponsored By:
User Input
Power State Table (PST)
Sponsored By:
• Usually a large design is partitioned into multiple power
domains/blocks, each having multiple power states
• Power states are defined by voltage levels
• The PSTs of a block defines the valid power states and
transitions of a block in terms of a set of supply ports/nets
BLKA
BLKC
PSTA
PSTC
PSTD
BLKB
PSTB
BLKD
Power State Table (PST) Contd..
Sponsored By:
• The power/port states of supply net/ports are defined in
terms of voltage levels
• A PST uses these port/power states to define a set of
supply relations represented by the rows of the PST
PSTA
S1
S2
A11
off
ON
A12
ON
ON
A13
off
off
add_port_state S1 –state {ON 0.9} –state {OFF off}
add_port_state S2 –state {ON 0.9} –state {OFF off}
PSTs are golden to the checker
Sponsored By:
• Typically the low power static checker takes PST
specification as golden and perform the electrical
correctness checks on the design
– Isolation requirement checks
– Level shifter requirement checks, etc
PSTA
S1
S2
ISO_INST_MISSING
S1
S2
A11
off
ON
A12
ON
ON
A13
off
off
PSTs are golden to the checker
Sponsored By:
• Typically the low power static checker takes PST
specification as golden and perform the electrical
correctness checks on the design
– Isolation requirement checks
– Level shifter requirement checks, etc
PSTA
S1
S2
LS_NOINST_OK
S1
S2
A11
off
ON
A12
ON
ON
A13
off
off
Global Power State Table and
block level PSTs
Sponsored By:
• Ideally the global PST should represent states/transitions
defined by conjunction of all the block level (local) PSTs.
• However, in reality the following scenario can happen
– Designer can provide a global PST which can constrain the
block level PSTs
– A block level PST can constrain the global PST
– A block level PST can constrain another block level PST
– Merging of block level PSTs can introduce new supply
relations
• The number of PSTs in design are becoming very large
– Debugging becomes very complicated
Inconsistencies in Block level PSTs
c
v
S2
S1
c
v
S3
c
v
BLKA
Sponsored By:
c
v
BLKB
PSTA
PSTB
S1
S2
P11
off
ON
P12
ON
ON
P13
off
off
S2
S3
P21
off
ON
P22
off
off
Incomplete specification of port/power states in one block
level PST can eliminate supply relations in another PST
Inconsistencies in Block level PSTs
S1
c
v
c
v
S2
S3
c
v
S3
c
v
BLKA
Sponsored By:
c
v
BLKB
PSTA
PSTB
S1
S2
P11
off
ON
P12
ON
ON
P13
off
off
S2
S3
P21
off
ON
P22
off
off
Incomplete specification of supplies in PST. PSTA missed S3
Inconsistencies between Block level
PST and Global PST
Sponsored By:
PSTG
S1
S2
S3
S4
S5
G11
ON
ON
ON1
ON
ON
G12
off
off
off
off
ON
G13
off
off
ON
off
ON
G14
off
off
off
off
off
PSTA
PSTB
S1
S2
P11
off
ON
P12
ON
ON
P13
off
off
S2
S3
P21
off
ON
P22
ON
off
The global PST can override/constrain the block level PSTs
resulting in elimination of supply relations
Inconsistencies between Block level
PST and Global PST
Sponsored By:
PSTG
S1
S2
S4
S5
G11
ON
ON
ON
ON
G12
off
ON
off
ON
G13
off
off
off
ON
G14
off
off
off
off
PSTA
S1
S2
P11
off
ON
P12
ON
ON
P13
off
off
PSTAB
PSTB
S2
S3
P21
off
ON
P22
ON
ON
S1
S2
S3
AB11
off
ON
ON
AB12
ON
ON
ON
AB13
off
off
ON
Violation debug issues with
inconsistent PSTs
Sponsored By:
• Violation report generated during block level verification can
change during System level verification making root cause
analysis difficult
• A ISO_INST_OK violation in block level verification can be
changed to ISO_INST_REDUND during system level
verification
S1
S2
ISO_INST_OK
PSTA
S1
S2
A11
off
ON
A12
ON
ON
A13
off
off
Violation debug issues with
inconsistent PSTs Contd…
Sponsored By:
PSTG
PSTA
S1
S2
S3
S4
S5
G11
ON
ON
ON1
ON
ON
ON
G12
off
off
off
off
ON
off
G13
off
off
ON
off
ON
G14
off
off
off
off
off
S1
S2
P11
off
ON
P12
ON
P13
off
S1
S2
ISO_INST_REDUND
Root
cause?
Contribution
Sponsored By:
• Connectivity based checks
• The large number of PSTs and specification of
incomplete/inconsistent PSTs can lead to results which are
difficult to debug
– Framework for detecting and pre-compute database
storing possible incompleteness/inconsistencies between
PSTs
• This can be achieved in a hierarchical manner
– Linking violation database to the above pre-computed
for root cause debugging
Connectivity based checks
S4 (assumption was S2)
c
v
S1
c
v
S3 c
v
c
v
BLKA
BLKB
PSTA
PSTB
S1
S2
P11
off
ON
P12
ON
ON
P13
off
off
S2
S3
P21
ON
off
P22
off
off
Sponsored By:
Eliminator PST
Sponsored By:
• A PST P is called an eliminator PST for a supplyStatePair (S, St) if supply
S appears in P but the port/power state St of S has not been used in P
Eliminator PST
PSTA
S1
S2
PSTB
P11
off
ON
S2
S3
P12
ON
ON
P21
off
ON
P13
off
off
P22
off
off
• The supply relation {(S1, off), (S2, ON)} does not survive in the PST
merge process because (S2, ON) has an eliminator PST and the
eliminating sequence is PSTA  PSTB
Eliminator PST Contd..
Sponsored By:
• A PST P is called an eliminator PST for a supply relation {(S, St), (S1,
St1)} if supply S and S1 appear in P but the port/power state St of S or
S1 of S1 has not been used in P
Eliminator PST
PSTA
S1
S2
PSTB
P11
off
ON
S2
S1
P12
ON
ON
P21
off
ON
P13
off
off
P22
off
off
• The supply relation {(S1, off), (S2, ON)} does not survive in the PST
merge process because it has an eliminator PST, PSTB
Eliminator PST Sequence
Sponsored By:
Eliminator PST
PSTA
PSTC
S1
S2
PSTB
P11
off
ON
S2
S3
P12
ON
ON
P21
ON
ON
P13
off
off
P22
off
off
S3
S4
P21
ON1
ON
P22
off
off
• The supply relation {(S1, off), (S2, ON)} does not survive in the PST
merge process because (S2, ON) has an eliminator PST and the
eliminating sequence is PSTA  PSTB  PSTC
Eliminator PST contd..
Sponsored By:
• Eliminating sequence may not be immediate
3
PSTA
PSTB
S1
S2
S2
S3
A11
off
off
B11
off
ON
A12
ON
ON
B12
ON
B13
ON 3 ON1
off
off
A13
off
4
2
Eliminator PST
PSTC
PSTD
S3 1 S4
C11
ON
ON1
C12
ON1
ON
C13
off
off
S4
S5
D11
ON
ON
D12
off
off
PSTG
S1
S2
S3
S4
S5
G11
ON
ON
ON1
ON
ON
G12
off
off
off
off
ON
G13
off
off
ON
off
ON
G14
off
off
off
off
off
1
New supply relations
Sponsored By:
• Merging of the PST pair (PSTA, PSTB) introduces a new supply relation
{(S1, off), (S2, ON)}. This may introduce new ISO_INST_MISSING
violations between S1 and S2 in the design
PSTA
S1
S3
P11
off
ON
P12
ON
ON
P13
off
off
PSTB
S2
S3
P21
ON
ON
P22
off
off
Violation debug – root cause
Sponsored By:
Eliminator PST
PSTG
PSTA
S1
S2
S3
S4
S5
G11
ON
ON
ON1
ON
ON
ON
G12
off
off
off
off
ON
off
G13
off
off
ON
off
ON
G14
off
off
off
off
off
S1
S2
P11
off
ON
P12
ON
P13
off
S1
S2
ISO_INST_REDUND
Tool flow
Sponsored By:
Design
UPF
UPF parser
UPF Database
Consistency
checker
Error?
PST Merging
Low power database
Error?
PST association
Database
Static checker
Violation Database
Root cause
analyzer
User queries
Root cause report
Results
Sponsored By:
Design
Size
Block level
Issues
Chip level
issues
Runtime
overhead
Design-1
10 K
0
1
1 second
Design-2
2M
2
2
< 5 seconds
Design-3
13.7 M
1
2
< 10
seconds
Design-4
45 M
1
5
< 1 min
Conclusion
Sponsored By:
• Developed a framework for detecting potential
consistency/completeness issues between PSTs in a design
• Create a database of vulnerable PST states and their links
with other states
• A checker that displays some of the critical PST issues
• A root cause analyzer that links checker violations that are
triggered by some of the vulnerable PST states due to
inconsistencies/incompleteness of PSTs
Sponsored By:
Thank You
Related documents