The present invention relates generally to integrated circuit designs, and more particularly, to a system and method for dynamically managing power and frequency in an integrated circuit.
Battery-powered electronics systems continue to demand greater performance while strictly limiting the power consumption by device electronics, and particularly by their processors which consume the most power in the systems. Such battery-powered systems include laptop computers, personal digital assistants (PDAs), cell phones, and personal music and/or video players.
The performance of a processor is determined by the frequency of operation and the number of operations that can be completed on average per processor clock cycle. A dynamic power consumed in a CMOS transistor resulting from the switching of a load capacitance, CL, through a voltage, Vdd, at a clock frequency, f, is
Then dynamic power consumed in a chip is the sum of the power consumed by all its switching nodes. It can be modeled as the power of switching the average switching capacitance of the system, CSW, through the voltage, Vdd,
Examination of Equation (1) shows that if a slight voltage dependence of the switching capacitance is ignored, the dynamic power consumption of a system is quadratically more sensitive to power-supply voltage than is the clock frequency. While clock frequency determines a system's performance, voltage is much more sensitive to power efficiency. When voltage supply to an integrated circuit is lowered, its operating frequency will be lowered as well. So in order to maintain a performance level, a certain clock frequency is required, then the system seeks a minimum voltage to maintain that clock frequency.
In some cases, different applications may have difference performance requirements. Using laptop computers as an example, the computational requirements can be considered to fall into one of three categories: compute-intensive, low-speed, and idle. Compute-intensive and short-latency tasks (e.g., video decompression, speech recognition, complex spreadsheet operations, etc.) utilize the full throughput of the processor. Low speed and long-latency tasks (e.g., text entry, address book browsing, playing music, etc.) only require a fraction of the full processor throughput to adequately run. Executing these tasks faster than the desired throughput rate has no discernible benefit. In addition, there are system idle periods because single-user systems are often not actively computing. A key design objective for the processor systems in these applications is to provide the highest possible peak throughput for the compute-intensive tasks while maximizing the battery life for the remaining low speed and idle periods.
A common power-saving technique is to reduce the clock frequency during non-compute-intensive activity. This reduces power, but does not affect the total energy consumed per task, since energy consumption is independent of clock frequency to a first order approximation. Intuitively, executing a task slower only takes longer time, and total energy consumption is still the same. Conversely, reducing the voltage of the processor improves its energy efficiency, but compromises its peak throughput. If, however, both clock frequency and supply voltage are dynamically varied in response to computational load demands, then the energy consumed per task can be reduced for the low computational periods, while retaining peak throughput when required. When a majority of the computation does not require maximum throughput, then the average energy consumption can be significantly reduced, thereby increasing the computation that can be done with the limited energy supply of a battery.
A prior art dynamic voltage and frequency management (DVFM) system employs dynamic frequency and voltage scaling separately. The dynamic frequency scaling module monitors activity levels of main logic circuits, and scales up the frequency when the circuit activity is high, and scales down the frequency when the circuit activity is low. After the frequency is determined, the separate dynamic voltage scaling module scales the supply voltage, i.e., increasing, decreasing or keeping the present supply voltage, based on delay information of the main logic circuits. There are drawbacks of this kind of DVFM system, such as its circuit is very complicated due to separate dynamic frequency and voltage scaling modules. It also cannot determine the lowest frequency the circuit can operate given a certain supply voltage.
As such, what is desired is a DVFM system that are easy to implement and can control voltage and frequency with greater flexibility.
This invention discloses a system and method for dynamically managing voltage and frequency in an integrated circuit (IC), comprising a plurality of ring oscillators for generating a plurality of continuous pulses with frequencies reflecting process parameters, operating voltage and temperature (PVT) effects in the IC, at least one period generator for generating at least one gating period with a predetermined duration, a plurality of counters coupling to the plurality of ring oscillators as well as the period generator for counting the number of the continuous pulses in the gating period, at least one selector for selecting a value from a plurality of numbers counted by the plurality of counters, and at least one voltage-and-frequency adjustment circuitry for adjusting operating voltage or clock frequency in the IC based on the counted value selected by the selector.
The construction and method of operation of the invention, however, together with additional objectives and advantages thereof will be best understood from the following description of specific embodiments when read in connection with the accompanying drawings.
The present invention discloses a system and method for dynamically managing voltage and frequency in integrated circuits (ICs).
The invention and the various features and advantageous details thereof are explained more fully with reference to the non-limiting embodiments that are illustrated in the accompanying drawings and detailed in the following description. Descriptions of well known components and processing techniques are omitted so as not to unnecessarily obscure the invention in detail. It should be understood, however, that the detailed description and the specific examples, while indicating preferred embodiments of the invention, are given by way of illustration only and not by way of limitation. Various substitutions, modifications, additions and/or rearrangements within the spirit and/or scope of the underlying inventive concept will become apparent to those skilled in the art from this detailed description.
The ring oscillators 110[0:n] are designed to emulate the effect of process parameters, operating voltage and temperature (PVT) of critical paths in the IC. Process parameters across a wafer as well as across a die may vary, placing multiple ring oscillators across a die tracks such variations. In a slow corner the ring oscillator placed there will all oscillate at a slower frequency than a normal frequency. When the operating voltage increases, the ring oscillator frequency will also increase. Temperature affects the ring oscillator through altering device parameters, a net effect is when temperatures increase, and the ring oscillator frequency decreases.
The period generator 120 produces a pulse of predetermined pulse width or period, which determines a length of time during which the counter 130 counts the number of pulses the ring oscillator 110 generates. The longer the pulse width of the period generator 120, the finer granulation the DVFM system can emulate the effect of the PVT variations. The predetermined pulse width is programmable by modifying a denominator (N).
Referring back to
Referring to
Referring to
Referring to
Referring to
Referring to
The above illustration provides many different embodiments or embodiments for implementing different features of the invention. Specific embodiments of components and processes are described to help clarify the invention. These are, of course, merely embodiments and are not intended to limit the invention from that described in the claims.
Although the invention is illustrated and described herein as embodied in one or more specific examples, it is nevertheless not intended to be limited to the details shown, since various modifications and structural changes may be made therein without departing from the spirit of the invention and within the scope and range of equivalents of the claims. Accordingly, it is appropriate that the appended claims be construed broadly and in a manner consistent with the scope of the invention, as set forth in the following claims.
Number | Name | Date | Kind |
---|---|---|---|
20060119420 | Li et al. | Jun 2006 | A1 |
Number | Date | Country | |
---|---|---|---|
20080136400 A1 | Jun 2008 | US |