You are on page 1of 2

DEPARTMENT OF ELECTRICAL & COMPUTER

ENGINEERING
CSE 332 Computer Organization and Architecture
Mid Assignment
(45 mins from the start including upload time, time penalty 2 marks per min delay)

Answer all questions.

Q1. You were asked to design a small computing system with a 20 bits architecture that

can execute c-code like A[0]=A[12] - B[16].

You need to use R-type instruction, to translate the given c- program.

(i) Using base addressing need to access array values from memory locations, translate the

above program into MIPS code. (7 marks)

(ii) Indicate all the variable assignments / assumptions taken in the comment section

beside instructions. (4 marks)

(iii) Draw the bit formats of the R-type instructions with bit counts for this non standard 20

bits computing system. (4 marks)

Q2: Suppose we need to develop a new, simpler processor, which would need 75%

dynamic power than the old, complex processor. It has 75% of the capacitive load of the

old processor. Further, assume that it has adjustable voltage so that it can reduce

voltage 75% compared to old processor. What will be the impact on clock frequency?

(5 marks)

CSE332.6 | 26-Dec-20 1
Q3: Draw a combined datapath diagrams that can execute the following instructions and explain.
Instruction fetch & add (5 marks)
Ensure that you identify all the I/O & control signals, bus width correctly.
Ensure that you don’t draw any unnecessary components/buses

End of Mid Assignment Question

CSE332.6 | 26-Dec-20 2

You might also like