1. Field of the Invention
This invention relates to the field of integrated circuits. More particularly, this invention relates to the management of power consumption within integrated circuits.
2. Description of the Prior Art
It is known to provide integrated circuits including power rails connected via header and footer transistors to virtual power rails. The logic circuitry within the integrated circuit draws it power from the virtual power rails. The header and footer transistors, which are typically high threshold voltage transistors, are used to isolate the virtual power rails from the main power rails in low power states and accordingly isolate the logic circuitry from the power supply. This is a useful technique in reducing power consumption of the integrated circuit, e.g. by reducing the static leakage current through the integrated circuit.
In addition to being able to place portions of an integrated circuit into a low power state, it is desirable that such portions be able to resume processing activity rapidly when they leave this low power state. In order to assist in this, the state variables of the logic circuitry should be preserved through the low power state. One way of achieving this is to save the state variables into balloon latches. However, the provision of balloon latches does increase the circuit overhead.
Viewed from one aspect the present invention provides an integrated circuit comprising:
a plurality of power control transistors coupled to a virtual power rail to couple said virtual power rail to a power supply having a source voltage level;
a power controller coupled to said plurality of power control transistors and configured to control conduction through said plurality of power control transistors; and
logic circuitry coupled to said virtual power rail to draw power therefrom; wherein
said power controller selects a first number of said power control transistors to switch to a conductive state and a second number of said power control transistors to switch to a non-conductive state so as to maintain said virtual power rail at an intermediate voltage level.
The present technique recognises that by using a power controller to select the number of power control transistors which couple a virtual power rail to the power supply, the virtual power rail may be held at an intermediate voltage level and accordingly the power consumed by the logic circuitry can be reduced whilst the logic circuitry is supplied with sufficient power that retains its state. The power controller selects a first number of the power control transistors to switch a conductive state and a second number of the power control transistors to switch to a non-conductive state so as to maintain the virtual power rail at the intermediate voltage level. The selection of which power control transistors are on and which are off is substantially static and accordingly power is not consumed in dynamically modulating the conduction through the power control transistors as this would itself consume an undesirable amount of power, e.g. in rapidly time-varying control signals.
While the present technique could be used with integrated circuits to switch them between different operating voltage levels, all of which would be functional mode levels in which digital processing operations were performed, the present technique is well suited to use in systems in which the power controller is responsive to a power control signal to switch the integrated circuit between a functional mode and a retention mode which the logic circuitry holding state without performing digital processing operations.
The control of the power control transistors by the power controller may be achieved in an efficient manner by dividing the plurality of power control transistors into a plurality of sets of power control transistors, each set of power control transistors being switched between the conductive state and the non-conductive state by a power control signal shared within the set. Thus, the routing overhead of control signals is reduced since a single power control signal can switch a full set of power control transistors.
Controlling the number of power control transistors in the conductive state at an appropriate level to achieve a desired intermediate voltage may be facilitated in embodiments in which at least some of the different sets of power control transistors contain differing number of power control transistors. Thus, different combinations of sets of power control transistors being placed into the conductive state will vary the drive strength to the virtual power rail and thus the intermediate voltage level that is achieved.
This ability to select which sets of power control transistors are conductive and accordingly arrive at a desired intermediate voltage level is facilitated when the plurality of sets of power control transistors contain monotonically increasing numbers of power control transistors. This enables a wide range of values of the first number of power control transistors that are in the conductive state to be achieved.
The different sets of power control transistors can be organised into groups with these groups sharing the same number of power control transistors within their member sets. The groups could share a common power control signal with all the sets within a group being switched on and switched off together.
A convenient scaling of the number of power control transistors in the different groups that enables an exponential increase in the number of power control transistors in the on state to be achieved with an appropriate coded power control signal is one in which the different groups of power control transistors contain a number of elements that increases by a factor of four between groups.
More generally, such exponential relationship between the number of power control transistors within sets of different groups is provided when each set contains X power control transistors where X is an integer portion of MN, M is a positive integer and N increases between groups.
The control applied by the power controller could be open loop control in which the power controller sets the first number and the second number at predetermined values. The power controller may be seeking to maintain the intermediate voltage at a target level and such open loop control may be arranged in advance such that the intermediate voltage will lie close to the target level.
More accurate control of the intermediate voltage level can be achieved when the power controller senses the intermediate voltage level and applies feedback control to the first number and the second number in order to maintain the intermediate voltage level at the target level.
Such feedback control is well suited to dealing with individual variations between integrated circuits and also to time varying parameters such as overall supply voltage variation, temperature variation, circuit ageing and the like.
The power control transistors could directly connect to a power source. However, routing of power signals is easier if the power control transistors connect between the virtual power rail and a power rail, which itself then couples to the power source.
The power control transistors may be provided as either or both of header transistors and footer transistors to the logic circuitry.
Power consumption is further reduced in the logic circuitry if the logic circuitry is responsive to a clock input signal and holds state when the clock input signal is static. Thus, when the intermediate voltage level is applied, the clock input signal may be stopped and power consumption within the logic circuitry reduced while state is maintained.
Viewed from another aspect the present invention provides an integrated circuit comprising:
a plurality of power control transistor means coupled to a virtual power rail for coupling said virtual power rail means to power supply means having a source voltage level;
power controller means coupled to said plurality of power control transistor means for controlling conduction through said plurality of power control transistor means; and
logic means coupled to said virtual power rail means to draw power therefrom; wherein
said power controller means selects a first number of said power control transistor means to switch to a conductive state and a second number of said power control transistor means to switch to a non-conductive state so as to maintain said virtual power rail means at an intermediate voltage level.
Viewed from a further aspect the present invention provides a method of operating an integrated circuit, said method comprising the steps of:
coupling a virtual power rail to a power supply having a source voltage level via a plurality of power control transistors;
controlling conduction through said plurality of power control transistors with a power controller;
drawing power for logic circuitry from said virtual power rail; and
selecting a first number of said power control transistors to switch to a conductive state and a second number of said power control transistors to switch to a non-conductive state so as to maintain said virtual power rail at an intermediate voltage level.
The above, and other objects, features and advantages of this invention will be apparent from the following detailed description of illustrative embodiments which is to be read in connection with the accompanying drawings.
A power controller 20 generates control signals supplied to the power control header transistors 10 and the power control footer transistors 16 to select which ones of these are in a conductive state or a non-conductive state. It will be appreciated that the non-conductive state will not mean that absolutely no current flows through the transistor, as there will always be some residual amount of leakage, rather that the transistor is substantially switched off. The power control header transistors 10 and the power control footer transistors 16 are shown as labelled GH0, GH0, GH1, GH2, GH3 and GF0, GF1, GF2 and GF3 respectively. Each of the individual transistors illustrated in
The power controller 20 is responsive to a power request signal pwrq and a retention signal retn to switch between a functional mode of operation and a retention mode of operation. In the functional mode of operation, the logic circuitry 4 is clocked by a clock input signal clk and performs digital processing operations. In the retention mode, the voltage difference between the virtual supply rail 6 and the virtual ground rail 8 is reduced and the clock input signal is stopped. In this retention mode the logic circuitry 4 holds its state values, but does not perform digital processing operations.
The reduced voltage supplied to the logic circuitry 4 in retention mode reduces the leakage current in the logic circuitry 4 and accordingly the power consumption of the integrated circuit 2. The continued storage of the state of the logic circuitry 4 within the logic circuitry 4 has the consequence that when the full supply voltage is returned to the logic circuitry 4 in the functional mode, digital processing operations may be more rapidly resumed.
It will be seen that the power controller 20 supplies different power control signals to the gate nodes of the power control header transistors 10 and the power control footer transistors 16. These separate power control signals allow the individual power control header transistors 10 and power control footer transistors 16 to be switched between the conductive state and the non-conductive state. In this way, the power controller 20 can control the power control header transistors 10 and the power control footer transistor 16 such that a first number of these transistors are in the conductive state and a second number of these transistors are in the non-conductive state. The number of transistors which are in the conductive state controls the drive strength (effective total drive transistor width) to the virtual supply rail 6 and the virtual ground rail 8. A potential divider is formed between the supply rail 14 and the ground rail 18 with the power control header transistors 10, the logic circuitry 4 and the power control footer transistor 16 disposed in series therebetween. The relative resistance of these elements in their state in the retention mode controls the potential difference between the virtual supply rail 6 and the virtual ground rail 8. Thus, if fewer of the power control header transistors 10 and the power control footer transistors 16 are conductive, then the higher will be the voltage drop between the supply rail 12 and the virtual supply rail 6 and between the ground rail 18 and the virtual ground rail 8 thereby reducing the voltage difference between the virtual supply rail 6 and the virtual ground rail 8 which supplies the logic circuitry 4. The power control signals to the power control header transistors 10 and the power control footer transistors 16 are substantially static signals which hold their values in the retention mode and accordingly power is not consumed in changing (modulating) the values of these power control signals. If feedback control of the intermediate voltage levels is performed, then some fine tuning of the number of power control transistors 10, 16 which are conductive may be performed to adjust the voltage difference between the virtual supply rail 6 and the virtual ground rail 8 to the desired level.
The feedback mechanism illustrated in
The power control transistors are each members of a set. The different sets contain different numbers of power control transistors. The right hand edge of the integrated circuit 26 shows an indication of to which set a corresponding row of power control transistors running through the integrated circuit 26 belongs. Set 0 contains the largest number of power control transistors. Set 3 contains the fewest number of power control transistors. The total number of power control transistors in the conductive state may be fine-tuned by combining which of the sets of power control transistors are switched on and which are switched off. This selection can be substantially static, other than, for example, tracking long-term trends, accounting for variations between individual instances of the integrated circuit or variations within the overall power supply voltage.
As will be seen in
Step 32 senses the virtual rail voltage and determines whether or not this is within the desired target range. Step 34 fine-tunes the first number of power control transistors which are in the conductive state in order to move toward the target range if the determination at step 32 was that the virtual rail voltage was not currently within the target range. Thus, the action of step 34 is feedback control adjusting the first number of power control transistors (i.e. the number of power control transistors in the conductive state) to achieve a desired voltage across the logic circuitry 4.
At step 36 a determination is made as to whether or not a signal triggering a return to the functional mode has been received (the pwrq signal received by the power controller 20). If such a signal has not been received, then the integrated circuit 2 remains in the retention mode and processing returns to step 32. When the functional mode is to be re-entered, step 38 switches on all of the header and footer transistors 10, 16 (this may be phased to reduce in rush current) to restore the full rail voltages to the virtual power rails 6, 8 as well as restarting the clock input signal clk. The logic circuitry 4 then resumes digital processing operations.
Although illustrative embodiments of the invention have been described in detail herein with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments, and that various changes and modifications can be effected therein by one skilled in the art without departing from the scope and spirit of the invention as defined by the appended claims.