Pipelining_Numerical_Questions
Pipelining_Numerical_Questions
A non-pipelined processor takes 5 ns to execute each instruction. A pipelined version takes 1 ns per
3. The throughput
A pipeline has 6 stages, each taking 3 ns. If 10 instructions are executed, find:
3. The efficiency
In a 5-stage pipeline, every 4th instruction causes a stall of 1 cycle. Find the average CPI (Cycles
per Instruction).
Assume a program has 100 branch instructions. If delayed branch technique allows one delay slot
to be filled 70% of the time with useful instructions, how many cycles are saved?
Hint: Without delay slot fill = 100 stalls, with fill = 30 stalls, cycles saved = 70
Q6. Pipeline Clock Cycle Time:
If the slowest pipeline stage takes 10 ns and others are faster, what should be the clock cycle time
If each pipeline stage takes 4 ns and there are 5 stages, how many instructions are in execution
after 20 ns?