摘要 |
<p>PROBLEM TO BE SOLVED: To easily generate an instruction file to be used for the estimation of power consumption, and to easily estimate the power consumption of each instruction by calculating the power consumption of one instruction at the instruction cache miss and at the instruction cache hit from the power consumption in a prescribed cycle. SOLUTION: An objective instruction for estimating power consumption is executed according to the flow of a pipe line by a microprocessor 3 equipped with an instruction cache 1 inside and a main memory 2 outside. An instruction file for the simulation of the power consumption comprises one file for repeatedly executing plural continuous objective instructions by a jump instruction. Then, a power consumption estimated value in the case of reading one instruction from the instruction cache 1 and executing it, and a power consumption estimated value at the item of reading one instruction from the main memory 2 and executing it are calculated, based on the power consumption in each prescribed cycle at the first round of execution of an instruction group.</p> |