Consider a pipeline in a processor that has 4 stages: (1) instruction fetch and decode -...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider a pipeline in a processor that has 4 stages: (1) instruction fetch and decode - 120 ns (2) calculate and fetch operand address - 90 ns (3) instruction execution - 40 ns and (4) write result operand - 75 ns. The times required in each stage are shown following the name of the stage. For example, the instruction fetch and decode stage requires 120 ns to complete. Assume that every instruction in the instruction set requires the use of all stages of the pipeline. Also assume that the stages of the pipeline are clocked with a common clock. (i) (ii) Identify the execution time of a 7000-instruction program without pipelining. Since all stages of the pipeline are clocked with a single clock, interpret the fastest frequency of the clock for this pipeline. (iii) Identify the execution time of a 10000-instruction program with pipelining (Assume there are no hazards occurring in the pipeline). (iv) Assume that the following sequence of instructions is executed by the processor: 11, 12, 13, 14, 15 with a data hazard between 14 and 15 and a memory resource hazard between Il and 13. Using Table Q3(a), write the instruction that resides in the calculate and fetch operand address, instruction execution and write result operand stages of the pipeline for each period (from T1 to T10) taking into consideration the delay required to correct the data hazard between 14 and 15 and the memory resource hazard between Il and 13. Consider a pipeline in a processor that has 4 stages: (1) instruction fetch and decode - 120 ns (2) calculate and fetch operand address - 90 ns (3) instruction execution - 40 ns and (4) write result operand - 75 ns. The times required in each stage are shown following the name of the stage. For example, the instruction fetch and decode stage requires 120 ns to complete. Assume that every instruction in the instruction set requires the use of all stages of the pipeline. Also assume that the stages of the pipeline are clocked with a common clock. (i) (ii) Identify the execution time of a 7000-instruction program without pipelining. Since all stages of the pipeline are clocked with a single clock, interpret the fastest frequency of the clock for this pipeline. (iii) Identify the execution time of a 10000-instruction program with pipelining (Assume there are no hazards occurring in the pipeline). (iv) Assume that the following sequence of instructions is executed by the processor: 11, 12, 13, 14, 15 with a data hazard between 14 and 15 and a memory resource hazard between Il and 13. Using Table Q3(a), write the instruction that resides in the calculate and fetch operand address, instruction execution and write result operand stages of the pipeline for each period (from T1 to T10) taking into consideration the delay required to correct the data hazard between 14 and 15 and the memory resource hazard between Il and 13.
Expert Answer:
Related Book For
Computer organization and architecture designing for performance
ISBN: 978-0136073734
8th edition
Authors: william stallings
Posted Date:
Students also viewed these programming questions
-
can someone solve this Modern workstations typically have memory systems that incorporate two or three levels of caching. Explain why they are designed like this. [4 marks] In order to investigate...
-
Portray in words what transforms you would have to make to your execution to some degree (a) to accomplish this and remark on the benefits and detriments of this thought.You are approached to compose...
-
The advantages of the computerized conversion process model " What is the EOQ model? (For self-study and research) What is JIT? (Self study and research) A firm expects to sell 2000 units of its...
-
There are only four payroll weeks in March. Calculate the total remittance that Star Company would make to the CRA in the month of April based on its March payroll activities. Refer to Exercises 9-4...
-
The following data (stored in Drink) represent the amount of soft drink in a sample of 50 2-liter bottles: a. Construct a cumulative percentage distribution. b. On the basis of the results of (a),...
-
Why are the attributes of interest important in a sampling plan?
-
Highland Manufacturing produces two products in its Saratoga plant, balzene and galvene. Since it opened its doors in 1965, Highland has been using a single manufacturing overhead pool to accumulate...
-
Shumaker Company manufactures a line of high-top basketball shoes. At the beginning of the year, the following plans for production and costs were revealed: Pairs of shoes to be produced and sold...
-
Jeremy owns a cafe and uses normal costing. At year end, they have an applied material overhead of $90,000. Their actual material overhead was $83,000. Using the direct write-off method, what would...
-
Why is viscous damping used in most cases rather than other types of damping?
-
If the characteristic roots have a zero imaginary part, the response of the system will be: a. oscillatory b. nonoscillatory c. steady
-
What is the difference between the peak amplitude and the resonant amplitude?
-
The frequency of oscillation of the response of a system will be higher if the imaginary part of the roots is: a. smaller b. zero c. larger
-
True or False. The phase angle of the response depends on the amplitude of the forcing function.
-
Analyze the physical flow for In the Doghouse In the Doghouse produces wooden doghouses with shingled roofs. At the beginning of June, there were 300 units in BWIP with costs of $14,304. During the...
-
Bobbie Singh provides writing services for small businesses. He blogs for companies that need professionally written content. His business records at November 15, 2023, are shown below: During the...
-
Can you name five types of channels of communication?
-
How would you define your own leadership style? Do you have examples you can share with others on how you lead when called on?
-
Revisit the definition of strategic communication and then review the vignette at the beginning of the chapter. Match the different terms in the definition to the different entities in the vignette.
Study smarter with the SolutionInn App