← RTL Design Interviews · SoC Architecture Interviews
Interview Question · Diagnose a Chip from Evidence
The Timer Is Pending. How Late Is Service?
The Question
The interviewer asks
A trace shows a timer interrupt and a jump into its handler. The device owner reports a late response. Which moments would you timestamp?
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
Start at the timer event. Mark pending, entry, arrival of the first handler word and the first useful device action. State which pair the deadline measures.
Self-Check
Tick each key point you covered in your answer.
What Interviewers Want to Hear (Mid-Level)
Assign periods to delivery, waiting for entry and instruction fetch.
What Interviewers Want to Hear (Senior)
Identify the longest overlapping wait and distinguish a trace of execution from elapsed time.
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 measured from pending.
The S6.15 timer model records event e0, pending e1, entry e3 and first word e5. What would a measurement starting at e1 omit?
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 omits one period of delivery. Event to first word takes 1 + 2 + 2 = 5 periods. Pending to first word takes four. Neither row timestamps a completed device access.
Self-Check
Tick each key point you covered in your answer.
Choose the First Change
For the nine-period masked case, the device owner requires five periods from event to first word. Would faster handler memory alone suffice?
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
Even zero fetch time leaves 1 + 6 = 7 periods. Shorten the masked interval to at most two periods to reach five with the original memory. With one masked edge the separate run still reports “latency=5 clock periods”. Keep the shared update safe when shortening the mask. If handlers mask each other, include the longest blocking handler in each other interrupt’s worst case, then measure device service separately.
Self-Check
Tick each key point you covered in your answer.
I added the waits.
In the masked example the instruction ends at e3 while the MIE gate stays closed until e7. When can the first word arrive?
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
Both waits start at pending e1. Entry waits for the later event. One delivery period plus max(2, 6) plus two periods for fetch gives 9. The four extra periods over baseline occur before fetch.
Self-Check
Tick each key point you covered in your answer.
Choose the First Change
For the nine-period masked case, the device owner requires five periods from event to first word. Would faster handler memory alone suffice?
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
Even zero fetch time leaves 1 + 6 = 7 periods. Shorten the masked interval to at most two periods to reach five with the original memory. With one masked edge the separate run still reports “latency=5 clock periods”. Keep the shared update safe when shortening the mask. If handlers mask each other, include the longest blocking handler in each other interrupt’s worst case, then measure device service separately.
Self-Check
Tick each key point you covered in your answer.
I captured the program path.
In the separate S8.4 capture, “packet I 48” leads to 80 and “packet A 48” returns from 88. Can those addresses measure time until service?
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
They establish where execution diverted and resumed. They give no timestamp for the timer event or device access. Capture those edges on the same time base before assigning the delay to firmware.
Self-Check
Tick each key point you covered in your answer.
Choose the First Change
For the nine-period masked case, the device owner requires five periods from event to first word. Would faster handler memory alone suffice?
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
Even zero fetch time leaves 1 + 6 = 7 periods. Shorten the masked interval to at most two periods to reach five with the original memory. With one masked edge the separate run still reports “latency=5 clock periods”. Keep the shared update safe when shortening the mask. If handlers mask each other, include the longest blocking handler in each other interrupt’s worst case, then measure device service separately.
Self-Check
Tick each key point you covered in your answer.
What People Get Wrong
Common wrong answers and why they fail.
Misconception
A pending request means the handler has started.
The gate may still be closed or an instruction unfinished.
Source S6.15, pending e1 and entry e3.
Misconception
The first fetched instruction proves the device was serviced.
Saving registers can precede the first device access.
Source S6.15, service latency endpoints.