Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part B: Multi Cycle Processor 1 . Copy the multicycle processor datapath ( Figure B ) , so there are 2 datapath figures. 2 .

Part B: Multi Cycle Processor
1. Copy the multicycle processor datapath (Figure B), so there are 2 datapath
figures.
2. For each figure, assuming Lab2.asm runs on the multicycle processor, draw the
datapath AND write the values of the control signals for the following
instructions:
a. Figure 1. Process in cycle 19.
b. Figure 2. Process in cycle 33.
3. Make sure to:
a. label the instruction for each figure.
b. write the corresponding RTL statement(s) for the instruction during the
cycle based on Table 1.
c. write the control values next to the labels in the figure (the name of the
control signal - do NOT write the control values in a separate table).
There are altogether 12 control values. For the Operation, just write the
ALU operation, e.g. ADD, SUB, etc. - not in the format of bit value.
4. Make sure the file format to submit is a PDF file only (ONE file only).
Hint:
Identify the instruction and the specific process during the specified cycle.
Identify the relevant RTL statements, and the datapath of the identified instruction/process.
The datapath follows the instruction class datapath, i.e., R/I/J/load/store
Table 1: RTL statements
\table[[Step name,\table[[Action for R-type],[instructions]],\table[[Action for memory-reference],[instructions]],\table[[Action for],[branches]],\table[[Action for],[jumps]]],[Instruction fetch,IR= Memory[PC]],[,PC=PC+4],[Instruction,A=Reg[IR[25-21]]],[decode/register fetch,B=Reg[IR[20-16]]],[,ALUOut = PC +(sign-extend (IR[15-0])2)],[Execution, address,ALUOut = A op B,ALUOut =A+ sign-extend,if (A==B) then,PC=PC[31-28]||],[computation, branch/,,(IR[15-0]),PC=ALUOut,(IR[25-0]2)],[jump completion,,,,],[Memory access or R-type,Reg[IR[15-11]]=,Load: MDR = Memory[ALUOut],,],[completion,ALUOut,or,,],[,Store: Memory [ALUOut]= B,,],[Memory read completion,,Load: Reg[IR[20-16]]= MDR,,]]
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_2

Step: 3

blur-text-image_3

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

13th Edition Global Edition

1292263350, 978-1292263359

More Books

Students also viewed these Databases questions

Question

=+b Calculate corporate value and shareholder value.

Answered: 1 week ago

Question

What are the functions of top management?

Answered: 1 week ago

Question

Bring out the limitations of planning.

Answered: 1 week ago

Question

Why should a business be socially responsible?

Answered: 1 week ago

Question

Discuss the general principles of management given by Henri Fayol

Answered: 1 week ago