← RTL Design Interviews · SoC Architecture Interviews

Interview Question · Plan Boot, Reset, and Power Transitions

Audit a Clock-Domain Plan

L2 Mid-LevelL4 Staffboot reset and power

The Question

The interviewer asks

A chip has an independent RTC clock, a core clock and a peripheral clock divided from the core. How would you review an alarm and a command bus crossing these domains?

Reveal the Model Answer

List each source, destination, clock relationship and delivery requirement. A held alarm level, a counted event and an ordered command word need different circuits. Keep the generated peripheral clock related to its parent. Review the crossing hardware and the timing constraints together.

Self-Check

Tick each key point you covered in your answer.

What Interviewers Want to Hear (Mid-Level)

Choose a crossing circuit from the lifetime and meaning of the data.

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 chose a two-flop sampler.

In S5.3 the first stage holds one at t=26. At t=36 the second sees the level, but tick_seen stays zero. What if every tick must count?

Reveal the Model Answer

The pulse fell between destination edges. A pending bit that stays high works if several ticks may merge. For distinct events, hold each request until acknowledged when the sender can wait. If it cannot wait, provide storage sized for the arrival burst.

Self-Check

Tick each key point you covered in your answer.

Sign off the Command Round Trip

The GPIO read now uses the divided peripheral clock. A second command goes to the independent RTC. How would you check each round trip?

Reveal the Model Answer

Time GPIO against the known clock relationship. S5.11 gives the core-to-peripheral path a 10 ns deadline and 9.6067 ns slack. For the independent RTC, hold each command stable until the receiver captures and acknowledges it. Match each accepted request to one operation and one returned response. Test a paused receiver and trace the first completion after restart.

Self-Check

Tick each key point you covered in your answer.

I transferred commands one at a time.

S5.3 sends mode=10 at t=66 and receives 11 at t=76 before 10 at t=86. How would you cross one command intact? What changes for a burst?

Reveal the Model Answer

The two bits arrived on different edges. Hold the whole word stable, synchronize a request, capture once and return an acknowledgment before changing the word. For a burst, use an asynchronous FIFO and stop accepting when its free entries run out.

Self-Check

Tick each key point you covered in your answer.

Sign off the Command Round Trip

The GPIO read now uses the divided peripheral clock. A second command goes to the independent RTC. How would you check each round trip?

Reveal the Model Answer

Time GPIO against the known clock relationship. S5.11 gives the core-to-peripheral path a 10 ns deadline and 9.6067 ns slack. For the independent RTC, hold each command stable until the receiver captures and acknowledges it. Match each accepted request to one operation and one returned response. Test a paused receiver and trace the first completion after restart.

Self-Check

Tick each key point you covered in your answer.

I cut the asynchronous paths.

S5.11 goes from six timed paths to five with the RTC grouped separately. Three separate groups leave only two. Which version would you accept?

Reveal the Model Answer

The five-path report removes the independent RTC launch to the first core sampler. Keep the second sampler timed from the first, with 9.6067 ns slack here. The paths between the core clock and its divided clock have 9.6067 and 9.5696 ns slack. The three-group version hides those related-clock paths.

Self-Check

Tick each key point you covered in your answer.

Sign off the Command Round Trip

The GPIO read now uses the divided peripheral clock. A second command goes to the independent RTC. How would you check each round trip?

Reveal the Model Answer

Time GPIO against the known clock relationship. S5.11 gives the core-to-peripheral path a 10 ns deadline and 9.6067 ns slack. For the independent RTC, hold each command stable until the receiver captures and acknowledges it. Match each accepted request to one operation and one returned response. Test a paused receiver and trace the first completion after restart.

Self-Check

Tick each key point you covered in your answer.

I reviewed the data crossings.

Reset can assert while the destination clock is stopped. When can that domain safely leave reset?

Reveal the Model Answer

Assert reset without waiting for a clock. Release it through a reset synchronizer clocked by that domain after its clock resumes. Hold commands until the receiving circuit has left reset and can accept them.

Self-Check

Tick each key point you covered in your answer.

Sign off the Command Round Trip

The GPIO read now uses the divided peripheral clock. A second command goes to the independent RTC. How would you check each round trip?

Reveal the Model Answer

Time GPIO against the known clock relationship. S5.11 gives the core-to-peripheral path a 10 ns deadline and 9.6067 ns slack. For the independent RTC, hold each command stable until the receiver captures and acknowledges it. Match each accepted request to one operation and one returned response. Test a paused receiver and trace the first completion after restart.

Self-Check

Tick each key point you covered in your answer.

What People Get Wrong

Common wrong answers and why they fail.

Misconception

Two flops on every data bit transfer a word.

Different bits can arrive on different destination edges.

Source S5.3, mixed mode word at t=76.

Tool as Truth

A clean timing report proves all pulses arrived.

An exception removes a timing check without capturing any event.

Source S5.11, timing groups and crossing hardware.

Learn It, Then Prove It