Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

question : Trace the following instructions showing the path for each instruction execution as well as the values in each control signal and wire during

question : Trace the following instructions showing the path for each instruction execution as well as the values in each control signal and wire during the execution.

and $s1 $t0 $a3

lw $s6 , 8($t2)

Appendix A: MIPS instruction set architecture

Instructions

o Arithmetic: add, addi, sub, mul

o Load/Store: lw, lh, lhu, lb, lbu, sw, sh, sb, lui

o Logic: sll, srl, and, andi, or, ori, nor

o Control flow: beq, bne, j, jal, jr

o Comparison: slt, slti, sltu, sltui

Appendix B: MIPS datapath (single cycle implementation):

image text in transcribed

Add (o 23 - ALU 4 - Add result Shift left 2 RegDst Branch Mem Read Instruction (31-26] MemtoReg Control ALUOP Mem Write ALUSrc RegWrite Instruction (25-21] PCI- Read address Instruction (20-16] Read register 1 Read Read data 1 register 2 Write Read Zero ALU ALU Instruction (31-0] Instruction memory 2x Read Address data result Instruction (1511] register data 2 Cx-39 * Write data Registers Write Data data memory Instruction (15-0] 16 32 Sign- extend ALU control Instruction [5-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

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

8th Edition

013460153X, 978-0134601533

More Books

Students also viewed these Databases questions

Question

Who will receive the final evaluation?

Answered: 1 week ago

Question

4. Make recommendations on steps to take to melt the glass ceiling.

Answered: 1 week ago

Question

1. Discuss the potential legal issues that relate to training.

Answered: 1 week ago