Question: Part 2: Use the single cycle model to answer the following questions. 1. Can the sltiu instruction execute correctly with this data path? Why or

Part 2: Use the single cycle model to answer the following questions.

Part 2: Use the single cycle model to answer the following questions.

1. Can the sltiu instruction execute correctly with this data path? Why or why not?

2. A nori instruction is being proposed. Can this new instruction execute correctly with this data path? Why or why not?

3. Determine the control values in the table below for the instructions. If it cannot be determined, leave it blank.

Instr RegDest ALUsrc Mem to Reg Reg Write Mem Read Mem Write Branch Jump ALU op
sltiu
noir

4. Describe the changes needed to the single cycle data path to support the jr instruction.

5. The following instruction is to be executed: sw $t1, 4($t2). The instruction is located at 0x00401000. Assume that #t1 holds a -1 and $t2 holds 0x10010010 Give the values of the following:

i. Output of sign-extended

ii. Output of shift left 2

iii. Inputs to ALU control

iv. Output from MUX before registers

v. Output to MUX before ALU

vi. Output from ALU

vii. Output from adder at top left

viii. Output from adder at top right

PC nstruction [25-0] Shift Jump address [31-0] eft 2 26 28 PC 4 131-28 Add RegDst Jum Mem Read Instruction 131-26] MemtoReg Control ALUO MemWrite ALUSrc RegWrite nstruction 125-21] Read register 1 Read Read address Instruction [20-16] Read data 1 register 2 Instruction [31-0] M write data 2 Instruction nstruction 15-11) register memory data Registers Instruction [15-0] 16 Sign- 32 extend Instruction 5-0] ALU result 1 Shift left 2 Zero ALU ALU Address data M Write Data data memory ALU control

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!