Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Single Cycle Datapath and Control Objectives. Learn how to enhance the datapath and control for a single cycle implementation of a simple ALU. Put all

Single Cycle Datapath and Control
Objectives. Learn how to enhance the datapath and control for a single cycle implementation of a simple ALU.
Put all your answers on these two sheets.
Below is a table that indicates which control lines are set for each type of instruction for the single-cycle implementation shown in Figure 4.24 of your textbook, which is also shown on the following page. Indi- cate the setting for each control line to support the addiuinstruction, which should not require any modifications to the datapath. Use an x when the value for a control line does not matter. (40 points)
Modify the datapath and control for the single-cycle implementation shown on the following page to add the instruction jal (jump and link), which like a j (jump) instruction transfers control to the specified address, but also updates $ra($31) with the PC+4 value. (60 points)
\table[[Instruction,\table[[Reg],[Dst]],\table[[ALU],[Src]],\table[[Memto],[Reg]],\table[[Reg],[Write]],\table[[Mem],[Read]],\table[[Mem],[Write]],Branch,Jump,\table[[ALU],[Op1]],\table[[ALU],[Op0]]],[R-format,1,0,0,1,0,0,0,0,1,0],[Iw,0,1,1,1,1,0,0,0,0,0],[sw,x,1,x,0,0,1,0,0,0,0],[beq,x,0,x,0,0,0,1,0,0,1],[j,x,x,x,0,0,0,x,1,x,x
image text in transcribed

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

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

Compose the six common types of social business messages.

Answered: 1 week ago

Question

Describe positive and neutral messages.

Answered: 1 week ago