# US 2006/0053323 A1 · Method and apparatus for disassociating power consumed within a processing system with instructions it is executing

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

- Number: US 2006/0053323 A1
- Document ID: US20060053323A1
- Status: Published application
- Kind: A1
- Application number: 11/257,381
- Filed: 2005-10-24
- Published: 2006-03-09
- Earliest claimed: 2000-09-20
- Assignees: MIPS Technologies, Inc.
- Inventors: Kevin Kissell
- Web page: https://patentgrep.com/patent/US20060053323A1

## CPC

- G06F 21/81: by operating on the power supply, e.g. enabling or disabling power-on, sleep or resume operations
- G06F 21/755: {with measures against power attack}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus and method are provided that disassociates the power consumed by a processing system from the instructions that it executes. The apparatus includes a power predictor that predicts the power that will be consumed by the processing system during execution of particular instructions, and a subsystem inhibition control, that selectively turns on/off available subsystems within the processing system based on the power that is predicted to be consumed. By predicting the power that will be consumed during execution, and by selectively turning on/off particular subsystems, the total power consumed by the processing system can be made invariant, or random. In either case, a counterweight current can be added to the processing system, depending on which of the subsystems are available to be turned on/off, and which are turned on/off, to further disassociate the total power consumed by the processing system from the instructions it is executing.

## Claims

### Claim 1

A security system for a microprocessor based system having multiple subsystems for insuring that the power consumption of the microprocessor based system is not indicative of the instructions that it is executing, the security system comprising:
a power correlator, for estimating the power that the microprocessor based system will consume during execution of instructions; and
subsystem inhibition control, coupled to said power correlator, for utilizing said estimated power, and for selectively turning on/off ones of the multiple subsystems within the microprocessor based system during execution of the instructions;
wherein the ones of the multiple subsystems that are turned on/off are selected so as to disassociate the total power consumed by the microprocessor based system from the instructions it is executing.

### Claim 2 (depends on 1)

The security system as recited in claim 1 wherein said subsystem inhibition control utilizes said estimated power to determine how much power must be added to, or subtracted from said estimated power, to insure that the power consumption of the microprocessor based system is not indicative of the instructions it is executing.

### Claim 3 (depends on 2)

The security system as recited in claim 2 wherein power is added to said estimated power by turning on said ones of the multiple subsystems.

### Claim 4 (depends on 2)

The security system as recited in claim 2 wherein power is subtracted from said estimated power by turning off said ones of the multiple subsystems.

### Claim 5 (depends on 1)

The security system as recited in claim 1 wherein said power correlator examines each instruction to be executed to estimate the power that said each instruction will consume as it executes.

### Claim 6 (depends on 5)

The security system as recited in claim 5 wherein said power correlator estimates the power said each instruction will consume in each of a plurality of stages within a pipeline of the microprocessor based system.

### Claim 7 (depends on 1)

The security system as recited in claim 1 wherein said power correlator comprises:
a power profile table having a plurality of power profile entries corresponding to a plurality of different instructions, said entries having a plurality of power estimates corresponding to power consumed in a plurality of different pipeline stages within the microprocessor based system.

### Claim 8 (depends on 7)

The security system as recited in claim 7 wherein said power correlator further comprises:
a power profile register, coupled to said power profile table, for temporarily storing one of said power profile entries corresponding to one of said plurality of different instructions.

### Claim 9 (depends on 8)

The security system as recited in claim 8 wherein said power profile register provides said one of said power profile entries to said power correlator.

### Claim 10 (depends on 1)

The security system as recited in claim 1 wherein said subsystem inhibition control comprises:
subsystem power profiles, for indicating to inhibition control how much power each of the multiple subsystems consume when turned on.

### Claim 11

An apparatus within a processing device having multiple subsystems for randomizing the total power consumed within the processing device, comprising:
a random value generator, for generating a random value as instructions are executed by the processing device; and
subsystem inhibition control, coupled to said random value generator, for turning on/off selected ones of the multiple subsystems;
wherein said subsystem inhibition control disassociates said instructions that are executed from power consumed by the processing device during their execution.

### Claim 12 (depends on 11)

The apparatus as recited in claim 11 wherein said random value generator generates said random value between predetermined minimum and predetermined maximum values.

### Claim 13 (depends on 11)

The apparatus as recited in claim 11 further comprising:
a total power predictor, coupled to said subsystem inhibition control, for providing an estimated total power value to said subsystem inhibition control.

### Claim 14 (depends on 13)

The apparatus as recited in claim 13 wherein said subsystem inhibition control utilizes said estimated total power value so that the total power consumed by the processing device does not exceed a predetermined threshold.

### Claim 15

A computer program product for use with a computing device, the computer program product comprising:
a computer usable medium, having computer readable program code embodied in said medium, for causing a processing device having multiple subsystems to be described, said computer readable program code comprising:
first program code for providing a power prediction system for providing a predictor of estimated power that will be consumed during execution of instructions by the processing device; and
second program code for providing a subsystem inhibition control, coupled to said power prediction system, for receiving said predictor, and for turning on/off selected ones of the subsystems based on the value of said predictor.

### Claim 16 (depends on 15)

The computer program product, as recited in claim 15 wherein by turning on/off ones of the selected subsystems, said subsystem inhibition control causes a total power consumption of the processing device to be disassociated with the instructions it is executing.

### Claim 17 (depends on 15)

The computer program product, as recited in claim 15 further comprising:
third program code for providing a power profile table having a plurality of power consumption entries, said entries corresponding to types of instructions that may be executed by the processing device.

### Claim 18 (depends on 15)

The computer program product as recited in claim 15 wherein said subsystem inhibition control comprises:
selection control, for determining which of the subsystems are available to be turned off; and
subsystem power profiles, coupled to said selection control, for specifying an estimated power consumption for each of the subsystems.

### Claim 19 (depends on 18)

The computer program product as recited in claim 18 wherein said selection control utilizes said estimated power consumption for each of the subsystems to determine which, if any, of the subsystems to turn on/off.

### Claim 20 (depends on 15)

The computer program product as recited in claim 15 wherein said subsystem inhibition control turns on/off selected ones of the subsystems to cause the total power consumption of the processing device to remain the same, regardless of which instructions are executing on the processing device.

### Claim 21 (depends on 15)

The computer program product as recited in claim 15 wherein said subsystem inhibition control turns on/off selected ones of the subsystems to cause the total power consumption of the processing device to be random, regardless of which instructions are executing on the processing device.

### Claim 22

A method for disassociating the power that is consumed by a microprocessor having multiple subsystems, from the instructions that it is executing, the method comprising:
estimating the power that will be consumed by each instruction in the microprocessor; and
selectively turning on/off ones of the multiple subsystems such that the total power consumed by the microprocessor is unrelated to the instructions that are executing.

### Claim 23 (depends on 22)

The method as recited in claim 22 wherein said step of turning on/off ones of the multiple subsystems causes the total power consumed by the microprocessor to be invariant.

### Claim 24 (depends on 22)

The method as recited in claim 22 wherein said step of turning on/off ones of the multiple subsystems causes the total power consumed by the microprocessor to be random.

### Claim 25

A method for providing a security system for a microprocessor based system having multiple subsystems, the security system insuring that the power consumption of the microprocessor based system is not indicative of the instructions that it is executing, the method comprising:
providing computer-readable program code describing the security system, the program code comprising:
first program code for describing a power correlator, the correlator for estimating the power that the microprocessor based system will consume during execution of instructions; and
second program code for describing a subsystem inhibition control, coupled to the power correlator, for utilizing the estimated power, and for selectively turning on/off ones of the multiple subsystems within the microprocessor based system during execution of the instructions;
wherein the ones of the multiple subsystems that are turned on/off are selected so as to disassociate the total power consumed by the microprocessor based system from the instructions it is executing;
transmitting the computer-readable program code as a computer data signal on a network.

### Claim 26 (depends on 25)

The method as recited in claim 25 wherein said power correlator comprises a power profile table having a plurality of power profile entries corresponding to a plurality of different instructions, the entries having a plurality of power estimates corresponding to power consumed in a plurality of different pipeline stages within the microprocessor based system.

### Claim 27 (depends on 26)

The method as recited in claim 26 wherein said power correlator further comprises a power profile register, coupled to the power profile table, for temporarily storing one of the power profile entries corresponding to one of the plurality of different instructions.

### Claim 28

A method for providing an apparatus within a processing device having multiple subsystems for randomizing the total power consumed within the processing device, the method comprising:
providing computer-readable program code describing the apparatus, the program code comprising:
first program code for describing a random value generator, for generating a random value as instructions are executed by the processing device; and
second program code for describing a subsystem inhibition control, coupled to the random value generator, for turning on/off selected ones of the multiple systems;
wherein the subsystem inhibition control disassociates the instructions that are executed from power consumed by the processing device during their execution; and
transmitting the computer-readable program code as a computer data signal on a network.
