← RTL Design Interviews · SoC Architecture Interviews
Interview Question · Explain the SoC
Follow a Peripheral Read
The Question
The interviewer asks
A program reads a switch through a peripheral register. Who supplies the address and value? When can the processor use the value?
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 processor issues the register address. The bridge selects the peripheral, which supplies the sampled switch value. The processor takes the value on the edge that completes the read.
Self-Check
Tick each key point you covered in your answer.
What Interviewers Want to Hear (Fresher)
Trace the address outward and the value back.
What Interviewers Want to Hear (Junior)
Identify the point where the processor accepts a successful response.
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 started with the address.
Two devices can both return zero. How would you tell which one answered?
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
Look at the address and the selected device. At PC 0 and PC 2, LOAD 15 selects the switches both times. The returned values differ because the switches moved between reads.
Self-Check
Tick each key point you covered in your answer.
Show One Successful Read
You may mark two moments on the trace. Which prove where the request went and what the processor received?
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
At e0 the bridge takes the GPIO address. At e3 the core accepts 00008042 from GPIO. Three clock periods separate those edges, including one wait state.
Self-Check
Tick each key point you covered in your answer.
I discussed when the value arrives.
At e2 HRDATA already shows 00008042, but HREADY is zero. May the core use that word?
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
Wait until e3. Only that edge has PSEL, PENABLE, PREADY and HREADY all high together.
Self-Check
Tick each key point you covered in your answer.
Show One Successful Read
You may mark two moments on the trace. Which prove where the request went and what the processor received?
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
At e0 the bridge takes the GPIO address. At e3 the core accepts 00008042 from GPIO. Three clock periods separate those edges, including one wait state.
Self-Check
Tick each key point you covered in your answer.
I followed the value into the processor.
The instruction names a processor register and accesses a peripheral register. Which one receives the result?
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 peripheral register supplies the data. The load writes its destination register inside the processor.
Self-Check
Tick each key point you covered in your answer.
Show One Successful Read
You may mark two moments on the trace. Which prove where the request went and what the processor received?
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
At e0 the bridge takes the GPIO address. At e3 the core accepts 00008042 from GPIO. Three clock periods separate those edges, including one wait state.
Self-Check
Tick each key point you covered in your answer.
I counted the wait states.
How long does the read take with zero, one or two waits? Where else could a larger chip spend time?
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
From address acceptance, setup and access take two periods with no wait. One wait gives three periods and two give four. Measure any delay before address acceptance, time inside the device, and time carrying the reply back.
Self-Check
Tick each key point you covered in your answer.
Show One Successful Read
You may mark two moments on the trace. Which prove where the request went and what the processor received?
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
At e0 the bridge takes the GPIO address. At e3 the core accepts 00008042 from GPIO. Three clock periods separate those edges, including one wait state.
Self-Check
Tick each key point you covered in your answer.
What People Get Wrong
Common wrong answers and why they fail.
Misconception
The address contains the switch value.
Two reads of the same register can observe different switch positions.
Source S1.2, e0 takes the address and e3 samples HRDATA.
Wrong Altitude
I would start by explaining the instruction encoding.
Identify the requester and the selected device before decoding the instruction.