Question: 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,,]]
 Part B: Multi Cycle Processor 1. Copy the multicycle processor datapath

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!