The present invention relates generally to supply of power to integrated circuits, and more particularly to detecting and/or compensating for power supply droops to integrated circuits.
Integrated circuits may be largely quiescent at times, drawing little power, while at other times may in whole or in part require large amounts of power. The changes in utilized power may present difficulties in providing stable power to the circuitry, and voltage supplied may decrease, or droop, when power regulation circuits are faced with rapid increases in power demands. These voltage droops may result in slower operation of integrated circuitry, and may result in combinatorial logic failures, particularly for system on chip (SoC) devices, in which voltage droops may not be uniform over the device.
The effect of supply droops in SoC is to lead to failure in sampled combinational paths. Supply droops increase the delay in logic paths. Supply droops are mainly caused by fast SoC load current transients.
Prevention of logic failures comprises either or both preventing a supply voltage droop from taking place and/or allow more clock delay to logic to resolve failure-free. A way of detecting a supply droop is to mimic the mechanism of logic path failure with a delay line monitor tuned to fail earlier than the most critical path of a System-on-Chip (SoC) during a supply droop transient. A supply droop transient may be detected using a droop detector, for example the droop detector(s) discussed hereon. Clock stretching comprises, upon droop detection, temporarily stretching a clock period of a clock signal used by logic circuitry of the SoC to prevent critical paths failure. Stretching temporarily the clock period during a load transient, inherently reduces the load current (CVF) and thus reduces the droop amplitude. The benefits of clock stretching may be twofold. Clock pulse skipping is more aggressive in creating large voltage ripple and sever performance throttling. Clock stretching with finer timing resolution keeps voltage ripple and performance throttling under control.
In some embodiments, novel and inventive aspects include one, some, or all of:
A clock stretcher scheme to prevent logic failure in presence of supply voltage droop.
Distributed droop monitors across sensitive areas of an SoC die.
A wheel having a turning needle to stretch the SoC clock.
An analog implementation of a droop monitor using analog calibrated delay lines.
A digital implementation of a droop monitor using digitally calibrated delay lines.
Some embodiments provide a system for compensating for voltage droops in power supplied to integrated circuitry, comprising: a plurality of droop monitors within an integrated circuit, the droop monitors configured to detect occurrence of a droop in voltage level below a specified level of a regulated supply voltage; and clock adjustment circuitry configured to stretch a period of a clock signal supplied to portions of the integrated circuit in response to detection of the occurrence of the droop in voltage level below the specified level.
Some embodiments provide a method for compensating for voltage droops in power supplied to integrated circuitry, comprising: Operating integrated circuitry of a system-on-chip (SoC) using a first clock signal at a first clock frequency, the integrated circuitry of the SoC including SoC logic circuitry, first integrated circuitry, and second integrated circuitry; monitoring speed of operation of first integrated circuitry supplied with a regulated supply voltage with respect to speed of operation of second integrated circuitry supplied with a first voltage level; and transitioning operation of the integrated circuitry of the SoC to use of a second clock signal of a plurality of clock signals, the plurality of clock signals including the first clock signal, each of the plurality of clock signals having a same frequency but having differing phases, with the transitioning of operation of the integrated circuitry of the SoC to use of the second clock signal resulting in stretching of a clock period of a clock signal provided to the integrated circuitry of the SoC.
These and other aspects of the invention are more fully comprehended upon review of this disclosure.
Some embodiments in accordance with aspects of the invention include a plurality of droop monitors within an integrated circuit, the droop monitors configured to detect occurrence of a droop in voltage level below a specified level of a regulated supply voltage, and clock adjustment circuitry configured to stretch a period of a clock signal supplied to portions of the integrated circuit in response to detection of the occurrence of the droop in voltage level below the specified level.
In some embodiments the droop monitors monitor a speed of execution of sensing integrated circuitry compared to speed of execution of reference integrated circuitry. In some embodiments the sensing integrated circuitry and the reference integrated circuitry each comprise a delay line. In some embodiments the reference integrated circuitry is provided power at a first voltage level and the sensing integrated circuitry is provided power at the regulated supply voltage level.
In some embodiments the clock adjustment circuitry selects a system clock signal at a particular phase from a plurality of clock signals each having different phases. In some embodiments the clock adjustment circuitry stretches the period of the system clock signal supplied to portions of the integrated circuit by selecting a next to be used clock signal that is phase delayed compared to a currently used clock signal.
A plurality of monitor blocks 115a-c receive power from the power mesh and the clock signal from the clock tree. The monitor blocks are generally distributed in different areas of the integrated circuit. The monitor blocks determine if the regulated power from the voltage regulator drops below a predefined level. In some embodiments the monitor blocks determine if the regulated power from the voltage regulator drops below the predefined level by comparing speed of operation of reference integrated circuitry with speed of operation of sensing integrated circuitry. In some embodiments the sensing integrated circuitry and the reference integrated circuitry each comprise a delay line. In some embodiments the sensing regulated circuitry is provided the regulated power from the voltage regulator and the reference integrated circuitry is provided power from a different power regulator. In some embodiments the power from a different power regulator is regulated to be at a voltage less than a nominally expected voltage from the voltage regulator, but also at a voltage greater than a voltage at which a failure of expected operation of combinatorial logic circuitry is expected to occur.
In operation, if any of the monitor blocks determine that the regulated power from the voltage regulator drops below the predefined level, indicative of a power droop, then the system clock signal for clocking operations of the circuitry of the integrated circuit is stretched. In most embodiments the clock signal is stretched by replacing a then currently selected clock signal with a clock signal at the same frequency, but phase shifted so as to transition at a slightly later time. In some embodiments, however, clock stretching may be performed by adjusting operation of a voltage controlled oscillator (VCO), for example by first slowing operation of the VCO to lengthen a clock period and then speeding operation of the VCO so as to return the frequency of the clock signal to the frequency prior to slowing of the VCO.
In the embodiment of
The clock signal Clkpn and Clkpn+1 both have the same frequency, but differ in phase, and both clock signals may be generated by a PLL. At a time t1 it may be seen that the clock signal ClkSoc, and the clock signal Clkpn both transition from a low to high state, indicating that the clock signal Clkpn is currently selected as the clock signal for use by the logic circuitry. At a time t2, subsequent to time t1, it may be seen that the clock signal Clkleaf transitions from a low to high state, with the time t2-t1 indicating a propagation delay as the clock signal ClkSoc travels through the clock tree.
At a time t3 the clock signal Clkpn once again transitions from a low to high state. The clock signal ClkSoc, however, does not transition from a low to high state at time t3, indicating that the clock signal Clkpn+1 is no longer selected for use by the logic circuitry. Instead, for example due to a monitor block indicating detection of a voltage droop, the clock signal Clkpn+1 has been selected for use by the logic circuitry. This may be seen with the clock signal ClkSoc transitioning from a low to high state concurrently with the clock signal Clkpn+1 at a time subsequent to time t3, indicating that the clock signal Clkpn+1 has been selected for use by the logic circuitry. Effectively, therefore, a clock period of the clock signal ClkSoc, has been stretched, or extended in time.
At a time t4 the clock signal Clkleaf would transition from a low state to a high state, if Clkpn were still the selected clock signal. Due to the detected voltage droop, a logic failure would have been expected at that time. However, as ClkSoc has transitioned to the clock signal Clkpn+1, the rising edge of Clkleaf has been delayed to time t5, providing sufficient time for the logic operations of the logic circuitry to complete.
With respect to
n clock phases are obtained from VCO cells. They are available at no cost as traditional VCOs align more than 8 cells.
The phases are placed in a fixed wheel, and only one phase is selected as the SOC clock by a turning needle.
Several monitors distributed through the SoC sense the supply droop about to create a timing failure.
Any of these alarms moves clockwise forward the wheel pointer by a predefined step.
Depending on the severity of the droops, it might be decided using logic means, for example logic circuitry, to move the pointer 1, 2, or as needed or desired steps to prevent timing failure.
The monitors are translate power droop into delay that is compared to a predefined delay reference.
Fine granularity of clock phase may put performance throttling under control.
The sensing delay line 411 and the reference delay line each receive a clock signal CLKSOC. The clock signal CLKSOC may be for example, the ClkSoC signal or the Clkleaf signal of
In the embodiment of
The embodiment of
The lock loop includes a phase and frequency detector (PFD) 423 which operates on the output of the sensing delay line and the clock signal CLKSOC. The PFD provides up/down signals to a first charge pump 431, the output of which, in calibration mode, charges a lock capacitor 433 with a voltage Vlock. The voltage Vlock is used to modify speed of operation of the sensing delay line, with the voltage Vlock varying during calibration until the output of the sensing delay line is phase and frequency locked to the clock signal CLKSOC.
The tuning loop utilizes the alarm signal to operate a second charge pump 441, the output of which, in calibration mode, charges a tuning capacitor 443 with a voltage Vtune. The voltage Vtune is used to modify speed of operation of the reference delay line. When delay of the reference delay line does not approximate delay of the sensing delay line, the alarm signal will generally either be high or be low, depending on the offset between the two delay lines. Once the delays are closing to matching, with the relative delays effectively slightly toggling in comparative length with respect to each other, the alarm signal will also generally toggle between a high and low state, indicating the delay lines substantially match.
In summary, operation of the monitor block of
In various embodiments:
As the delay line is used to sense supply variations and convert it to delay, the tuning is preferably performed on the capacitor (PSRR=1).
Current starving inverters have a high PSRR and may not be as suitable to supply monitoring.
Delay versus supply is decently linear within useful range, as may be seen in
As failure mechanism is related to delay in critical paths, the delay line senses the effect of a supply voltage droop.
The monitor block of
In the embodiment of
In summary, for the embodiment of
Fully digital concept
Digital charge pump, integrator, up down counter
Delay line implemented in switchable logic gates or tristate logic gates
Suitable to FPGA implementation for concept validation
In summary:
Droop effect is compensated twofold.
Clock stretching prevents critical logic paths from failing.
Clock stretching temporally reduces switching frequency that translates into load current reduction.
Although the invention has been discussed with respect to various embodiments, it should be recognized that the invention comprises the novel and non-obvious claims supported by this disclosure.
This application claims the benefit of the filing date of U.S. Provisional Patent Application No. 62/357,852, filed on Jul. 1, 2016, the disclosure of which is incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
62357852 | Jul 2016 | US |