← RTL Design Interviews · SoC Architecture Interviews
Interview Question · Plan Boot, Reset, and Power Transitions
Put a Timer Behind a Power Switch
The Question
The interviewer asks
A power-gated timer can lose its supply while its interrupt receiver stays awake. Draw the boundary and name what must still work during sleep.
You have two and a half minutes. Speak or type, then press Get Feedback under your answer. No credits needed.
Speech-to-text runs in your browser. Chrome and Edge may send audio to their own speech service.
You can edit your answer before you send it. Feedback uses AI and checks your answer only against our written answer. No credits are used and your answer is not saved.
Reveal the Model Answer
Keep the power controller, wake detector and isolation cell on a live supply. Clamp the timer request to its inactive level before removing power. Choose a wake source that remains powered throughout the selected mode.
Self-Check
Tick each key point you covered in your answer.
What Interviewers Want to Hear (Mid-Level)
Choose the supply and idle value for the clamp.
What Interviewers Want to Hear (Senior)
Reconcile wake latency and state loss with the energy decision.
Choose Your Follow-up
I’ve answered the opening question
Choose the route closest to your reasoning. Answer the follow-up aloud, then open the closing question.
I isolated the interrupt.
The unprotected run says “supply off isolate=0 raw=x receiver=x”. Does this row prove an interrupt occurred?
You have two and a half minutes. Speak or type, then press Get Feedback under your answer. No credits needed.
Speech-to-text runs in your browser. Chrome and Edge may send audio to their own speech service.
You can edit your answer before you send it. Feedback uses AI and checks your answer only against our written answer. No credits are used and your answer is not saved.
Reveal the Model Answer
The receiver has no defined level, so the row cannot establish a real interrupt. Drain outstanding work and clamp the active-high request to zero before switching off. The protected row reads “raw=x receiver=0”.
Self-Check
Tick each key point you covered in your answer.
Defend the Always-On Boundary
Firmware wants a timer alarm to survive complete peripheral power loss. Which alarm would you promise, and how would you test it?
You have two and a half minutes. Speak or type, then press Get Feedback under your answer. No credits needed.
Speech-to-text runs in your browser. Chrome and Edge may send audio to their own speech service.
You can edit your answer before you send it. Feedback uses AI and checks your answer only against our written answer. No credits are used and your answer is not saved.
Reveal the Model Answer
Use the always-on real-time clock alarm only for jobs that accept a five-microsecond wake. Ordinary ap_soc sleep stops the core clock and keeps supplies on. In the power-switch model, arm the alarm before cutting peripheral power and watch its request reach the controller. Verify reset and clamp release before accepting the first peripheral response.
Self-Check
Tick each key point you covered in your answer.
I waited for supply good.
Power has returned, yet the trace still says “supply on isolate=1 raw=x receiver=0”. Which later row permits release?
You have two and a half minutes. Speak or type, then press Get Feedback under your answer. No credits needed.
Speech-to-text runs in your browser. Chrome and Edge may send audio to their own speech service.
You can edit your answer before you send it. Feedback uses AI and checks your answer only against our written answer. No credits are used and your answer is not saved.
Reveal the Model Answer
“timer reset isolate=1 raw=0 receiver=0” establishes the timer’s inactive output. Keep the clamp until the source has valid state, then release it. Reset restores a known value but loses the earlier request.
Self-Check
Tick each key point you covered in your answer.
Defend the Always-On Boundary
Firmware wants a timer alarm to survive complete peripheral power loss. Which alarm would you promise, and how would you test it?
You have two and a half minutes. Speak or type, then press Get Feedback under your answer. No credits needed.
Speech-to-text runs in your browser. Chrome and Edge may send audio to their own speech service.
You can edit your answer before you send it. Feedback uses AI and checks your answer only against our written answer. No credits are used and your answer is not saved.
Reveal the Model Answer
Use the always-on real-time clock alarm only for jobs that accept a five-microsecond wake. Ordinary ap_soc sleep stops the core clock and keeps supplies on. In the power-switch model, arm the alarm before cutting peripheral power and watch its request reach the controller. Verify reset and clamp release before accepting the first peripheral response.
Self-Check
Tick each key point you covered in your answer.
I chose the lowest idle power.
The idle table gives deep sleep 29 nJ and sleep 38 nJ. The wake deadline is three microseconds. Which mode survives?
You have two and a half minutes. Speak or type, then press Get Feedback under your answer. No credits needed.
Speech-to-text runs in your browser. Chrome and Edge may send audio to their own speech service.
You can edit your answer before you send it. Feedback uses AI and checks your answer only against our written answer. No credits are used and your answer is not saved.
Reveal the Model Answer
Deep sleep saves 38 − 29 = 9 nJ but takes five microseconds to wake. Sleep takes one microsecond and keeps peripheral state. For a timer interrupt, also check its enable and whether the selected mode leaves that timer powered.
Self-Check
Tick each key point you covered in your answer.
Defend the Always-On Boundary
Firmware wants a timer alarm to survive complete peripheral power loss. Which alarm would you promise, and how would you test it?
You have two and a half minutes. Speak or type, then press Get Feedback under your answer. No credits needed.
Speech-to-text runs in your browser. Chrome and Edge may send audio to their own speech service.
You can edit your answer before you send it. Feedback uses AI and checks your answer only against our written answer. No credits are used and your answer is not saved.
Reveal the Model Answer
Use the always-on real-time clock alarm only for jobs that accept a five-microsecond wake. Ordinary ap_soc sleep stops the core clock and keeps supplies on. In the power-switch model, arm the alarm before cutting peripheral power and watch its request reach the controller. Verify reset and clamp release before accepting the first peripheral response.
Self-Check
Tick each key point you covered in your answer.
What People Get Wrong
Common wrong answers and why they fail.
Misconception
Put the clamp on the switched timer supply.
It must still drive the receiver after that supply disappears.
Source S5.7, isolation on the powered side.
Misconception
Stopping the clock removes leakage.
The idle gates still have a supply.
Source S5.7, leakage with supply present.