Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
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

Database Management An Organizational Perspective

Authors: Richard T. Watson

1st Edition

0471305340, 978-0471305347

More Books

Students also viewed these Databases questions

Question

Outline the six steps in a multiple-regression analysis.

Answered: 1 week ago

Question

What do you think of the MBO program developed by Drucker?

Answered: 1 week ago