Question: CPU 1 ( pipelined ) : 6 - stage pipeline ( Instruction Fetch, Decode, Execute, Memory, Write Back, Flush ) . Each stage takes 4
CPU pipelined:
stage pipeline Instruction Fetch, Decode, Execute, Memory, Write Back, Flush
Each stage takes ns
Due to data hazards, there is a pipeline delay of ns after every instructions.
CPUpipelined:
stage pipeline Memory Instruction Fetch, DecodeExecute Write Back
Each stage takes ns
Due to data hazards, there is a stall pipeline delay of ns after every instructions.
CPU nonpipelined:
Executes each instruction in ns
Calculate the effective throughput of CPU considering the pipeline delay due to data hazards.
Compare throughput of CPU with the throughput of the nonpipelined CPU.
Which CPU would be more efficient for a program with a high frequency of data hazards, explain your answer.
Compute the total execution times for each instruction for each CPU.
Please explain the calculations and reasoning like im
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
