Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
DROOP DETECTION AND REGULATION FOR PROCESSOR TILES
Document Type and Number:
WIPO Patent Application WO/2017/069900
Kind Code:
A1
Abstract:
A processor system includes first and second regulators for regulating an adjusted supply voltage. The first and second regulators generate a plurality of control signals to regulate an adjusted power supply voltage and that generate a charge when a droop level falls below a droop threshold value by implementing first and second control loops. A supply adjustment block with the two regulators and control loops are provided for each processor core allowing different cores to have different regulated supply levels all based on one common supply. One regulator is a global regulator while another is a local regulator found in each of the processing tiles. Processing tiles are grouped into two groups wherein one group includes tiles that may powered down to save power. Voltage rails of the two groups are selectively connected to equalize voltage levels when both groups are powered on and operating.

Inventors:
RODRIGUEZ MIGUEL (US)
KOSONOCKY STEPHEN VICTOR (US)
Application Number:
PCT/US2016/052846
Publication Date:
April 27, 2017
Filing Date:
September 21, 2016
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ADVANCED MICRO DEVICES INC (US)
International Classes:
G05F1/59
Foreign References:
US20040251883A12004-12-16
US20090153109A12009-06-18
US20100085108A12010-04-08
US20140152339A12014-06-05
US20090138737A12009-05-28
US20140167813A12014-06-19
US20140277812A12014-09-18
US20140266141A12014-09-18
Other References:
See also references of EP 3365743A4
Attorney, Agent or Firm:
POLANSKY, Paul J. (US)
Download PDF:
Claims:
WHAT IS CLAIMED IS:

1. A processor system (150) comprising:

a plurality of processor tiles (154a/154b/154c), each comprising:

a supply adjustment block (156) adapted to receive a supply voltage from an external voltage supply, the supply adjustment block (156) comprising a plurality of selectable resistive elements for regulating an adjusted supply voltage based on said supply voltage and a first control signal;

a first regulator (166) coupled to generate a charge injection signal (168) based upon a detected droop when a droop level of said supply voltage falls below a droop threshold value; charge selection logic (160) configured to inject a charge to at least one processor core (158) when the charge injection signal is asserted, wherein said charge selection logic (160) is coupled to said supply adjustment block (156); and

wherein said supply adjustment block (156) is connected between said at least one processor core

(158) and at least one of said external voltage supply and circuit common or ground; and a second regulator (152) coupled to receive a target supply voltage indication and a plurality of voltage level indications from the plurality of processor tiles (154a/154b/154c), the second regulator (152) configured to produce a second control signal based upon the target supply voltage indication and the plurality of voltage level indications wherein the charge selection logic (160) generates the first control signal based on the second control signal.

2. The processor system (150) of claim 1 further comprising a first group of processor tiles (182) in a mostly on regulated (MON) region and a second group of processor tiles (184) in a coarse grain power gated (CGPG) region.

3. The processor system (150) of claim 2 further comprising plurality of power gates (194a/194b/194c) configured to selectively connect supply voltage rails of the MON and CGPG regions.

4. The processor system (150) of claim 3 wherein the supply voltage rails of the MON (182) and CGPG (184) regions are connected when the MON (182) and CGPG (184) regions are powered up to equalize the supply voltage rails and wherein the supply voltage rails of the MON (182) and CGPG (184) regions are disconnected when the MON region (182) is powered up and the CGPG region (184) is powered down.

5. The processor system (150) of claim 2 wherein the second regulator (152) calculates an average of the plurality of voltage level indications and eliminates voltage level indications from the CGPG region (184) processor tiles when calculating the average of the plurality of voltage level indications when the CGPG region (184) is powered down.

6. The processor system (150) of claim 1 wherein the second regulator (152) comprises a configurable digital proportional-integral-derivative controller and the first regulator (166) comprises a fast droop detector. A digital linear voltage regulator (DLVR) control system comprising:

a first regulator (152) that generates a plurality of control signals to regulate an adjusted supply voltage based on a target voltage and on a plurality of received plurality of voltage level indications from a plurality of processor tiles (154a/154b/154c); and

a second regulator (166) that injects a charge when a droop level falls below a threshold value.

The DLVR control system of claim 7 further comprising a supply adjustment block (156) configured to selectively generate an adjusted supply voltage to at least one processor core (158) based on said plurality of control signals.

The DLVR control system of claim 7 further comprising a first group of processor tiles in a mostly on (MON) regulated region (182) and a second group of processor tiles in a coarse grain power gated (CGPG) region (184).

The DLVR control system of claim 9 further comprising plurality of power gates (194a/ 194b/ 194c) configured to selectively connect supply voltage rails of the MON (182) and CGPG (184) regions.

The DLVR control system of claim 10 wherein the supply voltage rails of the MON ( 182) and CGPG ( 184) regions are connected when the MON (182) and CGPG (184) regions processor tiles are powered up to equalize the supply voltage rails and wherein the supply voltage rails of the MON (182) and CGPG (184) regions are disconnected when the MON region (186) processor tiles are powered up and the CGPG region (188) processor tiles are powered down.

The DLVR control system of claim 11 wherein the second regulator (166) eliminates voltage level indications from the CGPG region (184) processor tiles when calculating an average of the plurality of voltage level indications when the CGPG region (184) processor tiles are powered down.

The DLVR control system of claim 7 wherein said first regulator (152) comprises a configurable digital proportional-integral-derivative controller and said second regulator (166) comprises a fast droop detector.

A method for providing supply voltages to a multi-core processor (150), comprising:

receiving a power supply voltage and a control signal and generating an adjusted supply voltage based upon the power supply voltage and the control signal;

receiving (202), at a first regulator (152), a target supply voltage indication and a plurality of supply

voltage level indications;

calculating (204) an average of the plurality of supply voltage level indications;

producing (206) said control signal to a supply adjustment block (156) based upon a difference in an said target supply voltage indication and said average of said plurality of supply voltage level indications; and

generating an adjusted supply voltage.

15. The method of claim 14 further including:

comparing (208), in a second regulator (166), the adjusted supply voltage relative to a droop threshold value;

based on said comparing, generating (210) a charge injection signal when said adjusted supply voltage falls below the droop threshold value; and

injecting (212) a charge to at least one processor core (158) of said multi-core processor based upon said charge injection signal.

16. The method of claim 15 wherein said first regulator (152) comprises a digital linear voltage regulator (DLVR) controller and said second regulator (166) comprises a fast droop detector.

17. The method of claim 15 further including, at said second regulator (166), receiving said droop threshold value in a digital form and converting it to an analog droop threshold value and comparing said analog droop threshold value to the adjusted supply voltage.

18. The method of claim 17 further including injecting a charge based upon a control word value produced by said first regulator (152) when said supply voltage is less than said analog droop threshold value.

19. The method of claim 14 further including powering down a first plurality of processor tiles

(186a/ 186b/ 186c) in a coarse grain power gated (CGPG) region (184) while maintaining power to a second plurality of processor tiles (188a/188b/188c) in a mostly-on regulated (MON) region (182).

20. The method of claim 19 further including connecting supply voltage rails of the MON (182) and CGPG (184) regions when the MON (182) and CGPG (184) regions are powered up to equalize the supply voltage rails and disconnecting the supply voltage rails of the MON (182) and CGPG ( 184) regions when the MON region (182) is powered up and the CGPG region (184) is powered down.

Description:
DROOP DETECTION AND REGULATION FOR PROCESSOR TILES

Miguel Rodriguez

Stephen Victor Kosonocky

TECHNICAL FIELD

[0001] The present disclosure relates generally to power control and, more particularly, to linear voltage regulators for large digital logic circuits such as microprocessors.

BACKGROUND ART

[0002] Integrated circuits and other discrete circuits often include terminals for receiving power from a power supply that is often labeled VDD to provide a source voltage for the associated circuitry. A circuit, for example an inverter, is often connected between the supply and circuit common or ground. In the case of MOSFET transistors, a specified voltage at a gate terminal activates the transistor to create a circuit path to drive circuit elements connected between an output terminal and the supply or ground and to drive the operation of subsequent circuits connected to the output terminal. Typically, the amount of current and circuit loading is related to both the operation speed and power supply voltage. Because of the active nature of many circuits, the loading will sometimes vary and, at times, may cause a supply voltage level to drop or be lowered from the desired level.

[0003] Voltage droop is a term used to refer to the drop in voltage from the desired voltage level as the supply drives a load. In a regulated system, the output voltage can sag when a load is suddenly increased very rapidly. For example, a transient loading condition may occur causing a voltage droop. If the droop is too large, then circuit failure results.

[0004] In prior art systems, supply adjustment circuits, or "header" circuits, are operably disposed between a supply and a circuit and are regulated to adjust or compensate for such variations in the supply. For example, some solutions include header circuits that constantly switch at a relatively high frequency above 1 GHz to minimize the loading from the transient response and to regulate the supply voltage. These header circuits are often optimized to respond very quickly to voltage droops due to transient loading conditions and other loading conditions.

[0005] These prior art systems typically have substantial customized analog design blocks and add significant overhead as they switch in and out of connecting relatively large field effect transistors in order to respond to transient loading conditions. This even occurs when operating in a steady-state mode. Thus, such systems not only consume precious integrated circuit real estate, but also are inefficient from a power perspective.

BRIEF DESCRIPTION OF THE DRAWINGS

[0006] The present disclosure may be better understood, and its numerous features and advantages made apparent to those skilled in the art by referencing the accompanying drawings, in which: [0007] FIG. 1 illustrates, in block diagram form, a processor system connected to deliver power to a processor core according to an embodiment;

[0008] FIG. 2 illustrates, partially in block diagram form and partially in schematic form, further details of a processor system and a supply adjustment block according to an embodiment;

[0009] FIG. 3 illustrates, partially in block diagram form and partially in schematic form, further details of a processor system and a supply adjustment block according to an embodiment;

[0010] FIG. 4 illustrates, partially in block diagram form and partially in schematic form, further details of a supply adjustment block and associated charge control logic according to an embodiment;

[0011] FIG. 5 illustrates, in block diagram form, a system for regulating supply voltages to a plurality of processor cores according to an embodiment;

[0012] FIG. 6 illustrates, partially in block diagram form and partially in schematic form, further details of a regulator system that compensates for droop according to one embodiment; and

[0013] FIGs. 7, 8 and 9 are flowcharts that illustrate methods according to various embodiments.

[0014] FIG. 10 is a functional block diagram that illustrates a processor system connected to deliver an adjusted supply voltage to a plurality of processor tiles according to an embodiment.

[0015] FIG. 11 is a functional block diagram of a processor system with a low drop out regulator control system having grouped processor tiles according to an embodiment.

[0016] FIG. 12 is a functional block diagram of a processor system that illustrating supply rail connections between voltage rails of the MON and CGPG regions.

[0017] FIG. 13 is a flowchart illustrating method for regulating supply voltages in a multi-core processor having a plurality of processor tiles.

[0018] FIG. 14 is a flowchart illustrating method for regulating supply voltages in a multi-core processor having a plurality of groups of processor tiles.

[0019] The use of the same reference symbols in different drawings indicates similar or identical items. Unless otherwise noted, the word "coupled" and its associated verb forms include both direct connection and indirect electrical connection by means known in the art, and unless otherwise noted any description of direct connection implies alternate embodiments using suitable forms of indirect electrical connection as well. DESCRIPTION OF EMBODIMENTS

[0020] FIG. 1 illustrates, in block diagram form, a processor system connected to deliver an adjusted supply voltage to a processor core according to an embodiment. Referring to FIG. 1, a processor system 10 includes an input port shown as VDD 12 connected to receive a supply voltage from an external voltage source. The input port conducts the received supply voltage to a supply adjustment block 14. Supply adjustment block 14 is connected to produce an adjusted supply voltage to a processor core 16. A charge selection block 18 generates control signals 20 that are produced to supply adjustment block 14. A first regulator shown as digital low voltage regulator (DLVR) DLVR 22 and comprises a low-drop out controller that generates control signals 24 to charge selection block 18. A second regulator, which comprises a fast droop detector (FDD) labeled as FDD 26, also generates control signals 28 to charge selection block 18.

[0021] FDD 26 is connected to receive the adjusted supply voltage produced by supply adjustment block 14 as well as a droop threshold level 34 from DLVR 22. A power supply monitor (PSM) 30 is also connected to receive the adjusted supply voltage produced by supply adjustment block 14. Among other communications and signals, PSM 30 produces a digital representation 32 of the adjusted supply voltage to DLVR 22.

[0022] DLVR 22 not only receives the digital representation 32 of the adjusted supply voltage from PSM 30, but also receives a target voltage and a droop threshold level from an external source. For example, the external source may comprise a power control block or module for the integrated circuit or a register whose value is set by an operating system. Both the target voltage and the droop threshold voltage are received as digital values. DLVR 22, therefore, regulates the adjusted supply voltage produced by supply adjustment block 14 based on a comparison of the adjusted supply voltage to the target voltage via control signals 24.

[0023] Additionally, as described before, DLVR 22 produces the droop threshold level 34 to FDD 26. When the adjusted supply voltage reaches or falls below the droop threshold level, FDD 26 generates a charge injection signal 28 as a control signal to charge selection block 18. Charge selection block 18, in turn, generates control signals 20 to supply adjustment block 14 to inject a charge, or more specifically, to increase the adjusted supply voltage magnitude produced to processor core 16 as a part of regulating the adjusted supply voltage by changing the conductivity of the transistors within the header circuitry by switching individual transistors in or out to regulate the voltage. The embodiments that show this level of detail are described in relation to the figures that follow.

[0024] Generally, the above described system comprises, in one embodiment, a digital linear voltage regulator (DLVR) control system comprising first and second regulators that generate a plurality of control signals to regulate an adjusted power supply voltage and to generate a charge when a droop level falls below a threshold value. A processor core, such as processor core 16, includes a supply port for receiving the adjusted power supply voltage and a charge in response to a detected droop condition. The DLVR control system is connected to monitor the adjusted power supply voltage received at the supply port to evaluate the droop level.

[0025] In operation, the first regulator, i.e., DLVR 22, regulates the supply voltage to equal a target power supply voltage using a first regulation loop having a first bandwidth. The first regulator not only receives a target adjusted supply voltage from an external source but also receives a droop level threshold. The first regulator also receives from PSM 30 a digital representation 32 of the adjusted supply voltage. The first regulator therefore generates control signals 24 to adjust the settings of the supply adjustment block 14 via charge selection block 18 in response to differences between the target voltage and the actual adjusted supply voltage to regulate the voltage produced by the supply adjustment block 14.

[0026] The second regulator, namely FDD 26 in the described embodiment, regulates the adjusted supply voltage using a second regulation loop having a second bandwidth that is different from the first bandwidth. More specifically, the second regulator compares the adjusted supply voltage to the received droop threshold 34 and generates a charge injection signal 28 to quickly adjust the adjusted supply voltage to raise the adjusted supply voltage above the droop threshold level.

[0027] The second regulation loop is a fast acting loop in relation to the first regulation loop. While the second loop is a digital control loop (utilizing clock based digital logic) and therefore operates based on clock cycles, the second regulation loop is configured to detect a droop that reaches the droop threshold as it happens. In one embodiment, the second regulator implements analog circuitry to perform the droop detection and voltage regulation. Accordingly, by implementing a system with this second regulation loop, the logic for the supply adjustment block 14 need not be as complicated or operate at high frequencies as described in relation to prior art systems thereby reducing power consumption and IC real estate. Moreover, because the processing that occurs for the first regulation loop is in the digital domain, power consumption and silicon footprint size is reduced further while adding flexibility to the design and operation.

[0028] FIG. 2 illustrates, partially in block diagram form and partially in schematic form, further details of a processor system and a supply adjustment block according to an embodiment. Supply VDD 12 conducts the supply voltage to supply adjustment block 14 as described before in relation to FIG 1. Supply adjustment block 14 includes a plurality of selectable resistive elements that are connected in parallel. Stated differently, an input node of each resistive element is connected to VDD 12 while an output node of each resistive element is commonly connected to an input port of processing core 16. Processing core 16 includes an output port for transmitting a signal 32 to DLVR 22 and an input port for receiving a signal 34 from DLVR 22. In the described embodiment, processing core 16 transmits a digital representation of the adjusted supply voltage magnitude 32 and receives a droop threshold level 34.

[0029] Processor core 16 further includes an output port for transmitting the charge inject signal 28 to charge selection block 18. DLVR 22 further is connected to receive, from an external source, the target voltage signal and the droop threshold signal. DLVR 22, in the described example, includes output buses 24a and 24b that are connected to charge selection block 18. Buses 24 a-b carry control words for selecting the selectable resistive elements (here, MOSFETs) to regulate the adjusted supply voltage. Charge selection block 18 is connected to receive the charge injection signal 28 from FDD 26 of processing core 16 and to produce selection signals to select one or more of the resistive elements 38 a-c of supply adjustment block 14.

[0030] As may be seen, the power supply voltage is received by supply adjustment block 14 from VDD 12. Supply adjustment block 14 comprises a plurality of resistive elements that are selectable and are configured to vary a voltage drop across the supply adjustment block 14 by varying the total resistance thereby adjusting the available voltage that is produced to the processing core 16. Specifically, in the described embodiment, a plurality of parallel- connected scaled resistive elements is shown wherein each of the resistive elements comprises a P-channel MOSFET. It should be understood that the resistive elements may be configured in series or, alternatively, in a combination of series and parallel connections. Moreover, the resistive elements are scaled to achieve the desired resistive range. Further, the type of elements (e.g., P-channel or N-channel MOSFETs) used impacts the associated control logic of, for example, charge selection block 18.

[0031] In the described embodiment, the adjusted supply produced by supply adjustment block 14 is produced to processor core 16. FDD 26 and PSM 30 are configured and formed within processing core 16. Accordingly, the adjusted supply is produced directly to both FDD 26 and PSM 30. PSM 30 is operable to generate a digital value that represents the adjusted supply voltage level and to transmit the digital value 32 to the first regulator 22. In the example of FIG. 2, the first regulator (DLV 22) is a digital linear voltage regulator (DLV ) controller.

[0032] DLVR 22 is shown to be disposed outside of the processing core 16. As such, DLVR 22 may operate to control and regulate the adjusted supply voltage even if processor core 16 is powered off. In an alternative embodiment, DLVR 22 may be disposed and configured within processing core 16. In both embodiments, DLVR 22 comprises digital processing circuitry.

[0033] One aspect of the embodiment illustrated in FIG. 2 is that DLVR 22 is configured to generate at least one control word on at least one control bus to specify which of the resistive elements are turned on to adjust the supply voltage produced by supply adjustment block 14. In the described embodiment, DLVR 22 generates first and second control words on first and second control buses 24a and 24b, respectively, to select which resistive elements are to be turned on or off to adjust the supply voltage based on a difference between the supply voltage and a target voltage and when the second regulator, namely FDD 26, generates the charge injection signal 28 because the adjusted supply voltage has dropped to or below the droop threshold level, respectively. Charge selection logic 18 then selects and biases resistive elements according to the settings on the first and second logic buses and the state of the charge injection signal.

[0034] FIG. 3 illustrates, partially in block diagram form and partially in schematic form, further details of a processor system and a supply adjustment block according to an embodiment. Supply VDD 12 is connected to produce a power supply voltage to supply adjustment block 14. Supply adjustment block 14 includes a plurality of selectable resistive elements that are connected in parallel. In the described embodiment, each of the resistive elements comprises P-channel MOSFET 38a-c. It should be understood that more than three resistive elements may be included and that only three are shown here for simplicity. The input nodes, comprising source terminals, of MOSFETs 38 a-c are connected to receive the power supply voltage from the VDD 12. The drain terminals of MOSFETs 38 a-c are commonly connected to an output node of supply adjustment block 14 to produce the adjusted supply to an input port of processor core 16.

[0035] A gate terminal of MOSFET 38a is connected to receive a bias signal from charge selection logic 44. Similarly, a gate terminal of MOSFET 38b is connected to receive a bias signal from charge selection logic 46 and a gate terminal of MOSFET 38b is connected to receive a bias signal from charge selection logic 48. Charge selection logic 44 - 48 each receive at least one bit from a control word and a charge control word, namely "ctrl [(n-l):0]" and "chg Ctrl [(n-l):0]", respectively, and a charge injection signal "charge inject". The first regulator generates the control word and the charge control word and the second regulator charge generates the charge inject signal.

[0036] In the embodiment of FIG. 3, FDD 26 (the second regulator) and PSM 30 are formed within processor core 16 while DLVR 22 (the first regulator) is formed external to processor core 16 but comprises digital processing circuitry. Alternatively, DLVR 22 may be formed/configured within processor core 16.

[0037] In operation, DLVR 22 is connected to receive the digital representation 32 of the adjusted supply voltage from PSM 30 and the target droop threshold and the target adjusted supply voltage level from an external source such as a power supply controller. Based upon a difference between the adjusted supply voltage value received from PSM 30 and the target adjusted supply voltage level, DLVR 22 generates control signal "ctrl [(n-l):0]" to activate selected resistive elements which, in the described embodiment, comprise the MOSFETs of the supply adjustment block 14. DLVR 22 also generates the charge control signal "chg ctrl [(n-l):0]" to activate selected resistor configured MOSFETs of the supply adjustment block 14 whenever the second controller, namely FDD 26, generates the charge injection signal labeled "charge inject" as shown here in FIG. 3. As a part of this operation, DLVR 22 produces the target droop threshold to second controller FDD 26 to enable FDD 26 to determine when the adjusted supply voltage has reached the target droop threshold. One of average skill in the art may readily modify internal logic of each of the charge selection blocks 44 - 48 according to design requirements and the type of devices used (e.g., P-channel or N-channel MOSFETs) from the logic shown below in relation to FIG 4.

[0038] FIG. 4 illustrates, partially in block diagram form and partially in schematic form, further details of a supply adjustment block and associated charge control logic according to an embodiment. Supply voltage VDD 12 is conducted to supply adjustment block 14. Supply adjustment block 14, as described before, includes a plurality of selectable resistive elements. In the specific embodiment shown of FIG. 4, three parallel-connected P-channel MOSFETs are shown though a different number and configuration of resistive elements may be utilized. The supply is conducted to the source terminals of the P-channel MOSFETs and the resulting adjusted supply voltage is produced from the drain terminals of the MOSFETs. An output node of the supply adjustment block 14 is connected to deliver the adjusted supply voltage to processor core 16.

[0039] FIG. 4 illustrates one example of the charge selection logic that selectively biases the P-channel MOSFETs of the supply adjustment block 14 to connect or remove the selected MOSFETs from circuit operation thereby changing the voltage drop across the supply adjustment block 14. As may be seen, supply adjustment block 14 includes a plurality of P-channel MOSFETs that are connected in parallel. As before, it should be understood that only three MOSFETs are shown for simplicity. The charge selection logic includes a first plurality of AND gates 50, a second plurality of AND gates 52, and a plurality of inverters 54 connected between the first and second pluralities of AND gates 50 and 52, respectively.

[0040] Each gate terminal of the P-channel MOSFETs is connected to receive an output of an AND gate of the first plurality of AND gates 50. Each AND gate of the first plurality of AND gates 50 includes one commonly connected input that is connected to receive the control word ("ctrl [(n-l):0]") generated by the first regulator (not shown here in FIG. 4) that specifies which selectable MOSFETs are to be turned on to regulate the adjusted supply voltage to drive the adjusted supply voltage to the target adjusted supply voltage. A second input of each of the AND gates of the first plurality of AND gates 50 is connected to receive the output of an inverter of the plurality of inverters 54. Each input of the inverters of the plurality of inverters 54 is connected to receive the output of the AND gates of the second plurality of AND gates 52.

[0041] Each AND gate of the second plurality of AND gates 52 has a commonly connected input connected to receive the charge control word ("chg Ctrl [(n-l):0]") generated by the first regulator that specifies which AND gates are to be turned on (and therefore which selectable resistive element) when the "chg inject" signal is asserted by the second regulator, namely, FDD 22. A second input of each of the AND gates of the second plurality of AND gates 52 is commonly connected to receive the charge inject signal ("chg inject") that is asserted by the second regulator FDD 22. As many also be seen from examining FIG. 4, there is one AND gate of the first plurality of AND gates, one inverter and one AND gate of the second plurality of AND gates for each MOSFET of the supply adjustment block.

[0042] In operation, the combination of the AND gates and the inverters operate as a NAND gate because of the inversion of its output. Alternatively, NAND gates may be used in place of the combination of inverters and AND gates. More specifically, the P-channel transistors become active on an application of a low voltage on their gates, resulting in a negative gate to source voltage above the threshold voltage while the outputs of each of the AND gates 52 are inverted by the corresponding inverters of the plurality of inverters 54. Accordingly, for any given P-channel MOSFET of the supply adjustment block 14, the MOSFET operates as a resistive element either when the control word selects the MOSFET or when the charge control word selects the MOSFET and the charge injection signal is asserted.

[0043] FIG. 5 illustrates, in block diagram form, a system for regulating supply voltages to a plurality of processor cores according to an embodiment. A supply VDD 12 is connected to a plurality of supply adjustment blocks 14A- C. Each of the supply adjustment blocks 14A-C is connected to produce an adjusted supply voltage to a processor core 16 A-C. Each of the processor cores 16 A-C includes a PSM 30 A-C, an FDD 26 A-C, and a DLV 22 A-C. Each of the blocks shown within the processor cores is configured and operates as described previously. One exception, however, is that in this embodiment, each DLVR 22 A-C is formed within the processor core 16 A-C, respectively.

[0044] In an alternative embodiment of the invention, a supply adjustment block 60 may be used either in addition to or in place of a supply adjustment block 14. As may be seen, supply adjustment block 60 is a footer circuit rather than a header circuit meaning that the supply adjustment block is connected between the processor core and ground instead of being connected between the processor core and the supply. In an embodiment where a supply of adjustment block 60 is included, the specific discrete logic would be modified to support the desired operations and one of average skill in the art may readily make such transformations in design. The aspects described before relating to the first and second regulators would remain the same. Thus, for example, a charge inject signal generated by FDD 26 A-C would serve to activate or select resistive elements within supply adjustment block 60. While only one supply adjustment block 60 is shown in dashed lines, it should be understood that a plurality of supply adjustment blocks 60 could be included in the embodiment of FIG. 5.

[0045] One of average skill in the art may readily appreciate that the logic for a supply adjustment block 60 may differ than the logic for a supply adjustment block 14 as described here in this specification. As with a supply adjustment block 14 comprising a header circuit, a second regulator, namely FDD 26 A-C, generates a charge inject signal that causes selected resistive elements to be activated to adjust the voltage drop across the supply adjustment block 14 A-C and therefore to adjust voltage produced to the processor core 16 A-C.

[0046] FIG. 6 illustrates, partially in block diagram form and partially in schematic form, further details of a regulator system that compensates for droop according to one embodiment of the invention. A supply voltage VDD 12 is connected to sample adjustment block 14 that in turn produces the adjusted supply voltage to processor core 16. The magnitude of the adjusted supply voltage is based upon the values of a control word, a charge control word and the charge inject signal generated by FDD 26. All of this is as described previously in relation to other figures. As may also be seen in the described embodiment, PSM 30, DLVR 22 (the first regulator), and FDD 26 (the second regulator) are all formed within processor core block 16 in the embodiment of FIG 6.

[0047] As described in relation to other figures, the adjusted supply voltage is produced to PSM 30 that in turn produces the digital representation of the adjusted supply voltage magnitude to DLVR 22. The adjusted supply voltage is also produced to FDD 26. DLVR 22 is further connected to receive the target adjusted supply voltage, shown as target ADJ VDD, and the droop threshold level from an external source. The external source may be a power management block in one embodiment. DLVR 22 produces the droop threshold level to FDD 22. DLVR 22 also produces the control word "ctrl [(n-l):0]" and the charge control word "chg Ctrl [(n-l):0]" to supply adjustment block 14.

[0048] FDD 22 includes a digital-to-analog converter (DAC) 62 that is connected to receive the droop threshold level from DLVR 22 and is configured to produce an analog signal whose magnitude corresponds to the received droop threshold level to a plus (+) input of a comparator 64. In the described embodiment, DAC 62 is a sigma-delta converter. A minus (-) of comparator 64 is connected to receive the adjusted supply voltage produced by supply adjustment block 14. Comparator 64 generates the charge inject signal that activates the supply adjustment block whenever the adjusted supply voltage falls below the analog droop threshold level or voltage. It should be noted, the charge selection block utilizes NAND logic as described before in relation to other figures, a logic one for the charge injection signal triggers the charge injection or, more specifically, supply voltage adjustment for a selected MOSFET. A logic zero is only generated when the droop threshold is lower than the adjusted supply voltage. It should also be noted that that the described embodiment of FIG. 6 includes a first regulator (DLVR 22) formed within processor core block 16. In an alternative embodiment, the first regulator, namely DLVR 22, may be formed outside of processor core 16.

[0049] One aspect to note regarding the embodiment illustrated in FIG. 6, is that FDD 22 performs its processing very quickly by performing an analog comparison of the adjusted supply voltage and the droop threshold.

Accordingly, the charge injection signal may be generated nearly instantly and may be generated much more quickly than processor-based digital logic that requires a number of clock cycles to obtain all necessary data and to process the data. As such, the second control loop that includes FDD 22 is a fast acting control loop to immediately correct or regulate the adjusted supply voltage whenever the adjusted supply voltage falls below the droop threshold level. The first regulation loop, in contrast, that includes the first regulator (DLVR 22), is a slower acting loop that compares the adjusted supply voltage to a target adjusted supply voltage value. By utilizing a fast acting second control loop with FDD 22, a simpler and slower first regulation loop may be utilized to reduce IC real estate and associated power consumption. Moreover, because the decision-making in the second control loop is made in analog (real time), the first control loop may be clocked at a lower rate thereby saving power.

[0050] FIGs. 7, 8 and 9 are flowcharts that illustrate methods according to various embodiments of the invention. Referring to FIG. 7, the method includes generating a first control word to select at least one selectable resistive element within a supply adjustment block (72). This control word has been referenced previously as "ctrl [(n-l):0]" and was shown as being generated by the first regulator or DLVR 22. Thereafter, the method includes producing a first control signal to regulate the adjusted supply voltage based on a first set point (74). In one embodiment of the invention, the first set point comprises a target supply voltage level.

[0051] The method also includes generating an adjusted supply voltage based upon a received power supply voltage and a received control signal (76). This step is performed by the supply adjustment block in any of the configuration shown in the previous figures including those configurations where the supply adjustment block comprised a header or a footer circuit. The method also includes the first regulator, in the described embodiment, generating a second control word to select at least one selectable resistive element for charge injection (78). This second control word has been referenced previously as "chg ctrl [(n-l):0]".

[0052] The method includes a second regulator, for example, FDD 22, converting a second set point comprising a droop threshold level to an analog voltage (80) and comparing the analog voltage to the adjusted supply voltage (82). Finally, the method includes producing a second control signal to inject charge (regulate the voltage to increase the adjusted supply voltage above the droop threshold level) based on the comparison of the analog voltage to the adjusted supply voltage (84). In the described embodiments, FDD 22 performs this step as described elsewhere in this specification. The second control signal is the signal referenced as "chg inject" in the previous descriptions. It should also be noted that the references to injecting charge essentially comprise selecting resistive elements to adjust or regulate the adjusted supply voltage.

[0053] Referring now to FIG. 8, method includes, at a first regulator block, receiving a target supply voltage level and a droop threshold level (90). In one embodiment, the target supply voltage level and droop threshold level are received from a power management block. The power management block may, for example, be a power management block for an entire system or integrated circuit and may be external to the circuitry of the described embodiments. The method also includes, at a second regulator block, receiving the droop threshold level from one of the first regulator block and the power management block, and converting the droop threshold level to an analog signal (92).

[0054] Thereafter, the method includes, in the first regulator, producing a first control signal to regulate said supply voltage based on a digital comparison of the target supply voltage level to a digital representation of an actual supply voltage level (94). The method further includes, in the second regulator, producing a second control signal to inject a charge or to regulate the adjusted supply voltage based on an analog comparison of the droop threshold level to the analog voltage corresponding to the actual supply voltage level (96). Finally, the method includes, in a supply adjustment block, activating or selecting selectable resistive elements based on at least one of the first and second control signals to generate the adjusted supply voltage level (98).

[0055] Referring now to FIG. 9, the method includes receiving a target supply voltage indication (100) and regulating the adjusted supply voltage to equal the target supply voltage using a first regulation loop having a first bandwidth (102). The method also includes receiving a droop threshold level (104) and regulating the adjusted supply voltage according to the droop threshold level using a second regulation loop having a second bandwidth different than the first bandwidth (106). Finally the method includes power and at least one processor core using the adjusted supply voltage (108).

[0056] FIG. 10 is a functional block diagram of a processor system with a low drop out regulator control system according to an embodiment. Referring now to FIG. 10, a processor system 150 includes a low drop controller 152 that is connected to communicate with "N" processor tiles 154a-c. In one embodiment, a processor system may include 96 or more processor tiles (N=96). Processor tile 1 shown at 154a includes a supply adjustment block (SAB) 156, and a processor core 158, a charge selection block 160, a fast acting droop detector (FDD) 166, a power supply monitor (PSM) 170. These devices and circuits are similar to those described previously in FIG. 1 and subsequent figures. Controller 152 is connected to receive a voltage level indication from each of the "N" processor tiles 154a-c, to produce a droop threshold level to each FDD of the processor tiles 154a-c, and to produce charge selection signals to adjust a supply produced by supply adjustment block 156 of each of the processor tiles 154a-c. The charge selection signals produced to the processor tiles 154a-c are based on a target voltage and an average of the voltage level indications from each of the "N" processor tiles 154a-c in one embodiment. Alternative mathematical functions may be performed on the received voltage level indications to generate the charge selection signals.

[0057] The processor system 150 includes a controller 152 and a plurality of processor tiles 154a-c, each having an input port connected to receive a supply voltage VDD from an external voltage source (e.g., a voltage rail). The input port of each of the processor tiles 154a-c conducts the received supply voltage to a supply adjustment block (SAB) 156. Supply adjustment block 156 is connected to produce an adjusted supply voltage to a processor core 158. A charge selection block 160 generates control signals 162 that are produced to supply adjustment block 156. Controller 152 comprises a low-drop out controller that generates control signals 164 to charge selection block 160. A second regulator, which comprises a fast droop detector (FDD) labeled as FDD 166, also generates control signals 168 to charge selection block 18.

[0058] FDD 166 is connected to receive the adjusted supply voltage produced by supply adjustment block 156 as well as a droop threshold level 174 from DLVR 22. A power supply monitor (PSM) 170 is also connected to receive the adjusted supply voltage produced by supply adjustment block 156. Among other communications and signals, power supply monitor (PSM) 170 produces a digital representation 172 of the adjusted supply voltage to controller 152.

[0059] Controller 152 not only receives the digital representation 172 of the adjusted supply voltage from PSM 170, but also receives a target voltage and a droop threshold level from an external source. For example, the external source may comprise a power control block or module for the integrated circuit or a register whose value is set by an operating system. Both the target voltage and the droop threshold voltage are received as digital values. Controller 152, therefore, regulates the adjusted supply voltage produced by supply adjustment block 156 via charge selection block 160 based on a comparison of the adjusted supply voltage to the target voltage via control signals 164. [0060] Additionally, as described before, controller 152 produces the droop threshold level 174 to FDD 166. When the adjusted supply voltage reaches or falls below the droop threshold level, FDD 166 generates a charge injection signal 168 as a control signal to charge selection block 160. Charge selection block 160, in turn, generates control signals 162 to supply adjustment block 156 to inject a charge, or more specifically, to increase the adjusted supply voltage magnitude produced to processor core 158 as a part of regulating the adjusted supply voltage by changing the conductivity of the transistors within the header circuitry by switching individual transistors in or out to regulate the voltage.

[0061] Generally, the above described system comprises, in one embodiment, a digital linear voltage regulator (DLVR) control system comprising first and second regulators that generate a plurality of control signals to regulate an adjusted power supply voltage and to generate a charge when a droop level falls below a threshold value. A processor core, such as processor core 158, includes a supply port for receiving the adjusted power supply voltage and a charge in response to a detected droop condition. The DLVR control system is connected to monitor the adjusted power supply voltage received at the supply port to evaluate the droop level.

[0062] In operation, the first regulator, i.e., controller 152, regulates the supply voltage to equal a target power supply voltage using a first regulation loop having a first bandwidth. In the described embodiment, the first regulation loop operates at a frequency of 1 MHz. The first regulator not only receives a target adjusted supply voltage from an external source but also receives a droop level threshold. The first regulator also receives from PSM 170 a digital representation 172 of the adjusted supply voltage. The regulator 152 therefore generates control signals 164 to adjust the settings of the supply adjustment block 156 in response to differences between the target voltage and the average of the adjusted supply voltages received from each PSM of each processor tile to regulate the voltage produced by the supply adjustment block 156 of each processor tile.

[0063] The second regulator, namely FDD 166 in the described embodiment, regulates the adjusted supply voltage using a second regulation loop having a second bandwidth that is different from the first bandwidth. More specifically, the second regulator compares the adjusted supply voltage to the received droop threshold level 174 and generates a charge injection signal 168 to quickly adjust the adjusted supply voltage to raise the adjusted supply voltage above the droop threshold level.

[0064] The second regulation loop is a fast acting loop in relation to the first regulation loop. The second regulation loop is a digital control loop (utilizing clock based digital logic) and therefore operates based on clock cycles, and the second regulation loop is configured to detect a droop that reaches the droop threshold as it happens. In one embodiment, the second regulator implements analog circuitry to perform the droop detection and voltage regulation. Accordingly, by implementing a system with this second regulation loop, the logic for the supply adjustment block 156 need not be as complicated or operate at high frequencies as described in relation to prior art systems thereby reducing power consumption and IC real estate.

[0065] Because the processing that occurs for the first regulation loop is in the digital domain, power consumption and silicon footprint size is reduced further while adding flexibility to the design and operation. The operation described in relation to processor tile 154a is similar to operations of each of the remaining processor tiles 154b-c. In one embodiment, there are 96 tiles. Accordingly, controller 152 averages the adjusted supply levels received from each of the 96 processor tiles and compares that average to the target voltage to set the charge control signals 164 for each of the 96 processor tiles.

[0066] FIG. 11 is a functional block diagram of a processor system with a low drop out regulator control system having grouped processor tiles according to an embodiment. Referring to FIG. 11, a regulator control system 180 includes controller 152 is connected to communicate with a large plurality of processor tiles. The processor tiles are arranged in first and second groups of tiles. A mostly on group (MON) of tiles 182 comprises processor tiles shown at 186a-c for a-m tiles. A coarse grain power gated region (CGPG) group of tiles 184 comprises processor tiles shown as 188a-c for n-z tiles.

[0067] Each of the first and second groups of tiles 182 and 184 may have a large plurality of tiles. As may be seen, three lines or communication buses are shown between each processor tile and controller 152. These three lines are shown and described in FIG. 10 as 164, 172 and 174. Operation of each tile within each of the first and second groups 182 and 184 is generally similar to that described in relation to FIG. 10 with the exception that the second group of tiles 184 are processor tiles that may be powered down to conserve energy while the first group of tiles 182 are tiles that are typically always or nearly always left on unless the entire system has been powered down. Accordingly, such operation of the tiles won't be repeated here in relation to FIG. 11. One aspect of the embodiment of FIG. 11, however, is that adjusted power levels of the second group of tiles 184 are not included by controller 152 when calculating the average adjusted power level if the second group of tiles 184 are powered down or in a transition state (powering up or down).

[0068] FIG. 12 is a functional block diagram of a processor system that illustrating supply rail connections between voltage rails of the MON and CGPG regions. As may be seen, a MON region 182 and two CGPG regions 184a-b are shown. CGPG regions 184a-b may comprise a single CGPG region or a plurality of CGPG regions. MON region 182 is powered by two voltage rails, namely VDD MON 190a-b, CGPG region 184a is powered by voltage rail VDD CGPG 192a, and CGPG region 184b is powered by voltage rail VDD CGPG 192b. A third CGPG voltage rail VDD CGPG 192c is shown to represent one or more additional rails. VDD CGPG 192a is connected a plurality of power gates shown generally at 194a as is VDD MON 190a. VDD CGPG 192b is connected a plurality of power gates shown generally at 194ab as is VDD MON 190b. VDD CGPG 192c is connected a plurality of power gates shown generally at 194c as are VDD MON 190a and 190b as shown.

[0069] In operation, the power gates shown at 194a-c are closed to create a connection between the voltage rails VDD MON 190a-b and the voltage rails VDD CGPG 192a-c as shown in FIG 12 whenever the CGPG regions 184a- b are powered and operating. Conversely, the power gates shown at 194a-c are opened to disconnect the voltage rails VDD MON 190a-b and the voltage rails VDD CGPG 194a-c whenever the CGPG regions 184a-b are not powered up and operating. Connecting the voltage rails is this manner whenever the CGPG regions 184a-b are operating equalizes the voltage rail voltage levels.

[0070] FIG. 13 is a flowchart illustrating method for regulating supply voltages in a multi-core processor having a plurality of processor tiles. The method includes generating an adjusted supply voltage based upon a target power supply voltage and a control signal (200). As described in relation to FIGs. 1 and 10, for example, a supply voltage VDD is provided to a supply adjustment block. The supply adjustment block then adjusts the supply voltage to create an adjusted supply based upon a received control signal that is generated by a controller or regulator. The method further includes receiving, at a first regulator, a target supply voltage indication and a plurality of supply voltage level indications (202). The plurality of supply voltage level indications are received from a corresponding plurality of processor tiles. Each processor tile includes circuitry (e.g., a power supply monitor) that generates the received adjusted voltage supply (as a voltage) and produces a digital representation of the received adjusted voltage for transmission to the first regulator.

[0071] The method further includes the first regulator calculating an average of the plurality of supply voltage level indications (204) and producing the control signal to a supply adjustment block based upon a difference in an said target supply voltage indication and said average of supply voltage level indications (206).

[0072] The first regulator is a configurable digital proportional-integral-derivative (PID) type regulator or controller that operates a slow feedback loop at a rate, for example, of 1 MHz and regulates the adjusted supply levels globally (for all processor tiles). The processor tiles, in contrast, each include a fast acting local regulator configured to quickly respond to droop. The method thus includes comparing, in a second regulator, the adjusted supply voltage relative to a droop threshold value (208). In response to the comparing step 208, the method further includes generating a charge injection signal when said adjusted supply voltage falls below the droop threshold value (210) and injecting a charge to at least one processor core of said multi-core processor based upon said charge injection signal (212).

[0073] FIG. 14 is a flowchart illustrating method for regulating supply voltages in a multi-core processor having a plurality of groups of processor tiles. The method commences with generating, in a first regulator, a control signal based upon a target power supply voltage and an average of a plurality of supply voltage level indications (220). The method further includes adjusting the supply voltage based upon the control signal (222). As described in relation to FIG. 13, this regulation is at a global level for all processor tiles.

[0074] The method also includes, at a second regulator at the local level, receiving a droop threshold level in a digital form and converting to an analog droop threshold voltage (224). The method further includes comparing, in the second regulator, the adjusted supply voltage relative to the droop threshold value with an analog comparator (226) and, if necessary, generating a charge injection signal and injecting a charge when said adjusted supply voltage falls below the droop threshold value (228).

[0075] One aspect of the embodiment of FIG. 14 is that the method includes connecting the supply voltage rails of a mostly on region of processor tiles (MON) to the voltage rails of a coarse grain power gated (CGPG) region when the coarse grain power gated region is powered up to equalize the supply voltage rails (230). Additionally, the method includes powering down the processor tiles of the coarse grain power gated region while maintaining power to a second plurality of processor tiles in a mostly-on regulated region and disconnecting the connected supply voltage rails of the CGPG and MON regions (232).

[0076] Thus a processor system with supply regulator system has been described that operates using a scalable resistive element selection logic to adjust a received supply voltage that allows multiple processor cores to have differing regulated voltages based off of a common supply. The regulator system utilizes digital logic for the regulation thereby saving IC real estate and power consumption. Further, associated header/footer supply adjustment blocks may be implemented that are substantially smaller and less complex and that may be operated at a substantially lower frequency than complex prior art designs partially because of the dual regulator aspects of the embodiments. In addition the regulator system operates reliably when fabricated using low voltage CMOS manufacturing processes to support the assertion of resistive elements in the header or footer circuitry while consuming a mimmal amount of current and power. All components except the supply can be implemented cheaply on a single integrated circuit using available low voltage CMOS manufacturing processes.

[0077] The above-disclosed subject matter is to be considered illustrative, and not restrictive, and the appended claims are intended to cover all such modifications, enhancements, and other embodiments that fall within the true scope of the claims. For example, a regulator system can be built according to the principles described above for an arbitrary number N of different gain/attenuation levels to compensate for supply adjustment, in which N is an integer greater than or equal to 2. The alternative forms of the regulator system can have impedances to define regulation levels that vary according to the supported power levels and can be implemented using resistive elements fabricated utilizing related approaches but differing logic on a single integrated circuit die.

[0078] Thus, to the maximum extent allowed by law, the scope of the present invention is to be determined by the broadest permissible interpretation of the following claims and their equivalents, and shall not be restricted or limited by the foregoing detailed description.