Question: for ( i = 0 ; i < 1 0 0 ; i + + ) c [ i ] = a [ i ]

for (i=0; i<100; i++)
c[i]= a[i]+ b[i];
1. We use a 5-stage pipelined adder to implement the for loop. The adder is running at 200 MHz.
How many clock cycles are needed to finish the for loop?
Answer=104 clock cycles.
How many nanoseconds are needed to finish the for loop?
Answer=520 ns.
2. We use the processor to implement the for loop. The frequency is 500 MHz. Each iteration takes 10 instructions. CPI =1.5
How many clock cycles are needed to finish the for loop?
Answer=1500 clock cycles.
How many nanoseconds are needed to finish the for loop?
Answer=3000 ns.
3. What is speedup for using the pipelined adder?
(keep two decimal places in the solution, e.g.,6.78)
Answer=5.77
can you tell me step by step how we can get this answers for the question

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!