# US 2017/0285727 A1 · Apparatus and method for dynamic power reduction in a unified scheduler

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

- Number: US 2017/0285727 A1
- Document ID: US20170285727A1
- Status: Published application
- Kind: A1
- Application number: 15/086,049
- Filed: 2016-03-30
- Published: 2017-10-05
- Earliest claimed: 2016-03-30
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Milind Ram KULKARNI; Rami Mohammad A. AL SHEIKH; Raguram DAMODARAN
- Web page: https://patentgrep.com/patent/US20170285727A1

## CPC

- G06F 1/3287: by switching off individual functional units in the computer system
- G06F 9/3836: {Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution}
- G06F 9/3869: {Implementation aspects, e.g. pipeline latches; pipeline synchronisation and clocking}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A scheduler and method for dynamic power reduction, e.g., in a processor core, is proposed. In conventional processor cores for example, the scheduler precharges grant lines of many instructions only to discharge a great majority of the precharged lines in one cycle. To reduce power consumption, selective precharge and/or selective evaluation are proposed. In the selective precharge, the grant lines of instructions that will evaluate to false (e.g., invalid instructions) are not precharged in a cycle. In the selective evaluation, among the precharged instructions, instructions that are not ready are not evaluated in the same cycle. In this way, power consumption is reduced by avoiding unnecessary precharge and discharge.

## Claims

### Claim 1

A scheduler, comprising:
a picker block configured to grant an instruction for execution; and
a validity block comprising a validity indicator configured to generate a valid signal which when set indicates that the instruction is valid, a valid instruction being an instruction that has been allocated to the scheduler but has not yet been dispatched,
the picker block comprising a precharge switch configured to selectively precharge a grant of the instruction by
precharging one or more grant lines of the instruction when the valid signal is set, and
refraining from precharging any of the one or more grant lines of the instruction when the valid signal is not set.

### Claim 2 (depends on 1)

The scheduler of claim 1,
the validity indicator comprising a flip-flop configured to generate the valid signal as a single bit signal, and
the precharge switch comprising a transistor configured to be activated/deactivated based on the single bit valid signal.

### Claim 3 (depends on 1)

The scheduler of claim 1, further comprising:
a wakeup block configured to generate a ready signal corresponding to the instruction, the ready signal when set indicates that the instruction is ready,
the validity block further comprising a valid & ready signal generator configured to generate a valid & ready signal based on the valid signal and the ready signal, the valid & ready signal when set indicates that the instruction is both valid and ready, and
the picker block further comprising one or more evaluation enable switches corresponding to the one or more grant lines, each evaluation enable switch being configured to
enable evaluation of the corresponding grant line when the valid & ready signal is set, and
disable evaluation of the corresponding grant line when the valid & ready signal is not set.

### Claim 4 (depends on 3)

The scheduler of claim 3, the valid & ready signal generator comprising an AND logic configured to take as inputs the ready signal and the valid signal to generate the valid signal.

### Claim 5 (depends on 3)

The scheduler of claim 3, the picker block comprising an inter-group picker configured to pick an oldest ready group and a newest ready group among a plurality of groups, each ready group having one or more ready instructions.

### Claim 6 (depends on 5)

The scheduler of claim 5, the inter-group picker comprising:
a grant new line which when set after evaluation indicates that a group associated with the grant new line is the newest ready group;
a grant new evaluation circuit configured to perform a grant new evaluation to evaluate whether or not a group of the instruction is the newest ready group; and
a new evaluation enable switch configured to
enable the grant new evaluation circuit to perform the grant new evaluation when the valid & ready signal is set, and
disable the grant new evaluation circuit from performing the grant new evaluation when the valid & ready signal is not set.

### Claim 7 (depends on 6)

The scheduler of claim 6, the new evaluation enable switch comprising a transistor configured to enable an electrical path between the grant new line and ground through the grant new evaluation circuit.

### Claim 8 (depends on 6)

The scheduler of claim 6, the inter-group picker further comprising:
a grant old line which when set after evaluation indicates that a group associated with the grant old line is the oldest ready group;
a grant old evaluation circuit configured to perform a grant old evaluation to evaluate whether or not the group of the instruction is the oldest ready group; and
an old evaluation enable switch configured to
enable the grant old evaluation circuit to perform the grant old evaluation when the valid & ready signal is set, and
disable the grant old evaluation circuit from performing the grant old evaluation when the valid & ready signal is not set.

### Claim 9 (depends on 8)

The scheduler of claim 8, the old evaluation enable switch comprising a transistor configured to enable an electrical path between the grant old line and ground through the grant old evaluation circuit.

### Claim 10 (depends on 3)

The scheduler of claim 3,
the validity block further comprising:
an evaluation latch configured to latch a grant line signal from the picker block;
a valid & ready indicator configured to output the valid & ready signal from the valid & ready signal generator; and
a grant & ready indicator configured to generate a grant & ready signal based on the latched grant line signal from the evaluation latch and the valid & ready signal from the valid & ready indicator, the grant & ready signal when set indicates that the instruction has been granted, and
the wakeup block is further configured to wake up other instructions dependent on the granted instruction when the grant & ready signal is set.

### Claim 11 (depends on 10)

The scheduler of claim 10,
the valid & ready indicator comprising a flip-flop configured to gate the output of the valid & ready signal generator, and
the grant & ready indicator comprising an AND gate configured to take as inputs the gated valid & ready signal from the valid & ready indicator and the latched grant line signal from the evaluation latch.

### Claim 12

A method of scheduling instructions in a scheduler, the method comprising:
determining whether or not an instruction in the scheduler is valid, a valid instruction being an instruction that has been allocated to the scheduler but has not yet been dispatched;
precharging one or more grant lines of the instruction when it is determined that the instruction is valid; and
refraining from precharging any of the one or more grant lines of the instruction when the valid signal is not set.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
determining whether the instruction is ready when it is determined that the instruction is valid;
evaluating the instruction to determine whether or not the instruction should be granted when it is determined that the instruction is ready and valid.

### Claim 14 (depends on 13)

The method of claim 13, precharging the one or more grant lines of the instruction and the evaluating the instruction occurring in a same cycle.

### Claim 15

The method of 13, repeating the evaluating the instruction in a next cycle when it is determined that the instruction is not ready in a previous cycle.

### Claim 16

A scheduler, comprising:
means for granting an instruction for execution;
means for generating a valid signal which when set indicates that the instruction is valid, a valid instruction being an instruction that has been allocated to the scheduler but has not yet been dispatched; and
means for selectively precharging a grant of the instruction configured to
precharge one or more grant lines of the instruction when the valid signal is set, and
refrain from precharging any of the one or more grant lines of the instruction when the valid signal is not set.

### Claim 17 (depends on 16)

The scheduler of claim 16, further comprising:
means for generating a ready signal corresponding to the instruction, the ready signal when set indicates that the instruction is ready;
means for generating a valid & ready signal based on the valid signal and the ready signal, the valid & ready signal when set indicates that the instruction is both valid and ready; and
means for enabling evaluation corresponding to the one or more grant lines, each means for enabling evaluation configured to
enable evaluation of the corresponding grant line when the valid & ready signal is set, and
disable evaluation of the corresponding grant line when the valid & ready signal is not set.

### Claim 18 (depends on 16)

The scheduler of claim 16, further comprising means for picking an oldest ready group and a newest ready group among a plurality of groups, each ready group having one or more ready instructions.

### Claim 19 (depends on 18)

The scheduler of claim 18, the means for picking the oldest ready group and the newest ready group comprising:
a grant new line which when set after evaluation indicates that a group associated with the grant new line is the newest ready group;
a grant old line which when set after evaluation indicates that a group associated with the grant old line is the oldest ready group;
means for performing a grant new evaluation to evaluate whether or not a group of the instruction is the newest ready group;
means for performing a grant old evaluation to evaluate whether or not the group of the instruction is the oldest ready group;
means for enabling new evaluation configured to
enable the means for performing the grant new evaluation means to perform the grant new evaluation when the valid & ready signal is set, and
disable the means for performing the grant new evaluation means from performing the grant new evaluation when the valid & ready signal is not set; and
means for enabling old evaluation configured to
enable the means for performing the grant old evaluation means to perform the grant old evaluation when the valid & ready signal is set, and
disable the means for performing the grant old evaluation means from performing the grant old evaluation when the valid & ready signal is not set.

### Claim 20 (depends on 17)

The scheduler of claim 17, further comprising:
means for latching a grant line signal from the means for granting the instruction for execution;
means for outputting the valid & ready signal from the means for generating the valid & ready signal; and
means for generating a grant & ready signal based on the latched grant line signal from the means for latching the grant line signal and the valid & ready signal from the means for outputting the valid & ready signal, the grant & ready signal when set indicates that the instruction has been granted, and
means for waking up other instructions dependent on the granted instruction when the grant & ready signal is set.
