← RTL Design Interviews · SoC Architecture Interviews
Interview Question · Reason About Traffic and Performance
Share Four AHB Targets Between Two Managers
The Question
The interviewer asks
Design a two-manager, four-target AHB matrix. The CPU reaches ROM and DMA reaches SRAM together at e1. Why can both advance?
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 manager decodes its address to a target. Provide a request path and arbitration at each shared target so independent targets can accept together. Save a waiting request and steer each completed response to the manager that owns it.
Self-Check
Tick each key point you covered in your answer.
What Interviewers Want to Hear (Junior)
Identify a collision by target and an accepted beat by its completion edge.
What Interviewers Want to Hear (Mid-Level)
Preserve ownership through a wait and state the assumptions behind a time bound.
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 the current decode for the return.
S4.3 shows GPIO data while ready stays low and the SRAM address waits behind it. Which select chooses the data, ready and error signals returned to the manager?
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
Use the saved owner of the data phase for data, ready and error. Hold that owner through the wait. On the GPIO completion edge return its word and accept the SRAM address for the following response.
Self-Check
Tick each key point you covered in your answer.
Bound the Waiting Request
S4.4 serves DMA, CPU, DMA, CPU from e4 through e7. Can firmware use the observed two-edge maximum as a deadline guarantee?
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
That interval describes one run. Limit the length of each burst or locked sequence, the gaps between beats and the target wait per beat. Include handoff and DMA’s own completion time if the deadline ends at data return. An unbounded lock or target wait defeats a bound in clocks.
Self-Check
Tick each key point you covered in your answer.
I kept a sequence together.
In S4.13 the CPU takes a locked read at e2. At e3 DMA has a waiting read and the next turn. Why does nobody serve 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
The CPU owns the port across its read and write, including the gap. The CPU write is served at e4 with HMASTLOCK high. At e5 the CPU drops HMASTLOCK and nobody is served. DMA proceeds at e6. The unlocked race ends at 15 and the locked run at 16.
Self-Check
Tick each key point you covered in your answer.
Bound the Waiting Request
S4.4 serves DMA, CPU, DMA, CPU from e4 through e7. Can firmware use the observed two-edge maximum as a deadline guarantee?
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
That interval describes one run. Limit the length of each burst or locked sequence, the gaps between beats and the target wait per beat. Include handoff and DMA’s own completion time if the deadline ends at data return. An unbounded lock or target wait defeats a bound in clocks.
Self-Check
Tick each key point you covered in your answer.
I chose a priority rule.
S4.4 measures longest waits of two edges each with round robin. Fixed priority gives one for the CPU and four for DMA. What if both keep asking?
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
A CPU that keeps requesting can win every contested fixed-priority handoff. Round robin remembers the last service and gives the other waiting manager its turn after the current burst or locked sequence ends. Count accepted service when updating preference.
Self-Check
Tick each key point you covered in your answer.
Bound the Waiting Request
S4.4 serves DMA, CPU, DMA, CPU from e4 through e7. Can firmware use the observed two-edge maximum as a deadline guarantee?
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
That interval describes one run. Limit the length of each burst or locked sequence, the gaps between beats and the target wait per beat. Include handoff and DMA’s own completion time if the deadline ends at data return. An unbounded lock or target wait defeats a bound in clocks.
Self-Check
Tick each key point you covered in your answer.
I kept every burst together.
The DMA sends four SRAM beats. How does HOLD_BURST affect the CPU request, and could you split a locked update the same way?
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
Holding the burst delays CPU service until e5, a three-edge wait. Splitting it lets the CPU through with zero wait in this run and gives DMA a one-edge wait. A locked read and write must keep ownership across their gap to protect the update.
Self-Check
Tick each key point you covered in your answer.
Bound the Waiting Request
S4.4 serves DMA, CPU, DMA, CPU from e4 through e7. Can firmware use the observed two-edge maximum as a deadline guarantee?
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
That interval describes one run. Limit the length of each burst or locked sequence, the gaps between beats and the target wait per beat. Include handoff and DMA’s own completion time if the deadline ends at data return. An unbounded lock or target wait defeats a bound in clocks.
Self-Check
Tick each key point you covered in your answer.
What People Get Wrong
Common wrong answers and why they fail.
Half-Truth
Different addresses always run together.
Two addresses in the same single-port SRAM compete.
Half-Truth
Rotate the grant on every clock.
A grant during a target wait has yet to deliver service.