Question: I need to have the answer illustrated within the circuit. I have been provided with an example that demonstrates the similarities of what I need,

I need to have the answer illustrated within the circuit. I have been provided with an example that demonstrates the similarities of what I need, along with the circuit for this work.
1.(60 points) Consider the following single-cycle MIPS processor. For each of the three given instructions, do the following tasks:
Specify the MIPS fields (op-code, rs, rt, rd, shamt, funct, immediate/offset),
Annotate the diagram by specifying the value of each blue and black wire,
Highlight the active datapaths involved in the instruction.
a.(20 points) lw $t1,12($s3) assuming that PC value is 0X4000, $s3 contains 0X2000 and address 0X200C contains the word 0X10203040
b.(20 points) beq $s2, $s5, ELSE assuming that PC value is 0X4004, $s2 contains 0X5, $s5 contains 0X5 and ELSE labels an instruction that is placed 5 instructions before the current instruction.
c.(20 points) sub $s1, $t2, $t4 assuming that PC value is 0X4008, $t2 contains 0X5678 and $t4 contains 0X1234
2.(20 points) Assuming that the op-codes of BEQ and BNE instructions are 4(000100) and 5(000101) respectively, redraw the above diagram so that the resulting circuit can handle both BEQ and BNE instructions (currently, it is designed to handle BEQ only). Hint: Assume that "Branch" output of "Control" unit gets asserted for both BEQ and BNE. To distinguish BEQ and BNE, you can get help from Instruction[26] which is zero for BEQ and one for BNE.
3.(20 points) Assuming that the following numbers show the delay of different circuits participating in the above architecture,
a.(8 points) Calculate the overall delay of running a LW instruction
b.(8 points) Calculate the overall delay of running a BEQ instruction.
c.(4 points) Calculate the maximum clock rate that we can assign to this processor based on the numbers calculated in parts (a) and (b).
Instruction Memory: 150ps
Data Memory: 200ps
Register File: 200ps
ALU: 140ps
Sign-extend: 20ps
Shift-Left 2: 15ps
Mux: 25ps
Adders: 30ps
 I need to have the answer illustrated within the circuit. I

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!