← RTL Design Interviews · SoC Architecture Interviews

Interview Question · Defend an Architecture

Where Should the Next Frame Run?

L2 Mid-LevelL3 Seniordefend an architecture

The Question

The interviewer asks

Consider a scheduler for two different core types. ap_phone has eight equal cores. Which measurements decide where the scheduler should place a frame?

Reveal the Model Answer

Measure time per frame against the frame deadline, then energy for that same work. Include the effect of moving the job away from warm private caches. S10.2 moves a job between alike cores.

Self-Check

Tick each key point you covered in your answer.

What Interviewers Want to Hear (Mid-Level)

Filter by deadline and multiply power by time for each feasible choice.

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 chose by issue width.

The S10.13 decision model has ready=110 and width=2. Its two rows issue zero and two. What accounts for the difference?

Reveal the Model Answer

The oldest instruction is waiting. In order, it blocks both slots. Allowing ready younger instructions to pass admits two here. This counts one issue decision. It gives no frame runtime on its own.

Self-Check

Tick each key point you covered in your answer.

Assign the Five-Microsecond Frame

Which core gets this frame, and what observation would justify moving later frames to the other core?

Reveal the Model Answer

Efficiency takes 7 µs and misses 5 µs. Performance meets it with 1 µs to spare at 8 nJ more. Move only when measured time including migration fits the new budget and the completed frame costs less energy.

Self-Check

Tick each key point you covered in your answer.

I moved the job between cores.

In the S10.2 cache model core 0 ends a read of block 8 at tick 65. Core 1 ends its next read at 75. Where did the ten ticks go?

Reveal the Model Answer

The new private caches are cold. Shared L3 supplies the block in 75 − 65 = 10 ticks. Staying on core 0 would hit L1 for one tick, saving nine here. Measure how those cache ticks affect the time per frame before combining models.

Self-Check

Tick each key point you covered in your answer.

Assign the Five-Microsecond Frame

Which core gets this frame, and what observation would justify moving later frames to the other core?

Reveal the Model Answer

Efficiency takes 7 µs and misses 5 µs. Performance meets it with 1 µs to spare at 8 nJ more. Move only when measured time including migration fits the new budget and the completed frame costs less energy.

Self-Check

Tick each key point you covered in your answer.

I chose the lower power.

In S10.13 the performance row gives 9 mW for 4 µs and efficiency gives 4 mW for 7 µs. At what efficiency runtime would the energies tie?

Reveal the Model Answer

Performance costs 9 × 4 = 36 nJ. Efficiency costs 4 × 7 = 28 nJ now. The separate eight-microsecond quiz gives 32 nJ for efficiency. At fixed 4 mW the tie is 36 / 4 = 9 µs. Check the deadline before using that threshold.

Self-Check

Tick each key point you covered in your answer.

Assign the Five-Microsecond Frame

Which core gets this frame, and what observation would justify moving later frames to the other core?

Reveal the Model Answer

Efficiency takes 7 µs and misses 5 µs. Performance meets it with 1 µs to spare at 8 nJ more. Move only when measured time including migration fits the new budget and the completed frame costs less energy.

Self-Check

Tick each key point you covered in your answer.

I counted active energy alone.

The performance row finishes in 4 µs. What if the chip sleeps until the next frame, or the two cores run in lockstep?

Reveal the Model Answer

Add wake energy and idle energy for the rest of the same frame period. Charge migration before starting the meter. A lockstep pair executes and compares one job. Budget one worker.

Self-Check

Tick each key point you covered in your answer.

Assign the Five-Microsecond Frame

Which core gets this frame, and what observation would justify moving later frames to the other core?

Reveal the Model Answer

Efficiency takes 7 µs and misses 5 µs. Performance meets it with 1 µs to spare at 8 nJ more. Move only when measured time including migration fits the new budget and the completed frame costs less energy.

Self-Check

Tick each key point you covered in your answer.

What People Get Wrong

Common wrong answers and why they fail.

Misconception

A two-wide core issues two instructions every cycle.

Ready operands and the policy for passing a blocked instruction both matter.

Source S10.13, ready=110 and in-order issue.

Misconception

A shared last-level cache eliminates migration cost.

A shared hit still takes longer than a private hit in the model.

Source S10.2, core 1 read of block 8.

Learn It, Then Prove It