# US 2003/0079150 A1 · Method and apparatus for reducing power comsumption of a processing integrated circuit

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2003/0079150 A1
- Document ID: US20030079150A1
- Status: Published application
- Kind: A1
- Application number: 09/682,816
- Filed: 2001-10-22
- Published: 2003-04-24
- Earliest claimed: 2001-10-22
- Assignees: International Business Machines Corporation
- Inventors: Jack Robert Smith; Sebastian Theodore Ventrone
- Web page: https://patentgrep.com/patent/US20030079150A1

## CPC

- G06F 1/3203: Power management, i.e. event-based initiation of a power-saving mode
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

In a first aspect, a method is provided for conserving power in a processing integrated circuit. The method includes the steps of (1) calculating power consumption for executing an instruction and data corresponding to the instruction; and (2) executing the instruction if such execution does not exceed a predetermined power level. In a second aspect, a method is provided for conserving power in a processing integrated circuit employing a plurality of execution units. The method includes the steps of (1) comparing a total power to be consumed by the processing integrated circuit to a power budget for the processing integrated circuit; and (2) if the total power exceeds the power budget, freezing execution of an instruction by one of the plurality of execution units so as to allow execution of the instruction to continue at a later time from where execution was frozen. Numerous other aspects are provided, as are systems and apparatus.

## Claims

### Claim at position 1

1] A method of conserving power in a processing integrated circuit, the method comprising the steps of:
calculating power consumption for executing an instruction and data corresponding to the instruction; and
executing the instruction if such execution does not exceed a predetermined power level.

### Claim at position 2 (depends on 1)

2] The method of claim 1 wherein calculating power consumption comprises calculating power consumption based on an amount of power that was consumed when the instruction was executed previously.

### Claim at position 3 (depends on 2)

3] The method of claim 2 wherein calculating power consumption comprises:
determining a predicted power based on an amount of power that was consumed when the instruction was executed previously;
determining data corresponding to the instruction executed previously; and
calculating power consumption for the instruction to be executed based on the predicted power and the data corresponding to the instruction executed previously.

### Claim at position 4 (depends on 3)

4] The method of claim 3 wherein calculating power consumption comprises:
comparing the data corresponding to the instruction to be executed to the data corresponding to the instruction executed previously so as to generate a transition factor; and
modulating the predicted power with the transition factor.

### Claim at position 5 (depends on 4)

5] The method of claim 4 wherein modulating the predicted power comprises multiplying the predicted power by the transition factor.

### Claim at position 6 (depends on 3)

6] The method of claim 3 further comprising storing the calculated power consumption and data corresponding to the instruction.

### Claim at position 7 (depends on 1)

7] The method of claim 1 wherein calculating power consumption comprises calculating power consumption based on an amount of power obtained from simulation of execution of the instruction.

### Claim at position 8 (depends on 7)

8] The method of claim 7 wherein calculating power consumption comprises:
determining a predicted power based on an amount of power obtained from simulation of execution of the instruction;
determining data employed during the simulation; and
calculating power consumption for the instruction to be executed based on the predicted power and the data employed during the simulation.

### Claim at position 9 (depends on 8)

9] The method of claim 8 wherein calculating power consumption comprises:
comparing the data corresponding to the instruction to be executed to the data employed during simulation so as to generate a transition factor; and
modulating the predicted power with the transition factor.

### Claim at position 10 (depends on 1)

10] The method of claim 1 wherein executing the instruction if such execution does not exceed a predetermined power level comprises:
determining an available power for an execution unit that is to execute the instruction and data;
comparing the available power for the execution unit to the calculated power consumption for executing the instruction and data; and
executing the instruction and data with the execution unit if the available power for the execution unit is greater than the calculated power consumption for executing the instruction and data.

### Claim at position 11 (depends on 10)

11] The method of claim 10 wherein determining the available power for an execution unit comprises:
determining a power budget for the execution unit;
determining an amount of power required to finish executing an instruction and data that was partially executed by the execution unit; and
calculating the available power for the execution unit by subtracting the amount of power required to finish executing the partially executed instruction and data from the power budget for the executing unit.

### Claim at position 12

12] A method of conserving power in a processing integrated circuit, the method comprising the steps of:
calculating power consumption for executing an instruction and data corresponding to the instruction;
determining a power budget for an execution unit;
determining an amount of power required to finish executing an instruction and data that was partially executed by the execution unit;
calculating an available power for the execution unit based on the amount of power required to finish executing the partially executed instruction and data and the power budget for the execution unit;
comparing the available power for the execution unit to the calculated power consumption for executing the instruction and data; and
executing the instruction and data with the execution unit if the available power for the execution unit is greater than the calculated power consumption for executing the instruction and data.

### Claim at position 13

13] A method of conserving power in a processing integrated circuit employing a plurality of execution units, the method comprising the steps of:
comparing a total power to be consumed by the processing integrated circuit to a power budget for the processing integrated circuit; and
if the total power exceeds the power budget, freezing execution of an instruction by one of the plurality of execution units so as to allow execution of the instruction to continue at a later time from where execution was frozen.

### Claim at position 14 (depends on 13)

14] The method of claim 13 wherein comparing a total power to be consumed by the processing integrated circuit to a power budget for the integrated circuit comprises:
determining a total power to be consumed by the processing integrated circuit during a clock cycle; and
determining a power budget for the processing integrated circuit.

### Claim at position 15 (depends on 14)

15] The method of claim 14 wherein determining a total power comprises:
from each execution unit, receiving information regarding power to be consumed by the execution unit during the clock cycle; and
determining the total power based on the information received from the execution units.

### Claim at position 16 (depends on 13)

16] The method of claim 13 wherein freezing execution of an instruction by one of the plurality of execution units comprises holding inactive at least one slow select input of transition—once logic of the execution unit.

### Claim at position 17

17] An execution unit for a data processing system comprising:
a local power controller adapted to:
calculate power consumption for executing an instruction and data corresponding to the instruction; and
allow the execution unit to execute the instruction if such execution does not exceed a predetermined power level.

### Claim at position 18 (depends on 17)

18] The execution unit of claim 17 wherein the local power controller comprises first calculation logic adapted to calculate power consumption for executing the instruction and data corresponding to the instruction based on:
an amount of power consumed when the instruction was executed by the execution unit previously; and
operands of the instruction when the instruction was executed by the execution unit previously.

### Claim at position 19 (depends on 18)

19] The execution unit of claim 18 wherein the local power controller further comprises:
a first register adapted to store first information regarding an amount of power consumed when the instruction was executed by the execution unit previously; and
a second register adapted to store second information regarding operands of the instruction when the instruction was executed by the execution unit previously;
wherein the first calculation logic is adapted to calculate power consumption for executing the instruction and data corresponding to the instruction on the contents of the first and second registers.

### Claim at position 20 (depends on 17)

20] The execution unit of claim 17 wherein the local power controller comprises first calculation logic adapted to calculate power consumption for executing the instruction and data corresponding to the instruction based on:
an amount of power obtained from simulation of execution of the instruction; and
operands employed during the simulation.

### Claim at position 21 (depends on 18)

21] The execution unit of claim 18 wherein the local power controller further comprises second calculation logic adapted to compute a power available for executing the instruction and data.

### Claim at position 22 (depends on 21)

22] The execution unit of claim 21 wherein the local power controller further comprises:
a first register adapted to store a power budget for the execution unit; and
a second register adapted to store a power required to finish execution of a previous instruction;
wherein the second calculation logic is adapted to compute the power available for executing the instruction and data based on the contents of the first and second registers.

### Claim at position 23 (depends on 21)

23] The execution unit of claim 21 wherein the local power controller comprises comparison circuitry adapted to:
compare power consumption for executing the instruction and data corresponding to the instruction to power available for executing the instruction and data; and
freeze execution of the instruction and data if the power consumption for executing the instruction and data corresponding to the instruction exceeds the power available for executing the instruction and data.

### Claim at position 24 (depends on 21)

24] The execution unit of claim 21 further comprising transition-once logic having at least one slow select input and wherein the local power controller is adapted to hold the at least one slow select input inactive if the power consumption for executing the instruction and data corresponding to the instruction exceeds the power available for executing the instruction and data.

### Claim at position 25

25] A global power controller for conserving power in a processing integrated circuit employing a plurality of execution units, the global power controller comprising:
a comparator circuit adapted to compare a total power to be consumed by the processing integrated circuit to a power budget for the processing integrated circuit; and
a selection circuit adapted to select an execution unit in which to freeze execution of an instruction so as to allow execution of the instruction to continue at a later time from where execution was frozen if the total power exceeds the power budget.

### Claim at position 26 (depends on 25)

26] The global power controller of claim 25 further comprising an adder circuit adapted to receive information regarding actual power to be dissipated during a clock cycle from each of the plurality of execution units and to calculate the total power to be consumed by the processing integrated circuit based on the received information.

### Claim at position 27 (depends on 25)

27] The global power controller of claim 25 further comprising an adder circuit adapted to add to the power budget any amount of power by which the power budget exceeds the total power.

### Claim at position 28 (depends on 25)

28] The global power controller of claim 25 wherein the selection circuit is further adapted to select an execution unit that was previously frozen to continue execution if the total power is less than the power budget.

### Claim at position 29

29] A data processing system comprising:
a global power controller comprising:
a comparator circuit adapted to compare a total power to be consumed by the processing integrated circuit to a power budget for the processing integrated circuit; and
a selection circuit adapted to select an execution unit in which to freeze execution of an instruction so as to allow execution of the instruction to continue at a later time from where execution was frozen if the total power exceeds the power budget;
a plurality of execution units each comprising:
a local power controller that is in communication with the global power controller and that is adapted to:
calculate power consumption for executing an instruction and data corresponding to the instruction;
communicate power consumption information to the global power controller; and
allow the execution unit to execute the instruction if such execution does not exceed a predetermined power level and if the execution by the execution unit is not frozen by the global power controller.

### Claim at position 30 (depends on 29)

30] The system of claim 29 wherein the global power controller is adapted to reassign execution of an instruction and data to another execution unit if execution by a first execution unit to which the instruction and data was assigned is frozen by a local power controller of the first execution unit.

### Claim at position 31

31]
