Answered step by step
Verified Expert Solution
Link Copied!

Question

00
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).
rIyUIE D. IVIUILICyLIE rIULESSUI DULUNULI
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.,Rl??Jload? 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],[\table[[Instruction],[decode/register fetch]],A=Reg[R[25-21]]],[,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]||],[\table[[computation, branch/],[jump completion]],,(IR[15-0]),PC=ALUO,(IR[25-0]2)],[\table[[jump completion],[Memory access or R-type],[completion]],Reg[R[15-11]]=,Load: MDR = Memory[ALUOut],,],[ALUOut,\table[[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 with AI-Powered 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

Students also viewed these Databases questions