For the problems in this exercise, assume that there are no…
For the problems in this exercise, assume that there are no pipeline stalls and that the breakdown of executed instructions is as follows: add addi nor beq lw sw 20% 15% 15% 25% 10% 15% (a) In what overall fraction is the data memory used? (b) In what overall fraction is the instruction memory used? (c) In what overall fraction is the program counter (PC) used? (d) In what overall fraction is the sign extension unit used? (Note: sign extension is used when a constant or an address offset is provided inside an I-format instruction in 16-bit format but before working with it we need to convert it a 32-bit constant or address offset)