Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

do question no d b) Suppose you have now implemented basic pipelining in this processor. Consider the following piece of code. add $50, $so, $t1

image text in transcribed

do question no d

b) Suppose you have now implemented basic pipelining in this processor. Consider the following piece of code. add $50, $so, $t1 sub $50, $so, $t2 lw $51, 20($t3) add $s2, $s1, $50 A friend of yours explains the following about the execution time of this code: "The clock cycle time of the pipelined processor will be 50 ps, since this is the minimum time taken by any individual stage. The first instruction will require six clock cycles, and every following instruction will require one additional cycle. The total number of clock cycles will therefore be 6+1+1+ 1 = 9. The execution time of this code will therefore be 9*50 = 450 ps." You are worried your friend may not pass their final examination. Explain why your friend is wrong. In your answer, clearly mention the reasons that your friend is wrong, along with the correct values of the clock cycle time of the processor, the number of clock cycles required for the given code to execute, and the total time taken for this code. Include a timing diagram/s as well. c) Suppose you have now implemented bypassing in your pipelined processor. State and explain the modified time required for the code in part (b) to execute. You should include a timing diagram in your answer. d) Explain how the execution time of the code in (b) can be improved further after bypassing has been implemented

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Administration

Authors: Adam Jorgensen, Bradley Ball

1st Edition

111885926X, 9781118859261

Students also viewed these Databases questions