Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You should write your answers as clearly and concisely as possible. For each instruction, use figure 4 . 3 5 and add the control signals

You should write your answers as clearly and concisely as possible. For each instruction,
use figure 4.35 and add the control signals as shown in figure 4.50. To keep the resulting
figure simple, just add the control signals that are relevant to the instruction in each
problem. One copy of figure 4.35 for each instruction should be sufficient. (25 points each).
Write your name and homework number on the top of the first page.
Implement the li I-type instruction on the multicycle datapath. Include your diagram,
a description, and the control signal values.
Implement the lui I-type instruction on the datapath. Include your diagram, a
description, and the control signal values.
Implement the jal J-type instruction on the multicycle datapath. Include your
diagram, a description, and the control signal values.
Implement the jr R-type instruction on the multicycle datapath. Include your
diagram, a description, and the control signal values FIGURE 4.35 The pipelined version of the datapath in Figure 4.33. The pipeline registers, in color, separate each pipeline stage.
They are labeled by the stages that they separate; for example, the first is labeled IF/ID because it separates the instruction fetch and instruction
decode stages. The registers must be wide enough to store all the data corresponding to the lines that go through them. For example, the
IF/ID register must be 64 bits wide, because it must hold both the 32-bit instruction fetched from memory and the incremented 32-bit PC
address. We will expand these registers over the course of this chapter, but for now the other three pipeline registers contain 128,97, and 64
bits, respectively. FIGURE 4.50 The control lines for the final three stages. Note that four of the nine control lines
are used in the EX phase, with the remaining five control lines passed on to the EX/MEM pipeline register
extended to hold the control lines; three are used during the MEM stage, and the last two are passed to MEM/
WB for use in the WB stage.
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

Database Programming With Visual Basic .NET

Authors: Carsten Thomsen

2nd Edition

1590590325, 978-1590590324

More Books

Students also viewed these Databases questions

Question

2. What are the components of IT infrastructure?

Answered: 1 week ago