Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4. (5 pts) We would like to add the srl (shift right logical) instruction to the single cycle datapath discussed in class. You will need

image text in transcribed

4. (5 pts) We would like to add the "srl" (shift right logical) instruction to the single cycle datapath discussed in class. You will need to feed the shamt field to the ALU so that it can shift using the shift amount. (You can assume that the ALU has an implementation of shift right logical if a shift amount and an integer to be shifted are inserted and its ALUOp is 11.) Trace which datapaths in the following picture are used to perform the "srl instruction by marking the paths, and add datapath(s) and control signal(s) to the single-cycle datapath for the "srl" instruction, if it is necessary. (You should also make sure that previously existing instructions such as R-format (add.sub.and.or.sl), lw, sw, and beq still work with this additional instruction.) Download the following PDF JPG file, use some software (for instance, Microsoft Paint) to draw any new datapath(s) and signal(s) using red color. (You can copy & paste your image back into your document such as MS Word.) Explain when the new signal(s) that you chose is set to O, and also 1, if any. Also specify the value of other existing control signals RegDst, ALUSre, MemtoReg, RegWrite, MemRead, MemWrite, Branch, ALUOpO, and ALUOp Download the ligure from here (PDE file) star 1 Read ALU ALU 115-0 4. (5 pts) We would like to add the "srl" (shift right logical) instruction to the single cycle datapath discussed in class. You will need to feed the shamt field to the ALU so that it can shift using the shift amount. (You can assume that the ALU has an implementation of shift right logical if a shift amount and an integer to be shifted are inserted and its ALUOp is 11.) Trace which datapaths in the following picture are used to perform the "srl instruction by marking the paths, and add datapath(s) and control signal(s) to the single-cycle datapath for the "srl" instruction, if it is necessary. (You should also make sure that previously existing instructions such as R-format (add.sub.and.or.sl), lw, sw, and beq still work with this additional instruction.) Download the following PDF JPG file, use some software (for instance, Microsoft Paint) to draw any new datapath(s) and signal(s) using red color. (You can copy & paste your image back into your document such as MS Word.) Explain when the new signal(s) that you chose is set to O, and also 1, if any. Also specify the value of other existing control signals RegDst, ALUSre, MemtoReg, RegWrite, MemRead, MemWrite, Branch, ALUOpO, and ALUOp Download the ligure from here (PDE file) star 1 Read ALU ALU 115-0

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

More Books

Students also viewed these Databases questions

Question

Differentiate between HR metrics and HR analytics.

Answered: 1 week ago

Question

Define Administration?

Answered: 1 week ago

Question

Define Decision making

Answered: 1 week ago

Question

What are the major social responsibilities of business managers ?

Answered: 1 week ago

Question

What are the skills of management ?

Answered: 1 week ago

Question

3. Is there opportunity to improve current circumstances? How so?

Answered: 1 week ago

Question

2. How will you handle the situation?

Answered: 1 week ago