Professional Documents
Culture Documents
Page 1 of 2
July 09, 2019
Mekelle University-MIT
Department of Computer Science & Engineering
Computer Organization & Architecture Final Exam Max. Marks: 40% Time allotted: 2:30
d. Determine Size of tag field
e. If 4-way set associative mapping is to be used, determine the number of main memory blocks
assigned for each set in the cache memory.
8. Consider three control signals A, B, and C in a two-bus organized CPU. The CPU has three types
of instructions in its instruction set namely inst-x, inst-y, and inst-z. Control signal A is
activated during the first period (step) when instructions inst-x or inst-z are to be executed,
Control signal B is activated in the first period when instruction inst-y is to be executed or during
the second period when inst-x or inst-y is to be executed, and control signal C is activated in the
second period only when instruction inst-x or inst-y is to be executed. [4 pts]
a. Write the Boolean expressions for control signals A, B and C
b. Implement the Boolean expressions for the control signals using logic gates
9. Assume a given computer uses a microprogrammed control unit with 20 bits microinstruction
width divided in to four fields. The fields are two operation fields namely, F1 and F2 with 4 bits
each, condition fields with 4 bits, and the remaining bits for the address field. [6 pts]
a. Determine the number of micro operations that can be specified by F1
b. Determine the maximum number of simultaneous micro operations that can be chosen for a
microinstruction
c. Determine the size of the control memory
10. Consider the following operation in a simple pipelined system.
(Aj-Bj) * Cj+Dj for j=1, 2, .... 5 Assume that the ALU has only one multiplier, one adder and one
subtractor units. [8 pts]
a. Decompose the above operation into a set of segments (sub-operations) so that they can be
processed concurrently.
c. Compare the number of clock periods required for computation in the pipelined and non-
pipelined systems.
d. Assuming the clock periods in the pipelined and non-pipelined are the same, determine the
actual speed –up of the pipeline. If the number of tasks (j is very large say 1000), what will be the
maximum speed-up of the pipelined system?
Page 2 of 2
July 09, 2019