SoC supply droop compensation
10749513 ยท 2020-08-18
Assignee
Inventors
Cpc classification
G01R19/165
PHYSICS
H03K5/15
ELECTRICITY
H03L7/0891
ELECTRICITY
G05F1/565
PHYSICS
International classification
H03K5/15
ELECTRICITY
G01R19/165
PHYSICS
G05F1/565
PHYSICS
Abstract
Droop monitors spread across a system-on-chip (SoC) monitor for voltage droops in regulated supply voltage supplied to logic circuitry of the SoC. In the event of a voltage droop, a clock signal supplied to the logic circuitry is stretched, to temporarily increase a period of the clock signal. The droop monitors may include a sensing delay line provided voltage at the regulated supply voltage, and a reference delay line supplied with a reference voltage, with operations of the delay lines monitored to determine a voltage droop.
Claims
1. 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; wherein the droop monitors are configured to monitor a speed of execution of sensing integrated circuitry compared to speed of execution of reference integrated circuitry; wherein the sensing integrated circuitry comprises a sensing delay line and the reference integrated circuitry comprises a reference delay line; wherein the sensing delay line and the reference delay line each include a series of inverters with variable capacitors coupled to ground between inverters in the series of inverters; and wherein the droop monitors include a lock loop to set a delay of the sensing delay line to a predetermined delay and a tuning loop to tune a delay of the reference delay line to a delay of the sensing delay line, the lock loop and the tuning loop being operational during a calibration mode and non-operational during an operational mode.
2. The system of claim 1, wherein the predetermined delay covers a clock cycle of a system clock signal.
3. The system of claim 1, further comprising a low dropoff regulator to provide power to the reference integrated circuitry at a first voltage level, with the sensing integrated circuitry provided power at the regulated supply voltage.
4. The system of claim 1, wherein the clock adjustment circuitry is configured to select a system clock signal at a particular phase from a plurality of clock signals each having different phases.
5. The system of claim 4, wherein the clock adjustment circuitry is configured to stretch a 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.
6. The system of claim 1, wherein the lock loop includes a phase and frequency detector to provide up/down signals, and a first charge pump and a lock capacitor, the first charge pump configured to use the up/down signals to charge the lock capacitor with a lock voltage.
7. The system of claim 1, wherein the tuning loop includes a second charge pump to charge a tuning capacitor with a tune voltage, the tune voltage tuning the delay of the reference delay line to the delay of the sensing delay line.
Description
BRIEF DESCRIPTION OF THE FIGURES
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
DETAILED DESCRIPTION
(12) 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.
(13) 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.
(14) 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.
(15)
(16) 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.
(17) 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.
(18) In the embodiment of
(19)
(20)
(21) The clock signal Clkp.sub.n and Clkp.sub.n+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 Clk.sub.Soc and the clock signal Clkp.sub.n both transition from a low to high state, indicating that the clock signal Clkp.sub.n 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 Clk.sub.leaf transitions from a low to high state, with the time t2t1 indicating a propagation delay as the clock signal Clk.sub.Soc travels through the clock tree.
(22) At a time t3 the clock signal Clkp.sub.n once again transitions from a low to high state. The clock signal Clk.sub.Soc, however, does not transition from a low to high state at time t3, indicating that the clock signal Clkpn 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 Clk.sub.Soc transitioning from a low to high state concurrently with the clock signal Clkp.sub.n+1 at a time subsequent to time t3, indicating that the clock signal Clkp.sub.n+1 has been selected for use by the logic circuitry. Effectively, therefore, a clock period of the clock signal Clk.sub.Soc has been stretched, or extended in time.
(23) At a time t4 the clock signal Clk.sub.leaf would transition from a low state to a high state, if Clkp.sub.n were still the selected clock signal. Due to the detected voltage droop, a logic failure would have been expected at that time. However, as Clk.sub.Soc has transitioned to the clock signal Clkp.sub.n+1, the rising edge of Clk.sub.leaf has been delayed to time t5, providing sufficient time for the logic operations of the logic circuitry to complete.
(24) With respect to
(25) n clock phases are obtained from VCO cells. They are available at no cost as traditional VCOs align more than 8 cells.
(26) The phases are placed in a fixed wheel, and only one phase is selected as the SOC clock by a turning needle.
(27) Several monitors distributed through the SoC sense the supply droop about to create a timing failure.
(28) Any of these alarms moves clockwise forward the wheel pointer by a predefined step.
(29) 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.
(30) The monitors translate power droop into delay that is compared to a predefined delay reference.
(31) Fine granularity of clock phase may put performance throttling under control.
(32)
(33) The sensing delay line 411 and the reference delay line each receive a clock signal CLK.sub.SOC. The clock signal CLK.sub.SOC may be for example, the Clk.sub.SoC signal or the Clk.sub.leaf signal of
(34) In the embodiment of
(35) The embodiment of
(36) 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.
(37) 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.
(38) In summary, operation of the monitor block of
(39) TABLE-US-00001 TABLE I Calibration mode (cal = 1) Normal operation (cal = 0) Sensing delay line supply Sensing delay line supply connects to connected to LDO Vddsoc Reference delay line supply Reference delay line supply permanently connected to LDO permanently connected to LDO. As sensing delay line supply voltage is normally higher than the LDO supplied voltage, the delay for the sensing delay line is shorter Both loops are closed Both loops are open, Vlock and Vtune stored on capacitors Sensing delay line locked on a Sensing delay line faster than the reference clock to make sure reference delay line samples 0's at the logic delay line stretches all flip flop. If Vdd.sub.soc supply drops below over the clock period LDO supply reference, reference delay line starts to sample 1's on FF. The alarm flag is then raised Reference delay line locks on The chain of delay elements detects the the sensing delay line to provide effect of supply variation on timings. matching, in some embodiments near perfect, between the two delay lines Lock is obtained when Alarm is toggling
(40)
(41) In various embodiments:
(42) 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).
(43) Current starving inverters have a high PSBR and may not be as suitable to supply monitoring.
(44) Delay versus supply is decently linear within useful range, as may be seen in
(45) As failure mechanism is related to delay in critical paths, the delay line senses the effect of a supply voltage droop.
(46)
(47) The monitor block of
(48) In the embodiment of
(49) In summary, for the embodiment of
(50) Fully digital concept
(51) Digital charge pump, integrator, up down counter
(52) Delay line implemented in switchable logic gates or tristate logic gates
(53) Suitable to FPGA implementation for concept validation
(54)
(55)
(56) In summary:
(57) Droop effect is compensated twofold.
(58) Clock stretching prevents critical logic paths from failing.
(59) Clock stretching temporally reduces switching frequency that translates into load current reduction.
(60)
(61) 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.