1 / 26

A Systematic Approach to Power State Table (PST) Debugging

A Systematic Approach to Power State Table (PST) Debugging. by Bhaskar Pal Synopsys. 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

azuka
Download Presentation

A Systematic Approach to Power State Table (PST) Debugging

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A Systematic Approach to Power State Table (PST) Debugging by Bhaskar Pal Synopsys

  2. 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 Overview:

  3. Low Power Static Checker Flow DBs/Libs Design files Power specification (UPF files) User Input Design Database Power intent Database Low power design database Root cause debug and feedback Root cause debug and feedback Low power static checks Checker Database

  4. Power State Table (PST) • 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

  5. Power State Table (PST) Contd.. • 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 add_port_state S1 –state {ON 0.9} –state {OFF off} add_port_state S2 –state {ON 0.9} –state {OFF off}

  6. PSTs are golden to the checker • 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 S1 S2 ISO_INST_MISSING

  7. PSTs are golden to the checker • 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 S1 S2 LS_NOINST_OK

  8. Global Power State Table and block level PSTs • 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

  9. S2 Inconsistencies in Block level PSTs S1 S3 cv cv cv cv Incomplete specification of port/power states in one block level PST can eliminate supply relations in another PST BLKA BLKB

  10. S2 Inconsistencies in Block level PSTs S1 S3 cv cv cv cv Incomplete specification of supplies in PST. PSTA missed S3 S3 cv BLKA BLKB

  11. Inconsistencies between Block level PST and Global PST The global PST can override/constrain the block level PSTs resulting in elimination of supply relations

  12. Inconsistencies between Block level PST and Global PST

  13. Violation debug issues with inconsistent PSTs • 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

  14. Violation debug issues with inconsistent PSTs Contd… S1 S2 Root cause? ISO_INST_REDUND

  15. Contribution • 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

  16. S4 (assumption was S2) Connectivity based checks S1 S3 cv cv cv cv BLKA BLKB

  17. Eliminator PST • 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 • 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

  18. Eliminator PST Contd.. • 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 • The supply relation {(S1, off), (S2, ON)} does not survive in the PST merge process because it has an eliminator PST, PSTB

  19. Eliminator PST Sequence Eliminator PST • 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

  20. Eliminator PST contd.. • Eliminating sequence may not be immediate 3 2 3 4 Eliminator PST 1 1

  21. New supply relations • 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

  22. Violation debug – root cause Eliminator PST S1 S2 ISO_INST_REDUND

  23. Design UPF Tool flow UPF parser UPF Database Error? Consistency checker Error? PST Merging Low power database PST association Database Static checker Violation Database Root cause analyzer User queries Root cause report

  24. Results

  25. Conclusion • 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

  26. Thank You

More Related