Chapter 4: Q19E (page 369)
This exercise explores energy efficiency and its relationship with performance. Problems in this exercise assume the following energy consumption for activity in Instruction memory, Registers, and Data memory. You can assume that the other components of the datapath spend a negligible amount of energy.
Assume that components in the datapath have the following latencies. You can assume that the other components of the datapath have negligible latencies.
4.19.1 [10] How much energy is spent to execute an ADD instruction in a single-cycle and in 5-stage pipelined design?
4.19.2 [10] What is the worst-case MIPS instruction in terms of energy consumption, and what is the energy spent to execute it?
4.19.3 [10] If energy reduction is paramount, how would you change the pipelined design? What is the percentage reduction in the energy spent by an LW instruction after this change?
4.19.4 [10] What is the performance impact of your changes from 4.19.3?
4.19.5 [10]We can eliminate the MemRead control signal and have
the data memory be read in every cycle, i.e., we can permanently have MemRead=1. Explain why the processor still functions correctly aft er this change. What is the effect of this change on clock frequency and energy consumption?
4.19.6 [10] If an idle unit spends 10% of the power it would spend
if it were active, what is the energy spent by the instruction memory in each cycle? What percentage of the overall energy spent by the instruction memory does this idle energy represent?
Short Answer
4.19.1 – Energy spent is 340 pJ.
4.19.2 – Load instruction is the worst case and energy spent is 480 pJ.
4.19.3 – Percentage reduction is 14.58%
4.19.4 – No Significant performance change take place.
4.19.5 – The clock frequency and energy consumption remain the same,
4.19.6 – The total energy spent is 143.5pJ and the perctange is 2.44%