← RTL Design Interviews · SoC Architecture Interviews
Interview Question · Diagnose a Chip from Evidence
The Watchdog Is Quiet. Is the Product Healthy?
The Question
The interviewer asks
A timer handler runs regularly but the application stops producing results. How should software earn permission to kick the watchdog?
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
Require fresh evidence from each required job. One supervisor consumes that evidence once per round and kicks inside the permitted window. Keep the watchdog running independently of the jobs it supervises.
Self-Check
Tick each key point you covered in your answer.
What Interviewers Want to Hear (Junior)
Distinguish a healthy kick from an early or missing one.
What Interviewers Want to Hear (Senior)
Tie each accepted kick to recent work and budget the time to 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 kicked as frequently as possible.
S6.11 shows “early before left=5” followed by “left=0 irq=1”. Why did a write with time remaining cause a warning?
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 counter starts at six and accepts kicks with three, two or one ticks left. After one tick the window is still closed. An early kick starts the same two-tick grace period as a timeout. In the separate S6.18 early-kick quiz, the kick at t=32 leaves five ticks and ends with warning=1 reset=1.
Self-Check
Tick each key point you covered in your answer.
Set the Window for Production
The healthy loop spaces kicks by 128 machine-time ticks. How would you defend the current window and decide whether to widen 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
Kicks are accepted after three to five supervision ticks. The phase-safe spacing derived from 32 mtime ticks per supervision tick is 96 to 160. The measured 128 sits midway, but measure the earliest and latest healthy rounds including time spent handling interrupts. A wider window tolerates more variation but admits more faulty schedules. Extending the timeout also delays recovery.
Self-Check
Tick each key point you covered in your answer.
I bounded the recovery time.
In the S6.18 job-3 failure, warning arrives at 448. Does that fit six supervision ticks of 32 machine-time ticks each?
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
448 − 286 = 162. The first supervision edge can arrive partway through a 32-tick interval. The warning falls after 160 and within 192 ticks. Reset follows two supervision ticks later, at 448 + 64 = 512.
Self-Check
Tick each key point you covered in your answer.
Set the Window for Production
The healthy loop spaces kicks by 128 machine-time ticks. How would you defend the current window and decide whether to widen 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
Kicks are accepted after three to five supervision ticks. The phase-safe spacing derived from 32 mtime ticks per supervision tick is 96 to 160. The measured 128 sits midway, but measure the earliest and latest healthy rounds including time spent handling interrupts. A wider window tolerates more variation but admits more faulty schedules. Extending the timeout also delays recovery.
Self-Check
Tick each key point you covered in your answer.
I moved the kick into the handler.
S6.18 shows “jobs=10 kicks=9” in the healthy run and “jobs=3 kicks=9 | armed=1 warning=0 reset=0” with handler kicks. Which counter would you trust?
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
Nine kicks establish timely writes. Main was dead and the watchdog never warned. Each task sets a flag after its job. Kick only when all flags are set, then clear them for the next round.
Self-Check
Tick each key point you covered in your answer.
Set the Window for Production
The healthy loop spaces kicks by 128 machine-time ticks. How would you defend the current window and decide whether to widen 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
Kicks are accepted after three to five supervision ticks. The phase-safe spacing derived from 32 mtime ticks per supervision tick is 96 to 160. The measured 128 sits midway, but measure the earliest and latest healthy rounds including time spent handling interrupts. A wider window tolerates more variation but admits more faulty schedules. Extending the timeout also delays recovery.
Self-Check
Tick each key point you covered in your answer.
I stopped at a breakpoint.
S6.11 prints “bench halt left=6” and “production halt left=2”. Which setting belongs in the production test?
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 production counter running during halt. A bench freeze allows inspection but conceals the timeout that a real halt would cause. Exercise warning and reset again with production settings.
Self-Check
Tick each key point you covered in your answer.
Set the Window for Production
The healthy loop spaces kicks by 128 machine-time ticks. How would you defend the current window and decide whether to widen 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
Kicks are accepted after three to five supervision ticks. The phase-safe spacing derived from 32 mtime ticks per supervision tick is 96 to 160. The measured 128 sits midway, but measure the earliest and latest healthy rounds including time spent handling interrupts. A wider window tolerates more variation but admits more faulty schedules. Extending the timeout also delays recovery.
Self-Check
Tick each key point you covered in your answer.
What People Get Wrong
Common wrong answers and why they fail.
Misconception
A periodic interrupt proves the application is advancing.
A handler can keep running after main hangs.
Source S6.18, failed job 3 with nine handler kicks.
Misconception
Wait for the warning handler before resetting.
That handler might itself be stuck.
Source S6.11, grace period and reset after warning.