Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q3. (15%) Consider the following 32-bit multi-cycle datapath designed for lw, sw, beq, j and R-type (add, sub, and, or, slt) instructions. Zere Bli PCWhite

image text in transcribed
image text in transcribed
image text in transcribed
Q3. (15%) Consider the following 32-bit multi-cycle datapath designed for lw, sw, beq, j and R-type (add, sub, and, or, slt) instructions. Zere Bli PCWhite Control PCWrite lore Merupere Mewn Write IRWrite Motorok Control Unit PCS TargetWrite ALUD ALUSIB LALUSCA Reddite. Besls. ALU Control PCLoad avaz register-file rreg1 Sreg1 rreg2 Sreg2 1 ! Srt ALU PC Memory address data or Instr. Instruction Register wreg wdata Srt data Targerinite POSTE ALUResult m sign extend shift left-2 ALUResult Target shift left 2 1. We want to execute jal Next instruction (J-type instruction) on this datapath. Can we execute it without having any datapath modification? If yes, verify your answer. If no, what modifications are needed? Show the required modification (if any). Give the names of additional control signals (if any). 2. We want to execute bne $5, $6 instruction (I-type instruction) on this datapath. Can we execute it without having any datapath modification? If yes, verify your answer. If no, what modifications are needed? Show the required modification (if any). Give the names of additional control signals (if any). Q3. (15%) Consider the following 32-bit multi-cycle datapath designed for lw, sw, beq, j and R-type (add, sub, and, or, slt) instructions. Zere Bli PCWhite Control PCWrite lore Merupere Mewn Write IRWrite Motorok Control Unit PCS TargetWrite ALUD ALUSIB LALUSCA Reddite. Besls. ALU Control PCLoad avaz register-file rreg1 Sreg1 rreg2 Sreg2 1 ! Srt ALU PC Memory address data or Instr. Instruction Register wreg wdata Srt data Targerinite POSTE ALUResult m sign extend shift left-2 ALUResult Target shift left 2 1. We want to execute jal Next instruction (J-type instruction) on this datapath. Can we execute it without having any datapath modification? If yes, verify your answer. If no, what modifications are needed? Show the required modification (if any). Give the names of additional control signals (if any). 2. We want to execute bne $5, $6 instruction (I-type instruction) on this datapath. Can we execute it without having any datapath modification? If yes, verify your answer. If no, what modifications are needed? Show the required modification (if any). Give the names of additional control signals (if any)

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

The Lean Audit A Detailed User Guide For The Lean Factory Audit Online

Authors: Isaias Wallaker

1st Edition

B09R3HXJ11, 979-8408651320

More Books

Students also viewed these Accounting questions