Power supply voltage droop compensated clock modulation for microprocessors

Information

  • Patent Grant
  • 7225349
  • Patent Number
    7,225,349
  • Date Filed
    Friday, July 25, 2003
    20 years ago
  • Date Issued
    Tuesday, May 29, 2007
    17 years ago
Abstract
A voltage source droop compensated clock modulation for microprocessors is described. Specifically, the circuit reduces the clock frequency if a voltage source droop is detected.
Description
FIELD OF THE INVENTION

The present invention pertains to the field of integrated circuit design. More particularly, the present invention relates to a compensated clock generation system that intentionally increases the clock period if a droop is detected in the power supply.


BACKGROUND OF THE INVENTION

Power dissipation in high performance microprocessors continue to increase due to the use of parallel architectures, larger on-die cache memories, and increasing clock frequencies. Parallel architectures may include processor core designs that permit multiple operations running at the same time or multiple cores on the same die. Scaling the power supply voltage (Vcc) in accordance with changing process technology is a typical method to improve performance while staying within a power envelope.


Power supply voltage scaling, however, may have significant design implications. For example, lower Vcc levels reduce the circuit design voltage headroom. Therefore, a Vcc droop that is transient in nature may reduce the circuit operating speed or even result in circuit failures. Voltage droop may be caused by power delivery inductive noise generated by an increase in microprocessor activities.


In order to mitigate the effects of Vcc droop, on-die power supply de-coupling and on-die Vcc filtering techniques are often used. However, on-die de-coupling using conventional MOS gate capacitors is becoming increasingly impractical due to the high MOS gate leakage. Low leakage on-die capacitors are typically area intensive and inefficient. On-die Vcc filtering can typically only be applied to a limited number of devices due to the additional voltage drop and leakage. Moreover, since on-die capacitors are needed for the Vcc filters, this technique suffers the same drawback as on-die yea de-coupling due to the on-die capacitor constraints.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is an embodiment of a clock generator for providing a Vcc droop compensated clock modulation circuit;



FIG. 2 is an embodiment of the clock modulation control and registers;



FIG. 3 is a flowchart of the clock modulation control and registers functionality;



FIG. 4 is an embodiment of a clock edge control buffer; and



FIG. 5 is a graph comparing a compensated clock with an uncompensated clock after a Vcc droop.





DETAILED DESCRIPTION

In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the invention. However, it will be understood by those skilled in the art that the present invention may be practiced without these specific details. In other instances, well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the present invention.


On-die clock distribution elements typically share the same Vcc with other circuit elements. Therefore, a Vcc droop may impact both the clock distribution delay and the data delay, albeit not to the same extent. For example, modulation of the clock distribution delay may result in the stretching or shrinking of the instantaneous clock period. In contrast, the data may experience a slow down followed by some recovery. The temporal behavior between the clock and the data may cause a circuit failure if the data is experiencing a slow down while the instantaneous clock period is shrinking.


For one embodiment of the invention, the compensated core clock modulation scheme may be used to help minimize the effects of a Vcc droop. The clock period during a voltage droop may be extended around the voltage droop to compensate for the data slow down in the circuit. This intentional increase in the clock period is called “relaxation.” Relaxation permits a reduction in the integrated circuit's frequency guard band. A smaller frequency guard band may facilitate a higher product yield and bin split without the excessive costs associated with traditional power supply de-coupling solutions.


The duration and the magnitude of the clock compensation are tailored to match the Vcc droop characteristics and the operating environment. The relaxation may last for a pre-determined number of clock cycles. The relaxation may provide additional clock period headroom while the data is experiencing a slow down. In other words, relaxation may compensate for the difference between the temporal behavior of the clock and the data. By providing the needed clock period relaxation when needed, the negative circuit margin caused by the Vcc droop is improved. The corresponding frequency guard band is also minimized.



FIG. 1 depicts an embodiment of a clock generator 100 for providing a Vcc droop compensated clock modulation in a computer system. The computer system may be a desktop computer or a server. The clock generator 100 comprises a phase locked loop (PLL) 150 coupled to Vcc droop detectors 110, a clock edge control buffer (CECB) 130, and a reference CECB 160. The Vcc droop detectors 110 are coupled to clock modulation control and registers (CMCR) 120. The reference CECB 160 is coupled to a local PLL feedback clock generation circuit 170. The local PLL feedback clock generation circuit 170 is coupled to a clock distribution matching delay circuit 180. The CECB may be coupled to a clock driver 140 that supplies enough current to drive a clock distribution network 190. The clock distribution network 190 is coupled to a microprocessor core 195.


For one embodiment of the invention, the clock generator 100 and the microprocessor core 195 are fabricated on separate chips. For another embodiment of the invention, the clock generator 100 may be a part of the microprocessor core 195. Thus, the clock generation circuit 100 and the microprocessor core 195 may be fabricated on a single silicon die.


A system clock and a PLL feedback clock are input to PLL 150. The PLL 150 may synchronize a microprocessor core clock with another clock such as a system clock. The output of the PLL 150 may be fed to Vcc droop detectors 110, CECB 130, and reference CECB 160. The Vcc droop detectors 110 also receive a Vcc and a reference Vcc as inputs. The Vcc droop detectors 110 compare the Vcc value with the reference Vcc value. The reference Vcc value is approximately equal to the ideal Vcc value. The Vcc droop detectors 110 communicate droop information to the CMCR 120.


If a droop is detected, a droop trigger signal may be generated and output to the CMCR 120. Vcc droop occurs when the Vcc value is less than the reference Vcc value. The reference Vcc may be a voltage value filtered directly from the package power plane. The voltage value obtained from the package power plane may have less noise than a value obtained from the on-die power grid. The CMCR 120 may comprise a state machine that cycles through a plurality of edge control registers that adjusts the timing of the outgoing clock through a rise setting and a fall setting. The CMCR 120 is further described below in FIG. 2.


The rise and fall settings generated by the CMCR 120 are used to control the CECB 130. The CECB 130 is further described below in FIG. 4. The CECB 130 outputs a modulated clock. The clock driver 140 ensures that the modulated clock has sufficient drive strength for the clock distribution network 190.


The reference CECB 160, the local PLL feedback clock generation 170, and the distribution matching delay 180 form the feedback path to the PLL 150. The PLL synchronizes the system clock with each of the points at the end of the clock distribution network 190. Thus, the delay through the feedback path should closely match the delay from the output of the PLL 150 to the end points of the clock distribution network 190. For this embodiment of the invention, microprocessor core 195 is an end point of the clock distribution network 190.


The reference CECB 160 approximates the default delay of the CECB 130. The local PLL feedback clock generation 170 may be a divider since the clock generated by the PLL clock may be orders of magnitude greater in frequency than the system clock. The distribution matching delay 180 may be approximately equal to the delay of the clock distribution network 190.


An embodiment of the CMCR 120 is depicted in FIG. 2. The CMCR 120 comprises trigger control 240 and a plurality of registers 250–281. For this embodiment of the invention, CMCR 120 has 32 registers. CMCR 120, however, is not limited to 32 registers. The register values are preset via fuses or focused ion beam (FIB) metal options. In addition, the settings may be reprogrammed through a boundary scan device such as a TAP controller, a microprocessor status register (MSR), or processor abstract layer (PAL).


The rise and fall settings stored inside the registers may be coded to have two operating phases. For example, a first operating phase may be stored in a first plurality of registers and a second operating phase may be stored in a second plurality of registers. Phase one stretches the clock period over a number of clock cycles. During phase one, the clock period is increased. Phase two gradually reduces the clock period and recovers the latency added to the clock during phase one. The reduction of a rise and fall settings programmed to any register cannot exceed the frequency guard band. In fact, the total reduction of the clock period with respect to the uncompensated clock during phase two must be less than the frequency guard band.


For another embodiment of the invention, CMCR 120 may have less than 32 registers or greater than 32 registers.


The trigger control 240 of the CMCR 120 receives a droop trigger from Vcc droop detectors 110. The trigger may be a binary number that tells the CMCR 120 whether a Vcc droop has occurred and possibly tells the amount of the droop. For another embodiment of the invention, the trigger may be an analog signal. FIG. 3 depicts a flowchart of the CMCR 120 functionality. The trigger of FIG. 3 is represented by a single binary number. The CMCR 120 of FIG. 3 has k registers. For one embodiment of the invention, k may be an integer equal to 32.


The rise setting and the fall settings are input bits to the CECB 130, which adjusts the clock period. The rise and fall control bits permit independent adjustment of the clock rise and fall edge delays. In operation 310, the trigger control 240 programs the CECB 130 with the settings from register 250. The rise and fall settings of register 250 represent the default rise and fall delays. If the droop trigger is “0” in operation 320, then the trigger control 240 continues to get the CECB 130 settings from register 250.


However, if the droop trigger is “1,” the trigger control 240 reads the CECB 130 settings from register 251 as shown in operation 330. The CECB 130 settings are then read from register 252 in operation 340 followed by register 253 in operation 350, until all k register settings have been read in operation 360. After operation 360, trigger control 240 again accesses the default rise and fall settings in operation 310.


An embodiment of the CECB 130 is depicted in FIG. 4. Transistors 420 and 421 are coupled to transistor 422, transistor 428 and transistor 429. Transistor 422 is coupled to transistors 423 and 424. Transistors 423 and 424 are coupled to transistor 425. Transistor 425 is coupled to transistor 426. Transistors 430 and 431 are coupled to transistor 432, transistor 438, and transistor 439. Transistor 432 is coupled to transistors 433 and 434. Transistors 433 and 434 are coupled to transistor 435. Transistor 435 is coupled to transistor 436. The transistors of FIG. 4 are powered by an analog voltage source, Vcca 410.


The clock generated by PLL 150 is coupled to transistor 427. The fall settings from CMCR 120 are coupled to a first circuit that comprises transistors 420–425. Transistors 420–425 determine the amount of current that flows from transistor 426 to transistor 427. The output of the first circuit is measured between transistors 426 and 427. The first circuit may be enabled or disabled through transistor 428. When the first circuit is disabled, transistor 429 is asserted, which sets the gate of transistor 426 to Vcc.


The rise setting from CMCR 120 are coupled to a second circuit that comprises transistors 430–435. The output of the first circuit is coupled to the gate of transistor 437. Buffer 440 is coupled between the first circuit and transistor 437 to help provide drive strength. The transistors 430–435 determine the amount of current that flows from transistor 436 to transistor 437. The second circuit may be enabled or disabled through transistor 438. When the second circuit is disabled, transistor 439 is asserted, which sets the gate of transistor 436 to Vcc.



FIG. 5 depicts an example of a graph of a compensated clock when a Vcc droop 530 is detected in comparison to an uncompensated clock. X-axis 510 represents time. Y-axis 520 represents the percentage of default. For Vcc, the percentage of default is the Vcc voltage at a given time divided by the default Vcc voltage. In contrast, the percentage of default for a clock is the actual clock period divided by the default clock period at a given time. Curve 540 is an uncompensated clock at the end of a clock distribution network. Curve 550 is a compensated clock at the source of a clock distribution network. The source of a clock distribution network may be measured from the output of the clock driver 140. Curve 560 is the compensated clock at the end of a clock distribution network.


When Vcc droop detectors 110 detect a Vcc droop 530, the clock modulation and control registers 120 introduce an initial stretch to the clock period. In the instance depicted in FIG. 5, the initial stretch of the curve 550 occurs at time A and lasts until time B. The stretch is maintained from time B to time C. As stated above, phase one is defined by the stretch of a clock over a number of clock cycles. Here, phase one includes the total stretch from time A to time C. Phase one is followed by phase two, which consists of a gradual reduction to the clock period from time C to time D. The difference between the percentage of default between curve 540 and curve 560 shows the delay added to the uncompensated clock at the end of the clock distribution network.


For one embodiment of the invention, time A may be at core clock cycle 8, time B may be at core clock cycle 9, time C may be at core clock cycle 14, and time D may be at core clock cycle 17.


In the foregoing specification the invention has been described with reference to specific exemplary embodiments thereof. It will, however, be evident that various modification and changes may be made thereto without departure from the broader spirit and scope of the invention as set forth in the appended claims. The specification and drawings are, accordingly, to be regarded in an illustrative rather than restrictive sense.

Claims
  • 1. A circuit, comprising: a trigger control that adjusts rise and fall time settings of a clock;a first register coupled to the trigger control, the first register to contain default rise and fall settings of the clock, the trigger control using the rise and fall settings to adjust the clock;m registers coupled to the first register with “m” being an integer greater than or equal to one, each of the m registers having rise and fall settings that increase a period of the clock, the trigger control accessing the m registers if a power supply voltage is detected to be less than a reference voltage; andn registers coupled to the in registers with “n” being an integer greater than or equal to one, the n registers having rise and fall settings that allow the clock to recover a period increase from the m registers and a total decrease in clock period caused by the rise and fall settings of the n registers is less than a frequency guard band.
  • 2. The circuit of claim 1, wherein the rise and fall settings stored in the m and n registers corresponding to stretching and reducing the clock period during first and second phases, respectively.
  • 3. The circuit of claim 2, wherein the in registers and the n registers are preset via fuses.
  • 4. The circuit of claim 2, wherein the m registers and the n registers ore preset via metal options.
  • 5. The circuit of claim 2, wherein the m registers and the n registers are revised via a TAP controller.
  • 6. The circuit of claim 2, wherein the m registers and the n registers are revised via a microprocessor status register.
  • 7. The circuit of claim 2, wherein the m registers and the n registers are revised via a processor abstract layer.
  • 8. The circuit of claim 1, further comprising: a clock edge control buffer coupled to the trigger control, the clock edge control buffer using the rise and fail settings provided by the trigger control to independently adjust clock rise and fall edge timings.
  • 9. A method, comprising: detecting a droop in a power supply voltage applied to an integrated circuit;generating a droop trigger;accessing rise and fall delay settings of a clock from a plurality of registers; andadjusting rise and fall delays of the clock based on the rise and fall delay settings so that a total reduction of a clock period does not exceed a frequency guard band of the integrated circuit.
  • 10. The method of claim 9, further comprising: programming the plurality of registers with rise and fall delay settings.
  • 11. The method of claim 9, wherein adjusting the rise and fall delays of the clock comprises stretching the clock period.
  • 12. The method of claim 11, wherein adjusting the rise and fall delays of the clock comprises recovering delays added to the clock during stretching of the clock period.
  • 13. A circuit comprising: a first register including default rise and fall settings of a clock signal;a first plurality of registers that include a rise and fall settings for increasing a clock period of the clock signal, the first plurality of registers being accessed if a power supply voltage is detected to be less than a reference voltage;a second plurality of registers that include rise and fall settings for allowing the clock signal to recover an increase of the clock period from the first plurality of registers such that a total decrease in the clock period caused by the rise and fall settings of the second plurality of registers is less than a frequency guard band; anda trigger control in communication with the first register, the trigger control using the rise and fall settings from the first register and accessing the rise and fall settings of the first plurality of registers if a power supply voltage is detected to be less than the reference voltage.
  • 14. The circuit of claim 13, wherein the first plurality of registers and the second plurality of registers are preset via one of fuses or metal options.
  • 15. The circuit of claim 13, wherein the first plurality of registers and the second plurality of registers are revised via a TAP controller.
  • 16. The circuit of claim 13, wherein the first plurality of registers and the second plurality of registers are revised via a microprocessor status register.
  • 17. The circuit of claim 13, wherein the first plurality of registers and the second plurality of registers are revised via a processor abstract layer.
  • 18. The circuit of claim 13, Further comprising: a clock edge control buffer coupled to the trigger control, the clock edge control buffer to use the rise and fall settings provided by the trigger control to independently adjust clock rise and fall edge timings.
  • 19. A method, comprising: detecting a droop in a power supply voltage applied to an integrated circuit;accessing rise and fall delay settings from a plurality of registers; andadjusting rise and fall delays of a clock signal based on the rise and fall delay settings so that a total reduction of a period of the clock signal does not exceed a frequency guard band of the integrated circuit.
  • 20. The method of claim 19, further comprising: programming the plurality of registers with rise and fall delay settings prior to detecting the droop in the power supply voltage; andgenerating a droop trigger signal in response to detecting the droop in the power supply voltage.
  • 21. The method of claim 19, wherein adjusting the rise and fall delays of the clock comprises increasing the clock period.
  • 22. The method of claim 19, wherein adjusting the rise and fall delays of the clock comprises recovering delays added to the clock signal during increasing of the clock period.
  • 23. A circuit comprising: a first register including a default rise and fall settings of a clock signal;a plurality of registers including (1) rise settings to increase a clock period of the clock signal if a power supply voltage is detected to be less than a reference voltage and (2) fall settings to allow the clock signal to recover an increase of the clock period from a first plurality of registers where a total decrease in the clock period caused by the rise and fall settings of a second plurality of registers is less than a frequency guard band; anda trigger control in communication with the first register and the plurality of registers o alter the clock period of the clock signal.
US Referenced Citations (14)
Number Name Date Kind
5559553 Bitek Sep 1996 A
6152613 Martin et al. Nov 2000 A
6184753 Ishimi et al. Feb 2001 B1
6243784 Anderson et al. Jun 2001 B1
6445230 Rupp et al. Sep 2002 B1
6586971 Naffziger et al. Jul 2003 B1
6643499 Audinot et al. Nov 2003 B1
6828848 Lee Dec 2004 B2
6876239 Bell Apr 2005 B2
6922111 Kurd et al. Jul 2005 B2
20020087896 Cline et al. Jul 2002 A1
20030112038 Naffziger et al. Jun 2003 A1
20030227335 Ebihara Dec 2003 A1
20040119521 Kurd et al. Jun 2004 A1
Related Publications (1)
Number Date Country
20050022042 A1 Jan 2005 US