Circuits and Methods for Lowering Leakage in Ultra-Low-Power MOS Integrated Circuits
20170330874 · 2017-11-16
Assignee
Inventors
Cpc classification
H03K19/0016
ELECTRICITY
H03K19/0948
ELECTRICITY
International classification
H01L27/02
ELECTRICITY
H03K19/0948
ELECTRICITY
Abstract
A block of logic gates has MOS transistors whose body terminals are connected with a body voltage rail and whose source terminals are connected with a logic reference voltage rail. The logic reference voltage rail is connected to the body voltage rail via a resistor. The resistor creates a negative feedback loop for leakage currents that stabilizes a reverse body bias voltage and reduces the influence of temperature, voltage, and process variations.
The block may be NMOS, PMOS, or CMOS. In the case of CMOS, there are two body voltage rails, powered by a voltage source, two logic reference voltage rails, and two resistors. The reverse body bias voltages over the two resistors may be stabilized by decoupling capacitors. The two resistors may be trimmable. The resistors may be calibrated such that leakage currents are at a minimum value and the logic gates can switch just fast enough.
Claims
1. A circuit for reducing leakage current comprising: a first metal-oxide-semiconductor (MOS) transistor of a first type, the first MOS transistor having a first source terminal and a first body terminal; a first impedance, including at least a first resistance value, the first impedance being directly coupled between the first source terminal and the first body terminal to create a first negative feedback loop for leakage currents, wherein the first negative feedback loop is capable of reducing an impact on leakage currents of variation of one or more parameters; a first body voltage rail, directly coupled to the first body terminal; and a first logic reference voltage rail, coupled with the first source terminal, wherein the first body voltage rail and the first logic reference voltage rail provide voltage levels that allow one or more other MOS transistors of the first type to operate with reduced leakage currents.
2. The circuit of claim 1, further comprising: a second MOS transistor of a second type, the second MOS transistor having a second source terminal and a second body terminal; a second impedance, including at least a second resistance value, the second impedance being directly coupled between the second source terminal and the second body terminal to create a second negative feedback loop for leakage currents, wherein the second negative feedback loop is capable of reducing an impact on leakage currents of the variation of the one or more parameters; a second body voltage rail, directly coupled to the second body terminal; a second logic reference voltage rail, coupled with the second source terminal, wherein the second body voltage rail and the second logic reference voltage rail provide voltage levels that allow one or more other MOS transistors of the second type to operate with reduced leakage currents; wherein the first type MOS transistor is a PMOS transistor and the second type MOS transistor is an NMOS transistor; and wherein the first and second MOS transistor are included in a complementary metal-oxide-semiconductor (CMOS) logic gate.
3. The circuit of claim 2, further comprising a voltage source coupled between the first and second body voltage rails, wherein the voltage source includes at least one of a battery, a capacitor, a charge pump, a rectifier, and a voltage regulator.
4. The circuit of claim 1, wherein the first logic reference voltage rail is directly coupled with the first source terminal, and wherein the one or more other MOS transistors of the first type include source terminals directly coupled with the first logic reference voltage rail and body terminals directly coupled with the first body voltage rail.
5. The circuit of claim 1, further including a first decoupling capacitor coupled in parallel with the first impedance.
6. The circuit of claim 1, wherein the first resistance value is controlled by a first trimmable resistor.
7. The circuit of claim 6, further comprising a memory for storing and retrieving trimming information for the first trimmable resistor.
8. The circuit of claim 1, wherein the first impedance includes at least one of a resistor, MOS transistor, capacitor and an inductor.
9. The circuit of claim 1, wherein the one or more parameters include at least one of temperature, supply voltage, and manufacturing process results.
10. A method for reducing current leakage variation in a circuit including a metal-oxide-semiconductor (MOS) logic gate, and a first MOS transistor embedded in a first body and wherein the first MOS transistor has a first source terminal and a first body terminal, the circuit further including a first impedance, the first impedance being coupled between the first source terminal and the first body terminal and including at least a first resistance value, the method comprising: using a voltage at the first source terminal as a first logic reference voltage; operating the first MOS transistor in an “off” state, wherein a first leakage current runs through the first source terminal; and generating a first reverse body bias voltage by running the first leakage current through the first impedance, wherein the first reverse body bias voltage is proportional to the first leakage current and the first resistance value, and wherein the first reverse body bias voltage reduces the first leakage current when the first leakage current is larger than a stable value and increases the first leakage current when the first leakage current is smaller than the stable value and logic switching speeds are too slow.
11. The method of claim 10, wherein the circuit includes one or more additional MOS logic gates having additional source terminals and body terminals, the additional body terminals being directly coupled with the first body terminal, the method further comprising: using the first logic reference voltage, one of directly and indirectly, as a logic reference voltage for the additional source terminals.
12. A method for reducing current leakage in a complementary metal-oxide-semiconductor (CMOS) logic gate, wherein the logic gate comprises a P-type metal-oxide-semiconductor (PMOS) transistor embedded in a first body and an N-type metal-oxide-semiconductor (NMOS) transistor embedded in a second body, comprising: coupling the first body to a first supply voltage; creating a first logic reference voltage that is lower than the first supply voltage by supplying a source current of the PMOS transistor through a first impedance, wherein the first impedance is coupled between the first supply voltage and a PMOS transistor source terminal, and wherein the first logic reference voltage can be observed at the PMOS transistor source terminal; coupling the second body to a first ground reference; creating a second logic reference voltage that is higher than the first ground reference by sinking a source current of the NMOS transistor through a second impedance, wherein the second impedance is coupled between the first ground reference and an NMOS transistor source terminal, and wherein the second logic reference voltage can be observed at the NMOS transistor source terminal; and stabilizing the first logic reference voltage and the second logic reference voltage to values in between the first supply voltage and the first ground reference for a time longer than an average switching time of the PMOS and NMOS transistors.
13. The method of claim 12, further comprising: coupling the first logic reference voltage with source terminals of PMOS transistors in additional logic gates; coupling the second logic reference voltage with source terminals of NMOS transistors in the additional logic gates; coupling the first supply voltage with body terminals of the PMOS transistors in the additional logic gates; and coupling the first ground reference with body terminals of the NMOS transistors in the additional logic gates.
14. A method for calibrating power dissipation of MOS logic circuits that employ body biasing with a negative feedback loop controlled by a trimmable resistor to decrease an influence of variations in temperature, supply voltage, and manufacturing, the method comprising the following steps: (a) operating the MOS logic circuits at their highest expected usage and determining low (L) and high (H) values of an initial trimmable resistor search range; (b) setting the trimmable resistor to a value in the range, the value being higher than L and lower than H; (c) observing a MOS logic circuits switching behavior to determine if the MOS logic circuits are switching correctly; (d) in response to determining that the MOS logic circuits are switching correctly, increasing the value of L to the trimmable resistor's set value to decrease the search range; (e) in response to determining that the MOS logic circuits are not switching correctly, decreasing the value of H to the trimmable resistor's set value to decrease the search range; (f) determining if the search range is small enough; (g) in response to determining that the search range is not small enough, repeating steps (b) through (g); (h) in response to determining that the search range is small enough, determining a final calibrated value from the L value and setting the trimmable resistor to the final calibrated value; and (i) storing the final calibrated value in an electronic memory.
15. The method of claim 14, further comprising reading the final calibrated value from the electronic memory.
16. The method of claim 14, wherein the observing comprises: presenting a logic test word of at least one bit width to at least one input of a chain of logic gates at a first time; allowing the logic test word to propagate through the chain of logic gates; determining at a second time if an output response word of at least one bit width of the chain of logic gates is correctly related to the logic test word; wherein the determination that the output response word is correctly related to the logic test word indicates that the CMOS logic gates switch correctly; and the determination that the output response word is not correctly related to the logic test word indicates that the CMOS logic gates do not switch correctly.
17. The method of claim 16, wherein the chain of logic gates comprises at least one dummy circuit.
18. The method of claim 17, wherein the chain of logic gates comprises a chain of inverters.
19. The method of claim 17, wherein the chain of logic gates has a critical path that is longer than a critical path of the CMOS logic gates.
20. The method of claim 16, further comprising using a first latch for presenting the logic test word at the first time and using a second latch for determining the output response word at the second time.
21. The method of claim 14, wherein the observing comprises: using a dummy chain of logic gates in a ring oscillator configuration; determining a frequency at which the ring oscillator oscillates and comparing this with a minimum value; wherein the determination that the oscillation frequency is higher than the minimum value indicates that the CMOS logic gates do switch correctly; and the determination that the oscillation frequency is lower than the minimum value indicates that the CMOS logic gates do not switch correctly.
22. A system for calibrating power dissipation of MOS logic circuits that employ body biasing with a negative feedback loop controlled by a trimmable resistor to decrease an influence of variations in temperature, supply voltage, and manufacturing, the system comprising an IC tester coupled with an IC interface board, the IC tester including a processor coupled with a data storage device, wherein the processor is programmed to perform a method comprising: (a) operating the MOS logic circuits at their highest expected usage and determining low (L) and high (H) values of an initial trimmable resistor search range; (b) setting the trimmable resistor to a value in the range, the value being higher than L and lower than H; (c) observing a MOS logic circuits switching behavior to determine if the MOS logic circuits are switching correctly; (d) in response to determining that the MOS logic circuits are switching correctly, increasing the value of L to the trimmable resistor's set value to decrease the search range; (e) in response to determining that the MOS logic circuits are not switching correctly, decreasing the value of H to the trimmable resistor's set value to decrease the search range; (f) determining if the search range is small enough; (g) in response to determining that the search range is not small enough, repeating steps (b) through (g); (h) in response to determining that the search range is small enough, determining a final calibrated value from the L value and setting the trimmable resistor to the final calibrated value; and (i) storing the final calibrated value in an electronic memory.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The invention will be described with reference to the drawings, in which:
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
DETAILED DESCRIPTION
[0049] ICs designed for ultra-low-power applications require optimization (minimization) of both static and dynamic power dissipation. Static power dissipation is caused by steady-state current leaking. Dynamic power dissipation is caused by additional currents needed when logic circuits switch between low and high states. Reduction of dynamic power dissipation can be achieved by switching circuits no more often than strictly needed. Reduction of static power dissipation can be achieved by reducing leakage currents to the minimum at which logic gates can switch at the required speed.
[0050] In some ultra-low-power designs, static power dissipation may dominate the power budget. Traditional approaches to reduce static power dissipation, including the use of power gating, custom designed ultra-low-leakage logic cells, and reverse body biasing may not be sufficient, because variations in the temperature and in the manufacturing process may force a designer to keep wide margins to ensure that gates are able to switch sufficiently fast—i.e., the designer must accept a wide variation of the static power dissipation to ensure that timing closure can be achieved for all “corner cases”. Those may, for instance, span the full ranges of temperature, supply voltage, and manufacturing process variation over which a design needs to operate reliably.
[0051] Embodiments of the present invention utilize a novel self-balancing body bias technique that allows calibration of leakage currents to a minimum value at which a block of logic operates reliably, while reducing the impacts of the corner case variations.
[0052]
[0053] A first MOS transistor, PMOS transistor 406, has an input on its gate terminal 407, and an output on its drain terminal 408. Its source terminal 409 is referenced against VDD′ rail 404, and is coupled with VDD rail 402 via first impedance Z1 411. Its body terminal 410 is directly coupled with VDD rail 402. Drain terminal 408 may be coupled directly with GND rail 403 or via optional other devices 412. When gate terminal 407 receives a high voltage, for instance VDD or VDD′, PMOS transistor 406 is said to be “off” and only a small leakage current I.sub.pleak runs via its source terminal 409 to its drain terminal 408. Leakage current I.sub.pleak is supplied by VDD rail 402 via first impedance Z1 411, which creates a voltage drop. Therefore, the voltage at VDD′ rail 404 is lower than the voltage at VDD rail 402, creating the following reverse body bias voltage:
VDD−VDD′=Z1*I.sub.pleak
[0054] Since body terminal 410 is coupled with VDD rail 402, PMOS transistor 406 has a reverse body bias voltage of Z1*I.sub.pleak, which in turn reduces the leakage current I.sub.pleak. Should, under the influence of a temperature variation, or because of a variation in the manufacturing process, leakage current I.sub.pleak tend to become larger, then first impedance Z1 411 will counter such a variation by reducing I.sub.pleak. Embodiments of the invention use this negative feedback mechanism to cancel variations in leakage current I.sub.pleak caused by variations such as caused by the temperature, the supply voltage, the manufacturing process, and other parameters, including, but not limited to, transistor design parameters such as determined by a transistor's geometry.
[0055] Similarly, NMOS transistor 416 has an input on its gate terminal 417, and an output on its drain terminal 418. Its source terminal 419 is referenced against GND′ rail 405, and is coupled with GND rail 403 via impedance Z2 421. Its body terminal 420 is directly coupled with GND rail 403. Drain terminal 418 may be coupled directly with VDD rail 402 or via optional other devices 422. When gate terminal 417 receives a low voltage, for instance GND or GND′, NMOS transistor 416 is said to be “off” and only a small leakage current I.sub.nleak runs via its drain terminal 418 to its source terminal 419. Leakage current I.sub.nleak is supplied to GND rail 403 via impedance Z2 421, which creates a voltage drop. Therefore, the voltage at GNC′ rail 405 is higher than the voltage at GND rail 403, creating the following reverse body bias voltage:
GND−GND′=−Z2*I.sub.nleak
[0056] Similar like PMOS transistor 406 with impedance Z1 411, impedance Z2 421 provides a negative feedback mechanism for leakage current I.sub.nleak in NMOS transistor 416. Should, under the influence of a temperature variation, or because of a variation in the manufacturing process, leakage current I.sub.nleak tend to be larger, then impedance Z2 421 will counter such a variation by reducing I.sub.nleak. Embodiments of the invention use this negative feedback mechanism to cancel variations in leakage current I.sub.nleak caused by variations such as caused by the temperature, the supply voltage, the manufacturing process, and other parameters, including, but not limited to, transistor design parameters such as determined by a transistor's geometry.
[0057] Embodiments of the invention may couple source terminals 409 and/or 419 directly to VDD′ rail 404 and GND′ rail 405, respectively, wherein these rails form first and second logic reference voltage rails for the source terminals of other PMOS and NMOS transistors, respectively, and wherein the body terminals of those transistors are directly coupled to VDD rail 402 and GND rail 403, respectively. Further embodiments of the invention may buffer the voltage at source terminal 409 to generate a voltage VDD′ for VDD′ rail 404, and/or buffer the voltage at source terminal 419 to generate a voltage GNC′ for GNC′ rail 405. In those embodiments, again, VDD′ rail 404 forms a first logic reference voltage rail for the source terminals of other PMOS transistors, whose body terminals are directly coupled to VDD rail 402, and GNC′ rail 405 forms a second logic reference voltage rail for the source terminals of other NMOS transistors, whose body terminals are directly coupled to GND rail 403.
[0058] Whereas in some embodiments PMOS transistor 406 and NMOS transistor 416 could just be connected as diodes (i.e. gate terminal 407 coupled to source terminal 409 with drain terminal 408 coupled to GND, and gate terminal 417 coupled to source terminal 419 with drain terminal 418 coupled to VDD), in other embodiments PMOS transistor 406 and NMOS transistor 416 could each be part of a logic gate, including an inverter, NAND gate, NOR gate, or any other gate used in the art, and in yet other embodiments PMOS transistor 406 and NMOS transistor 416 could be part of an analog or mixed-signal circuit.
[0059]
[0060]
[0061]
[0062]
[0063]
[0064] The illustrations in
[0065]
[0066] Method 600 may apply to a circuit with a logic gate (comprising PMOS transistor 406 and optional other devices 412). The logic gate comprises a first MOS transistor (406) embedded in a first body (body terminal 410 is shown). The first MOS transistor has a first source terminal (409) and a first body terminal (410). The circuit further includes a first impedance (411), coupled between the first source terminal (409) and the first body terminal (410). The method comprises the following steps.
[0067] Step 610—using a voltage (VDD′) at the first source terminal (409) as a first logic reference voltage (404). While the battery supplies VDD rail 402, this rail no longer functions as a logic reference. Instead VDD rail 402 serves only as the voltage reference for the body of PMOS transistor 406, coupled to it via body terminal 410, whereas VDD′ rail 404 now functions as a logic reference.
[0068] Step 620—operating the MOS transistor (406) in an “off” state, wherein a first leakage current runs through the first source terminal (409). Generally, to operate PMOS transistor 406 in the “off” state, its gate terminal 407 is provided with a high voltage. Such a high voltage may be obtained by coupling gate terminal 407 to source terminal 409 (and thereby to logic reference voltage 404), or by coupling gate terminal 407 to VDD rail 402, or to any other circuit element that continuously or temporarily supplies a logic high voltage.
[0069] Step 630—generating a first reverse body bias voltage (VDD 402-VDD′ 404) by running the first leakage current through the first impedance (411). This forms a negative feedback loop. The first reverse body bias voltage is proportional to the first leakage current and a value of the first impedance (according to Ohm's law, V=I*R). But, the first reverse body bias voltage reduces the first leakage current when the first leakage current is larger than a stable value and increases the first leakage current when the first leakage current is smaller than the stable value.
[0070] Further embodiments may incorporate step 640 as follows.
[0071] Step 640—using the first logic reference voltage (404), either directly or indirectly, as a logic reference voltage for additional source terminals. It is possible to share the logic reference voltage (404) directly with source terminals of other PMOS devices in other logic gates, or to buffer the logic reference voltage (404), for example using a source follower, which may reduce switching noise from such other logic gates. Should PMOS transistor 406 not continually be in the “off” state, then yet further embodiments may sample and hold logic reference voltage 404.
[0072]
[0073] Inverter 710, an example CMOS logic gate, comprises PMOS transistor 711 and NMOS transistor 714. MOS transistors 711 and 714 have their gate terminals coupled to an inverter 710 input, and their drain terminals coupled to an inverter 710 output. PMOS transistor 711 has its source terminal 712 coupled to VDD′ rail 704 and its body terminal 713 coupled to VDD rail 702. NMOS transistor 714 has its source terminal 715 coupled to GNC′ rail 705 and its body terminal 716 coupled to GND rail 703. Other logic gates 720 likewise include PMOS transistors with source terminals coupled to VDD′ rail 704 and body terminals coupled to VDD rail 702, and NMOS transistors with source terminals coupled to GNC′ rail 705 and body terminals coupled to GND rail 703. VDD′ rail 704 is coupled with VDD rail 702 via first impedance Z1 730 and first decoupling capacitor 731. GNC′ rail 705 is coupled with GND rail 703 via second impedance Z2 740 and second decoupling capacitor 741. Third decoupling capacitor 706 is coupled between VDD′ rail 704 and GNC′ rail 705.
[0074] As discussed with reference to
[0075] When an input signal of inverter 710 is high, PMOS transistor 711 will be in the “off” state and NMOS transistor 714 will be in an “on” state. The transistor in the “off” state will determine the inverter's leakage, in this case PMOS transistor 711. Its geometry, its source-to-gate voltage VGS, its body-to-source voltage VBS, its threshold voltage Vt, and its drain-to-source voltage VDS will all determine the size of the leakage current. NMOS transistor 714 has no impact as it simply conducts and passes the PMOS transistor 711 leakage to GNC′ rail 705. Conversely, when the input signal of inverter 710 is low, PMOS transistor 711 will be in the “on” state and NMOS transistor 714 will be in the “off” state. In this case, NMOS transistor 714 will determine the size of the leakage current and PMOS transistor 711 will simply pass it on. As long as inverter 710 is in a steady state, the total current passing through it will be either the PMOS transistor 711 leakage current, or the NMOS transistor 714 leakage current.
[0076] For gates with other topologies, see
[0077] Other logic gates 720 in
[0078] The embodiments generate reverse body bias voltages over first impedance Z1 730 and second impedance Z2 740 proportional to the total leakage current occurring in inverter 710 and other logic gates 720 in example circuit 700. More particularly, the total leakage current relates to those PMOS and NMOS transistors that are in an “off” state at any moment in time, as determined by signals on the inputs of those gates, the particular topology of the gates, geometric parameters of the transistors in the gates, etc. The total current through first impedance Z1 730 and second impedance Z2 740 also includes dynamic switching currents. Assuming that a majority of gates in example circuit 700 switches states regularly and in a fairly constant fashion, statistics will reduce the variation of the total current towards an average value, although it still may vary over time.
[0079] First and second decoupling capacitors 731 and 741 average out these effects over time, and serve to provide stability on VDD′ rail 704 and GNC′ rail 705. Resistors or resistances included in first impedance Z1 730 and second impedance Z2 740 generate reverse body bias voltages proportional to the average over time of the total leakage current occurring in example circuit 700, plus all dynamic switching currents due to logic gates being switched and/or switching. Because of the reverse body bias negative feedback loops, explained in reference to
[0080]
[0081] Step 810—coupling the first body (713) directly to a first supply voltage (702). The body of a PMOS transistor may be an N-well, for example, that should be connected with the highest voltage available on the chip.
[0082] Step 820—creating a first logic reference voltage (VDD′ 704) that is lower than the first supply voltage (VDD 702) by supplying a source current of the PMOS transistor (711) through a first impedance (730). The first impedance (730) is coupled between the first supply voltage (VDD 702) and the PMOS transistor source terminal 712. The first logic reference voltage (VDD′ 704) can be observed between the first impedance (730) and the PMOS transistor source, at source terminal 712. VDD′ 704 is lower than VDD 702, since PMOS transistor 711's source current runs via Z1 (730), PMOS transistor 711, NMOS transistor 714, and second impedance 740 to GND 703. Since practical impedances, such as the examples shown in
[0083] Step 830—coupling the second body (716) directly to a first ground reference (GND 703). The body of an NMOS transistor may be the substrate bulk, for example, and should be connected to the lowest voltage available on the chip.
[0084] Step 840—creating a second logic reference voltage (GNC′ 705) that is higher than the first ground reference (GND 703) by sinking a source current of the NMOS transistor (715) through the second impedance (740). The second impedance (740) is coupled between the first ground reference (703) and the NMOS transistor source terminal 715. The second logic reference voltage (GNC′ 705) can be observed between the second impedance (740) and the NMOS transistor source, at source terminal 715. GNC′ 705 is higher than GND 703, since NMOS transistor 714's source current runs via second impedance Z2 to GND 703. Since practical impedances, such as the examples shown in
[0085] Step 850—stabilizing the first logic reference voltage (VDD′ 704) and the second logic reference voltage (GNC′ 705) to values in between the first supply voltage (VDD 702) and the first ground reference (GND 703) for a time longer than an average switching time of the PMOS and NMOS transistors. In
[0086] Further embodiments may incorporate step 860, as follows:
[0087] Step 860—using the first and the second logic reference voltages (704 and 705) for sources of additional PMOS and NMOS transistors in additional gates (720). The additional gates (720) have body terminals of PMOS transistors coupled to VDD 702, and body terminals of NMOS transistors coupled to GND 703.
[0088] The example embodiment 700 in
[0089]
[0090] System 900 includes inverter 910, and other logic gates 920, including PMOS transistors whose source terminals are coupled with VDD′ rail 904 and whose body terminals are coupled with VDD rail 902, and including NMOS transistors whose source terminals are coupled with GNC′ rail 905 and whose body terminals are coupled with GND rail 903. VDD′ rail 904 is coupled with VDD rail 902 via first trimmable resistor R1 940 and first decoupling capacitor 941. GNC′ rail 905 is coupled with GND rail 903 via second trimmable resistor R2 950 and second decoupling capacitor 951. Third decoupling capacitor 906 is coupled between VDD′ rail 904 and GNC′ rail 905. System 900 further includes memory 930.
[0091] System 900 of
[0092] First and second decoupling capacitors 941 and 951 reduce noise that may result from switching inverter 910 and other logic gates 920 between low and high states, and they help even out variations in leakage current due to gates having somewhat different leakage currents dependent on the state in which they are, as explained in paragraph [76]. Third decoupling capacitor 906 further reduces this noise and generally smooths logic references VDD′ and GNC′, which act as derived supplies.
[0093]
[0094] First logic block 1010 and second logic block 1020 may each comprise sequential and combinatorial logic using CMOS gates whose body terminals are coupled to VDD rail 1002 and GND rail 1003. However, each logic block may have its own characteristics. For example, first logic block 1010 may operate at a low-frequency clock and switch only occasionally, even when in full operating mode, whereas second logic block 1020 may operate at a much higher frequency clock and it may switch intensely when in full operating mode. First logic block 1010 and second logic block 1020 may be in full operating mode at different times and/or in sleep mode at different times, and they may even have different numbers of power saving modes.
[0095] Embodiments may change power-saving modes in first logic block 1010 and second logic block 1020 at different times, in different modes, and for different performance characteristics. Therefore, first logic block 1010 has its own first and second logic reference voltage rails 1040 and 1050, respectively, stabilized by first reference decoupling capacitor 1004, and negative feedback loops comprising first trimmable resistor 1041 and first decoupling capacitor 1042, and second trimmable resistor 1051 and second decoupling capacitor 1052. Second logic block 1020 has its own third and fourth logic reference voltage rails 1060 and 1070, respectively, stabilized by second reference decoupling capacitor 1005, and negative feedback loops comprising third trimmable resistor 1061 and third decoupling capacitor 1062, and fourth trimmable resistor 1071 and fourth decoupling capacitor 1072. Embodiments store trim setting values for trimmable resistors 1041, 1051, 1061 and 1071, for each relevant power saving mode, in memory 1030. When a change in power saving mode occurs for first logic block 1010, the embodiment retrieves the relevant trim setting values from memory 1030 and applies them to first and second trimmable resistors 1041 and 1051. When a change in power saving mode occurs for second logic block 1020, the embodiment retrieves the relevant trim setting values from memory 1030 and applies them to third and fourth trimmable resistors 1061 and 1071.
[0096] Embodiments may trim resistors R1 940 and R2 950 if
[0097] Offline calibration may rely on the IC temporarily failing, either by exhibiting too much static power dissipation, or by gates failing to switch fast enough to guarantee correct functionality. In an embodiment, calibration may start from a non-acceptable setting (leakage too high, or circuits switching too slowly), and stepwise change body bias until the setting becomes acceptable. In another embodiment, calibration may start from an acceptable setting, and stepwise change body bias until the setting is no longer acceptable, and then step back to restore the previous setting. In yet another embodiment, calibration may include a binary search to find the optimum point. A binary search finds the optimum point by starting at a mid-range setting and measuring if the result is acceptable. Based on the result, the search range is reduced to one side of the mid-range point, and the procedure is repeated on the smaller search range, until the search range is small enough. In yet further embodiments, calibration may include a variation of the binary search, many of which are well-known in the art.
[0098]
[0099] Step 1102—operating the MOS logic circuits (910, 920) at a point of highest static power dissipation. The highest static power dissipation is achieved by setting a trimmable resistor (R1 940, R2 950) at its lowest value. This reduces the reverse body bias voltage and therefore increases the leakage currents of MOS logic circuits 910-920 to their highest values.
[0100] Step 1104—operating the MOS logic circuits at a highest expected usage. During the calibration procedure, MOS logic circuits 910-920 are switched at a highest level of activity that is relevant for a mode for which the calibration is performed. For example, for a sleep mode the highest level of activity may be low: a percentage of gate changes per clock and a clock frequency may be at a minimum; whereas for a high-performance mode the highest level of activity may be very high: the percentage of gate changes per clock and the clock frequency may be at a maximum.
[0101] Step 1106—observing a MOS logic circuits 910-920 switching behavior to determine if the MOS logic circuits are switching correctly. If they are, there may still be margin to decrease their performance and their leakage. If they are no longer switching correctly, trimming has gone too far, and leakage must be increased to restore minimum performance.
[0102] Step 1108—in response to determining that the MOS logic circuits 910-920 are switching correctly, reducing the static power dissipation operating point such that the MOS logic circuits dissipate less static power, and repeating step 906. For system 900 in
[0103] Step 1110—in response to determining that the MOS logic circuits 910-920 are no longer switching correctly, increasing the static power dissipation operating point such that the MOS logic circuits dissipate more static power and switch faster. Decreasing the value of the trimmable resistor (R1 940 or R2 950) to its previous value will increase the leakage, and therefore the static power dissipation, and will restore the switching speed of MOS logic circuits 910-920.
[0104] Step 1112—storing a trim setting value in an electronic memory, wherein the trim setting value is representative for a value of the increased static power dissipation operating point. For system 900 in
[0105] In a further embodiment, method 1100 may include the following additional step.
[0106] Step 1114—reading the trim setting value from the electronic memory, and operating the MOS logic circuits at a point of static power dissipation represented by the trim setting value.
[0107] Method 1150 in
[0108] Step 1152—operating gates at their highest expected usage (see step 1104) and determining low (L) and high (H) values of the initial trimmable resistor (R1 940 or R2 950) range. At the highest resistance value (related to H), a reverse bias voltage is the largest, and therefore current leakage and switching speeds are the lowest. At the lowest resistance value (related to L), the reverse bias voltage is the smallest, and therefore current leakage and switching speeds are the highest. At the L point, logic should switch correctly, but current leakage may be too high. At the H point, current leakage is minimized, but logic is presumably no longer switching correctly. The binary search is for the highest resistance value at which the gates still operate fast enough.
[0109] Step 1154—set the trimmable resistor (R1 940 or R2 950) to a value in the range. Some embodiments performing a binary search may set the value midway between L and H. Other embodiments performing a linear search may set the value a small amount higher than L or smaller than H.
[0110] Step 1156—observing a MOS logic circuits 910-920 switching behavior to determine if the MOS logic circuits are switching correctly.
[0111] Step 1158—in response to determining that the MOS logic circuits 910-920 are switching correctly, increase the value of L to the current setting of the trimmable resistor to reduce the search range to from the increased L value to the H value.
[0112] Step 1160—in response to determining that the MOS logic circuits 910-920 are not switching correctly, decrease the value of H to the current setting of the trimmable resistor to reduce the search range from L to the decreased H value.
[0113] Step 1162—determining if the range is small enough. Some embodiments may calculate the difference between current H and L values. Other embodiments may count a number of iterations. Embodiments performing a linear search know that their search range is small enough the first time a change has occurred in the outcome of step 1156. In response to determining that the range is not small enough, repeat steps 1154-1162.
[0114] Step 1164—in response to determining that the range is small enough, some embodiments may apply a margin to determine a final calibrated value for the trimmable resistor. Those embodiments may determine that the final calibrated value equals L minus the margin. Other embodiments may just take Las the final calibrated value.
[0115] Step 1168—storing the final calibrated value in an electronic memory. For system 900 in
[0116] In a further embodiment, method 1150 may include the following additional step.
[0117] Step 1170—reading the final calibrated value from the electronic memory, and operating the MOS logic circuits at a point of static power dissipation represented by the final calibrated value.
[0118]
[0119] An embodiment presents a logic test signal to input 1241. A first CLK signal at 1243 enables latch 1210 which forwards the logic input signal to logic chain 1220, in which it propagates to latch 1230. If, given the logic reference voltage VDD′ and GNC′ applied to logic chain 1220, the gates in logic chain 1220 switch fast enough, then the propagated test signal arrives at latch 1230 in time before a second CLK signal at 1243 samples an output of logic chain 1220. If the sampled signal, observable at output 1242, is correctly related to the logic test signal, then the logic chain 1220 switches fast enough, and by inference, the block of logic represented by logic chain 1220 too.
[0120]
[0121] In some embodiments, logic chains 1220 and 1260 may be simple and comprise only a series of inverters. In other embodiments, they may comprise more complicated gates and even partial or full copies of the critical paths represented. Input test signals and output signals may be one-bit wide, or they may comprise multiple bits. Latches 1210 and 1230 may be replaced by more sophisticated sampling systems, or simpler sampling gates.
[0122] In online calibration, an embodiment may vary the value of the body bias, continuously or intermittently, to just keep the dummy circuit switching correctly. Both offline and online methods may further include a safety margin in the setting.
[0123]
[0124] IC tester 1310 includes one or more processors 1311, capable of and configured for executing software implementing any of the methods described herein; tangible non-transitory work memory 1312, such as random-access memory (RAM), which may be suitable to hold instructions and data being processed; storage memory 1313, such as ROM, Flash, magnetic disks, optical disks, and any other tangible data storage devices capable of holding instructions and/or data when no supply voltage is available; input/output (I/O) devices 1314, such as a keyboard, a mouse, a touchpad, a touchscreen, a display monitor, a loudspeaker, a microphone, a serial communications port such as Ethernet or the universal serial bus (USB), a parallel communications port, a wireless transceiver such as WiFi, or any other computer interface known in the art. Embodiments may further include a digital-to-analog converter (DAC) 1315 and/or an analog-to-digital converter (ADC) 1316.
[0125] IC interface board 1320 may include a printed circuit board (PCB) to which an IC including the electronic circuit is permanently attached; and/or it may include a socket 1321 that allows temporary insertion of an IC including the electronic circuit; and/or it may include one or more wafer probes 1322 capable of electrically coupling an electric signal with a naked IC die that includes the electronic circuit. Embodiments may further include a DAC and/or an ADC.
[0126] Storage memory 1313 may include software with instructions for carrying out any of the methods described herein. Embodiments pass the instructions on to processor 1311 for execution. Processor 1311 executes the instructions and may use DAC 1315 or any general-purpose or special-purpose DAC included in IC interface board 1320 to apply test signals to the electronic circuit. Processor 1311 may use ADC 1316 or any general-purpose or special-purpose ADC included in IC interface board 1320 to measure responses from the electronic circuit.
[0127] Although the description has been described with respect to particular embodiments thereof, these particular embodiments are merely illustrative, and not restrictive. For example, the figures depict embodiments using CMOS logic circuits, whereas the examples could equally well have been depicted, and are equally valid, using regular MOS logic circuits. As another example, the figures depict logic reference voltage rails VDD′ and GNC′ directly coupled with first impedance Z1 and/or second impedance Z2, whereas embodiments may indirectly couple them, and/or insert buffers, sample and hold circuits, etc. Examples have been presented with a focus on reverse body biasing, whereas the invention equally covers circuits and methods employing forward body biasing. All such variations and modifications are to be considered within the ambit of the present invention the nature of which is to be determined from the foregoing description.
[0128] It will be understood that the invention disclosed and defined in this specification extends to all alternative combinations of two or more of the individual features mentioned or evident from the text or drawings. All of these different combinations constitute various alternative aspects of the invention.
[0129] Any suitable technology for manufacturing electronic devices can be used to implement the circuits of particular embodiments, including bipolar, JFET, MOS, NMOS, PMOS, CMOS, BiCMOS, HBT, MESFET, FinFET, etc. Different semiconductor materials can be employed, such as silicon, germanium, SiGe, GaAs, InP, graphene, etc. Circuits may have single-ended or differential inputs, and single-ended or differential outputs. Terminals to circuits may function as inputs, outputs, both, or be in a high-impedance state, or they may function to receive supply power, a ground reference, a reference voltage, a reference current, or other. Although the physical processing of signals may be presented in a specific order, this order may be changed in different particular embodiments. In some particular embodiments, multiple elements, devices, or circuits shown as sequential in this specification can be operating in parallel.
[0130] Particular embodiments or parts of an embodiment may be implemented in a tangible, non-transitory computer-readable storage medium for use by or in connection with an instruction execution system, apparatus, system, or device. Particular embodiments can be implemented in the form of control logic in software, firmware, hardware or a combination of those. The control logic, when executed by one or more processors, may be operable to perform that which is described in particular embodiments. For example, a tangible medium such as a hardware storage device can be used to store the control logic, which can include executable instructions.
[0131] It will also be appreciated that one or more of the elements depicted in the drawings/figures can also be implemented in a more separated or integrated manner, or even removed or rendered as inoperable in certain cases, as is useful in accordance with a particular application. It is also within the spirit and scope to implement a program or code that can be stored in a machine-readable medium to permit a computer to perform any of the methods described above.
[0132] As used in the description herein and throughout the claims that follow, “a”, “an”, and “the” includes plural references unless the context clearly dictates otherwise. Also, as used in the description herein and throughout the claims that follow, the meaning of “in” includes “in” and “on” unless the context clearly dictates otherwise.
[0133] Thus, while particular embodiments have been described herein, latitudes of modification, various changes, and substitutions are intended in the foregoing disclosures, and it will be appreciated that in some instances some features of particular embodiments will be employed without a corresponding use of other features without departing from the scope and spirit as set forth. Therefore, many modifications may be made to adapt a particular situation or material to the essential scope and spirit.