Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Single - cycle CPU implementation We will implement a hypothetical instruction sw+ in the single - cycle pipeline. sw+ is a store word, with post

Single

-

cycle CPU implementation

We will implement a hypothetical instruction sw+ in the single

-

cycle pipeline. sw+ is

a store word, with post increment that is found in some real architectures. It is

encoded as an I

-

type instruction an

d performs the following operations:

Part (a) The single

-

cycle datapath from the lecture is shown below. Show what

changes are needed to support sw+ instruction. You should only add wires and muxes

to the datapath; do no modify the main functional un

its themselves (the memory,

register file and ALU). (20 points)

Note: Please make sure that the modification will no lengthen the clock cycle.

Assume that ALU, Memory, and Register file all take 2ns, and everything else is

instantaneous.

Part (b) On the diagram, write (next to the signals name) values of all control signals

required for the sw+ instruction. (10 points)

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

More Books

Students also viewed these Databases questions

Question

Evaluating Group Performance?

Answered: 1 week ago