← RTL Design Interviews · SoC Architecture Interviews
Interview Question · Plan Boot, Reset, and Power Transitions
Change the Clock While the Chip Runs
The Question
The interviewer asks
Firmware wants to move the root from RC to PLL. What must downstream registers be able to assume about the last old pulse and the first new one?
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
Pass whole pulses from one source at a time. Allow a low interval during the handover. Check that the destination can tolerate the pause and that both sources are running.
Self-Check
Tick each key point you covered in your answer.
What Interviewers Want to Hear (Junior)
Follow the high pulse across a change in select.
What Interviewers Want to Hear (Mid-Level)
Explain how both grants are sequenced and which clock must still work for recovery.
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 used an ordinary mux.
The RC pulse started at 140 ns. At the request the trace reads “request t=141 rc=1 pll=0”. What pulse does a plain mux deliver?
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
It falls at the select change, after 141 − 140 = 1 ns. The protected root finishes its 20 ns high pulse. A 1 ns runt can make one counter skip a step.
Self-Check
Tick each key point you covered in your answer.
Approve the Handover
A peripheral must count uninterrupted time while the processor switches. Would you use this root for its time base?
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
Give the time base a continuously running source. The switch preserves pulse width but inserts a measured gap. The period also changes from 40 ns to 10 ns. A separate clock costs clock distribution and requires crossings where software reads that time.
Self-Check
Tick each key point you covered in your answer.
I interlocked the two gates.
RC grant falls at 200 ns, PLL grant rises at 220 ns, and the root rises at 225 ns. Why leave both gates closed?
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
Each gate takes the request through two flip-flops. RC falls at 160 and 200 ns. PLL falls at 210 and 220 ns. The low interval lasts 225 − 200 = 25 ns. Neither source truncates the other.
Self-Check
Tick each key point you covered in your answer.
Approve the Handover
A peripheral must count uninterrupted time while the processor switches. Would you use this root for its time base?
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
Give the time base a continuously running source. The switch preserves pulse width but inserts a measured gap. The period also changes from 40 ns to 10 ns. A separate clock costs clock distribution and requires crossings where software reads that time.
Self-Check
Tick each key point you covered in your answer.
I waited for the new grant.
The second mux reports “rc_grant=0 pll_grant=0 root=0”. Can a timeout counted by the root clock rescue firmware?
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
Ask for the PLL only after lock. Here the old side already released its grant. With no PLL edge the new gate cannot open. The root cannot advance its own timeout. Check activity on an independent clock before switching and keep recovery control on a live clock.
Self-Check
Tick each key point you covered in your answer.
Approve the Handover
A peripheral must count uninterrupted time while the processor switches. Would you use this root for its time base?
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
Give the time base a continuously running source. The switch preserves pulse width but inserts a measured gap. The period also changes from 40 ns to 10 ns. A separate clock costs clock distribution and requires crossings where software reads that time.
Self-Check
Tick each key point you covered in your answer.
What People Get Wrong
Common wrong answers and why they fail.
Misconception
A stable select after the switch is sufficient.
The transition itself can shorten the current pulse.
Source S5.10, plain mux high pulse at 141 ns.
Misconception
A glitch-free switch guarantees a clock by a deadline.
The new grant needs edges from the requested source.
Source S5.10, stopped PLL and zero grants.