What is Retention register?
A flip-flop that keeps its state in a small always-powered storage element while the block is power-gated, allowing operation to resume where it left off.
Japanese name: リテンションレジスタ
A flip-flop that keeps its state in a small always-powered storage element while the block is power-gated, allowing operation to resume where it left off.
Japanese name: リテンションレジスタ
It is an ordinary flip-flop with a small extra latch connected to an always-on supply. The main part of the flip-flop is built from fast transistors and connected to the switchable supply. The extra latch is built from high-threshold transistors with low leakage. Before power is removed, a save signal copies the value of the main part into the latch. After power returns, a restore signal copies the value back.
The extra latch, the always-on supply wiring and the control signals make it larger than an ordinary flip-flop. A small leakage through the latch also remains while power is off. For this reason, designs often use retention only for the flip-flops whose state is needed to resume, rather than replacing all of them. The rest are initialized by reset on wake-up.
A typical sequence is as follows. The clock is stopped, the outputs are clamped by isolation cells, the values are saved, and then power is removed. On wake-up, power is applied, the values are restored after the voltage settles, isolation is released, and the clock restarts. A power controller in an always-on domain manages this order. Which registers are retained is specified in UPF, a format for describing power intent.
Answer: B. Flip-flop contents are lost, so needed state is saved in retention registers or external memory before power-off
Flip-flops and SRAM in a powered-off block lose their contents, so to resume where it left off, state must be saved before cutting power. Options include retention registers, which pair each flip-flop with a small always-powered storage element, or software writing state out to memory. Saving, restoring and powering up cost time and energy, so for short idle periods it may be better not to cut power.
SRAM does not use retention registers. It uses a retention mode that keeps only the memory-cell supply at a reduced voltage and turns off the peripheral circuits.
After power returns, the block has to start again from reset. Software can also save state to memory and restore it, but that takes longer than using retention registers.
As an Amazon Associate I earn from qualifying purchases.
This page was drafted with AI and fact-checked by a separate AI review before publication. Our Editorial policy explains how we write and check content. If you spot an error, please tell us on our Contact page.