← RTL Design Interviews · SoC Architecture Interviews

Interview Question · Explain the SoC

When May the Processor Call the Fabric?

L1 JuniorL2 Mid-Levelexplain the soc

The Question

The interviewer asks

A processor boots beside programmable logic on ap_fpga. The first driver wants to read a fabric register. Which two milestones would you put in the boot contract?

Reveal the Model Answer

Track loader completion on the hard side and configured logic out of reset on the fabric side. Open the bridge when both are ready. While the region is unavailable, give software a defined response. The exercise sums ticks for ap_fpga. Vendor boot orders are not checked in S10.19.

Self-Check

Tick each key point you covered in your answer.

What Interviewers Want to Hear (Junior)

Identify which half configures the other and where software can run first.

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 waited for configuration.

S10.19 gives loader_done=92 fabric_live=67 for fabric-first. Hard-first gives 25 and 92. Which sequence starts software sooner, and which opens the bridge sooner?

Reveal the Model Answer

The hard-first loader finishes at 25 and can do hard-side work. Both bridges open at 92 because each waits for its later milestone. With a kept design the fabric is live at 3 and the bridge opens at 25. These are exercise ticks.

Self-Check

Tick each key point you covered in your answer.

Choose an Order for Field Updates

The board must report a failed fabric update over a hard-side port. Which boot order would you budget for?

Reveal the Model Answer

Choose hard-first so diagnostics can run independently. Keep fabric access closed until configuration and local reset finish. Budget the exercise wait from loader completion at 25 to bridge opening at 92, a derived 67 ticks. Test recovery with an image that never becomes ready.

Self-Check

Tick each key point you covered in your answer.

I opened the driver early.

In the separate S10.14 run the first read returns an error in one cycle. The configured read takes eleven and returns a5. What should the driver infer?

Reveal the Model Answer

The first response terminates access to an unavailable design. Retry after readiness. In this run hard and fabric clocks have periods of 10 and 40 ns. Budget the bridge crossing for every later access. Four polls already take 45 hard cycles.

Self-Check

Tick each key point you covered in your answer.

Choose an Order for Field Updates

The board must report a failed fabric update over a hard-side port. Which boot order would you budget for?

Reveal the Model Answer

Choose hard-first so diagnostics can run independently. Keep fabric access closed until configuration and local reset finish. Budget the exercise wait from loader completion at 25 to bridge opening at 92, a derived 67 ticks. Test recovery with an image that never becomes ready.

Self-Check

Tick each key point you covered in your answer.

I closed the bridge before a swap.

S10.19 suppresses eight stray valid indications and eight interrupts with decoupling. Why does an older read still show “answered=0 after 20 ticks”?

Reveal the Model Answer

Closing the fence hid its reply. Stop admitting work, drain accepted requests, then decouple data and interrupts. Have the static side answer new accesses while the region changes. Reopen only after the new design is initialized.

Self-Check

Tick each key point you covered in your answer.

Choose an Order for Field Updates

The board must report a failed fabric update over a hard-side port. Which boot order would you budget for?

Reveal the Model Answer

Choose hard-first so diagnostics can run independently. Keep fabric access closed until configuration and local reset finish. Budget the exercise wait from loader completion at 25 to bridge opening at 92, a derived 67 ticks. Test recovery with an image that never becomes ready.

Self-Check

Tick each key point you covered in your answer.

I let software start before the fabric.

In hard-first order a fabric pin controls a supply switch. What determines its level before tick 92?

Reveal the Model Answer

The fabric driver is unavailable during configuration. Fit a board resistor that holds the switch at its safe level until configured logic takes ownership.

Self-Check

Tick each key point you covered in your answer.

Choose an Order for Field Updates

The board must report a failed fabric update over a hard-side port. Which boot order would you budget for?

Reveal the Model Answer

Choose hard-first so diagnostics can run independently. Keep fabric access closed until configuration and local reset finish. Budget the exercise wait from loader completion at 25 to bridge opening at 92, a derived 67 ticks. Test recovery with an image that never becomes ready.

Self-Check

Tick each key point you covered in your answer.

What People Get Wrong

Common wrong answers and why they fail.

Misconception

A running hard processor proves the fabric can respond.

The hard-first loader finishes while fabric is still unavailable.

Source S10.19, “order=hard-first loader_done=25 fabric_live=92 bridge_open=92”.

Misconception

A quiet interrupt proves a fenced transaction completed.

The fence can hide a reply too.

Source S10.19, unanswered read after 20 ticks.

Learn It, Then Prove It