Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

[15 marks] Questionl: In this exercise, we examine how the ISA affects pipeline design. Problems in this exercise refer to the following new instruction If

image text in transcribed

image text in transcribed

[15 marks] Questionl: In this exercise, we examine how the ISA affects pipeline design. Problems in this exercise refer to the following new instruction If Men[Rs] = 0 then PC-PC + offset Mem [Rs +Rt]Rd Bezi (RS), offset Swi Rd, Rs(Rt) a. b. c. What must be changed in the pipelined datapath to add this instruction to the MIPS ISA? Which new control signals must be added to your pipeline? Does support for this instruction introduce any new hazards? Are stalls due to existing hazards made worse? [15 marks] Question2: We have studied multi-cycle MIPS as shown below with datapath and control unit. Forwarding unit and Data-hazard detection unit is also implemented. The calculation for the branch instruction has been moved to decode stage which helps to reduce the number of stalls from 3 to 1 due to control hazard. But this move affects the existing forwarding logic. Consider the following two cases add R1, R1,8 beq R1, R2,30 ld R1, R3,4 beq R1, R2,30 In class we have only implemented exe to exe and mem to exe forwarding but in these cases we may need to extend forwarding so that we can forward to decode stage as well Analyze above two cases and design a new unit in decodes stage that will cater these cases Draw the changes required in the below MIPS architecture along-with addition in the detection and forwarding logic [15 marks] Questionl: In this exercise, we examine how the ISA affects pipeline design. Problems in this exercise refer to the following new instruction If Men[Rs] = 0 then PC-PC + offset Mem [Rs +Rt]Rd Bezi (RS), offset Swi Rd, Rs(Rt) a. b. c. What must be changed in the pipelined datapath to add this instruction to the MIPS ISA? Which new control signals must be added to your pipeline? Does support for this instruction introduce any new hazards? Are stalls due to existing hazards made worse? [15 marks] Question2: We have studied multi-cycle MIPS as shown below with datapath and control unit. Forwarding unit and Data-hazard detection unit is also implemented. The calculation for the branch instruction has been moved to decode stage which helps to reduce the number of stalls from 3 to 1 due to control hazard. But this move affects the existing forwarding logic. Consider the following two cases add R1, R1,8 beq R1, R2,30 ld R1, R3,4 beq R1, R2,30 In class we have only implemented exe to exe and mem to exe forwarding but in these cases we may need to extend forwarding so that we can forward to decode stage as well Analyze above two cases and design a new unit in decodes stage that will cater these cases Draw the changes required in the below MIPS architecture along-with addition in the detection and forwarding logic

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

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

More Books

Students also viewed these Databases questions

Question

Describe process of preparing data for classification learning.

Answered: 1 week ago

Question

5. Identify the logical fallacies, deceptive forms of reasoning

Answered: 1 week ago

Question

6. Choose an appropriate organizational strategy for your speech

Answered: 1 week ago