Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( a ) Given the data path of a CPU as shown below: Figure 1 : A simplified CPU In the data path shown, the

(a) Given the data path of a CPU as shown below:
Figure 1: A simplified CPU
In the data path shown, the S1, S2 and D fields in the instruction represent the two
source and one destination operands, and are directly connected to the address
port of the register file. Register S1 will be read into RFDUT1, while register S2
will be read into RFQUT2. RFIN will be written into register D. Registers A and B
are the input registers and C the output register of the ALU. There is a single
CPU bus in the data path.
Describe how the following instructions will be executed inside the CPU:
(i) The one-word instruction ADD R1, R2, R3(i.e. R3 R1+ R2)[1]
(ii) The 2-word instruction, ADD DFF1(R1),(R2), R3[i.c. R3 larr OFF1(R1)+
(R2)], where DFF1(R1) is the displacement addressing mode to specify the
memory address of the first source operands, DFF1 stored in the second word
of the instruction, and (R2) is the indirect mode. [8]
(b)(i) What is the throughput of instruction execution for an ideal pipeline (i.e.
number of instruction per clock cycle).[2]
(ii) Suggest one instruction that can cause the pipeline to stop and need to be
reinitialized. Explain why in one sentence. [3]
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

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

321321367, 978-0321321367

More Books

Students also viewed these Databases questions

Question

How does an OM strategy change during a produces life cycle?

Answered: 1 week ago