Low Power Verification · All levels

Retention Registers and Cell-Level Verification: Theory Deep Dive

Theory Deep Dive for Retention Registers and Cell-Level Verification.

Foundational theory

Retention Registers and Cell-Level Verification is core to Retention & Restore. Treat each power behavior change as a correctness and signoff risk decision.

Core concepts explained

  • Retention verification starts by proving that the retained register set in RTL, UPF, and implementation netlists is consistent, complete, and intentionally minimal. Verification environments should cross-check retention control pins, clamp behavior, and always-on rail dependencies so that retained flops never see illegal biasing during collapse. At cell level, teams validate save-node integrity, retention latch behavior, and restore propagation timing under realistic power ramp profiles, not just ideal transitions. Directed and constrained-random tests should include partial domain shutdown, asynchronous reset overlap, and scan/test mode interactions because many escapes occur when retention intent collides with debug infrastructure. Coverage should map each protected register class to at least one stress scenario that proves both value preservation and legal re-entry into functional state machines.

  • Primary metric: Retention restore correctness across intended register list, wake-up latency bins, and voltage-corner pass rate.

  • Primary artifact: Retention intent traceability matrix linking RTL registers, UPF strategies, implementation cells, and pass/fail evidence by power scenario.

  • Owners: low-power verification owner, UPF/power intent owner, library characterization owner, implementation/signoff owner

  • Power intent and RTL behavior must stay aligned through transitions

  • Proof quality beats broad waive strategies in low-power closure

Why this matters in low-power signoff

Retention closure requires proving save, off, and restore phases as one lifecycle with explicit handshake timing. Teams that enforce this reduce false alarms and real escapes.

Mental model

diagram
RETENTION SAVE / RESTORE FLOW

PMU            RET CTRL             RET FLOPS              DOMAIN
 | save_req ---> |                     |                     |
 |               |--- capture ----->   | latch state         |
 | <--- save_ack |                     |                     |
 | power_off --->|---------------------X--------------------> OFF
 | power_on  --->|------------------------------------------> RAMP
 |               |--- restore ----->   | load state          |
 | <--- rst_done |                     |                     |

Verification focus:
- no data loss across save/restore window
- restore completes before functional traffic resumes

Worked intuition

  1. Classify symptom first: illegal transition, corruption, isolation break, retention drift, or X-prop ambiguity.

  2. Pinpoint first phase boundary where expected low-power behavior diverges.

  3. Quantify movement in Retention restore correctness across intended register list, wake-up latency bins, and voltage-corner pass rate. before broad refactors.

  4. Collect Retention intent traceability matrix linking RTL registers, UPF strategies, implementation cells, and pass/fail evidence by power scenario. with fixed run metadata and mode sequencing.

  5. Apply one bounded fix and replay both targeted and broader scenarios.

  6. Publish owner-signed closure note with rollback trigger.

Common misconceptions

  • Passing nominal ON/OFF smoke proves transition correctness.

  • UPF compile clean means all intent semantics are correct.

  • All X-prop failures indicate real product escapes.

  • Retention behavior can be trusted without multi-cycle restore stress.

Low-power verification deep dive

Retention closure requires proving end-to-end state lifecycle through save, off, and restore windows.

Concept diagram

diagram
RETENTION LIFECYCLE

save request -> state capture -> power off -> power on -> restore -> traffic resume

Metric graph

diagram
RETENTION STABILITY

restore mismatch       █████
save timing defects    ████
stable wake cycles     ███████

Metrics and artifacts to collect

  • retention save/restore timing report

  • pre/post state diff matrix

  • multi-cycle retention stress summary

  • state-loss bug trend by mode

Mini case study

A corruption issue persisted until retention checks compared multi-cycle state snapshots rather than single wake events.

Debug branches

  • Track save acknowledgement against actual state capture.

  • Validate restore completion before functional traffic resumes.

  • Run repeated sleep/wake cycles to expose drift.

Senior review question

Ask: what exact low-power transition boundary failed first, and which artifact proves the closure claim reproducibly?

Key takeaways

  • Tie each LPV claim to a concrete transition boundary and one proving artifact.

  • Prefer minimal reversible fixes with explicit owner and rollback criteria.

Common pitfalls

  • Treating power-aware failures as random before boundary classification.

  • Waiving X-prop failures before proving impact and root cause.

  • Declaring closure without deterministic replay across key modes.

Theory reinforcement

Theory matters when it predicts concrete failure signatures and closure boundaries.

Translate LPV semantics into reproducible verification outcomes.