← RTL Design Interviews · SoC Architecture Interviews
Interview Question · Reason About Traffic and Performance
Which Core Finishes First?
The Question
The interviewer asks
Three cores retire the same 15 instructions. Their modeled clock periods are 124, 66 and 66 units, where one unit is the delay through one logic gate. Which other measurement decides the race?
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
Count cycles through the same completion boundary. Multiply each count by its own clock period. Average cycles per instruction help explain the result.
Self-Check
Tick each key point you covered in your answer.
What Interviewers Want to Hear (Fresher)
Convert cycles into time before ranking designs.
What Interviewers Want to Hear (Mid-Level)
Reconstruct the cycle count and identify which period assumptions matter.
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 favored the shorter period.
The multicycle row reads “58 cycles | CPI 3.87 | period 66”. Why does the single-cycle implementation win this pair?
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 multicycle load alone uses five steps, and other instructions also span several clocks. Its total time is 58 × 66 = 3828 gate levels. Each step pays the full period. An add costs 4 × 66 = 264 against 124. The single-cycle version uses 15 × 124 = 1860 gate levels.
Self-Check
Tick each key point you covered in your answer.
Set a Break-Even Period
At the original delays, the single-cycle run takes 1860 gate levels. How slow can the pipeline clock become before its advantage disappears?
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 25 cycles the tie is 1860 / 25 = 74.4 gate levels per cycle. The original period of 66 leaves 8.4 gate levels of margin. This comparison holds the program, cycle counts and rival time fixed.
Self-Check
Tick each key point you covered in your answer.
I expected one completion per cycle.
The pipeline takes 25 cycles for 15 instructions. The trace has two taken branches and one jump. Where do ten cycles go?
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
Filling five stages costs four extra cycles. Three redirects cost two cycles each. The total is 15 + 4 + 6 = 25 cycles, or 1650 gate levels.
Self-Check
Tick each key point you covered in your answer.
Set a Break-Even Period
At the original delays, the single-cycle run takes 1860 gate levels. How slow can the pipeline clock become before its advantage disappears?
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 25 cycles the tie is 1860 / 25 = 74.4 gate levels per cycle. The original period of 66 leaves 8.4 gate levels of margin. This comparison holds the program, cycle counts and rival time fixed.
Self-Check
Tick each key point you covered in your answer.
I priced an unchanged clock.
The quiz changes memory delay to 80 levels and reports “period 81”. Does the pipeline still finish in 1650 units?
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 still takes 25 cycles, but time becomes 25 × 81 = 2025 gate levels. The memory stage now sets the period.
Self-Check
Tick each key point you covered in your answer.
Set a Break-Even Period
At the original delays, the single-cycle run takes 1860 gate levels. How slow can the pipeline clock become before its advantage disappears?
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 25 cycles the tie is 1860 / 25 = 74.4 gate levels per cycle. The original period of 66 leaves 8.4 gate levels of margin. This comparison holds the program, cycle counts and rival time fixed.
Self-Check
Tick each key point you covered in your answer.
What People Get Wrong
Common wrong answers and why they fail.
Half-Truth
The highest clock rate wins.
Two designs run at the same clock rate and use different numbers of cycles.
Tool as Truth
These times give silicon frequencies.
The periods use modeled delays in gate levels.
Source S2.6, logic depth versus physical delay.