BACKGROUND OF THE INVENTION
I. Field of the Invention
The present invention relates to the field of conservation of power in electronic circuits. More specifically, the present invention relates to circuits with reduced leakage currents.
II. Background Information
With the advent of deep sub-micron Complementary Metal Oxide Semiconductor (CMOS) processes, the sub-threshold current leakage current Ioff seen in a turned-off transistor has increased dramatically from that of earlier CMOS processes. The finer the sub-micron features are--i.e., smaller line widths and process features, the more pronounced the increase in a Metal Oxide Semiconductor Field Effect Transistor (MOSFET) drain's leakage current Ioff, This high Ioff has led to very high cumulative currents, (Ioff(chip)) arising in very large scale integrated (VLSI) circuits that are in an Idle or inactive state. An idle state is defined as a state in which no switching activity occurs and in which no DC bias currents is present.
The leakage current (Ioff(chip)) has risen to a point where new generation products of integrated circuit (IC) families may not meet the Ioff(chip) current specifications that where achievable in earlier processes. In earlier processes, it was possible to achieve Ioff(chip) currents in the 10s to 100s of microamperes for a microprocessor having approximately 2 million transistors, for example. For higher performance microprocessors fabricated by way of low feature sub-micron processes, Ioff(chip) may be in a range of approximately 10-100 milliamperes for ICs that feature finer geometry. This higher leakage current is between 100 to 1,000 times the leakage current of earlier sub-micron devices and causes a great problem for IC parts, such as microprocessors, for example, used in applications requiring ultra-low standby power.
FIG. 1 depicts a drain-to-source current (Ids) as a function of gate-to-source voltage (Vgs) for a Metal Oxide Semiconductor Field Effect Transistor (MOSFET). Ideally, when Vgs of the MOSFET is below the threshold voltage (Vt), i.e., Vgs -Vt <0, Ids equals 0. In reality, Ids is not equal to 0 for gate voltages that are lower than Vt as one may see from graph 102 representing Log Ids as a function of Vgs. When Vgs, equals 0 volts, a leakage current Ioff1 flows through the transistor.
In many instances, such as in the case of mobile devices that are powered by batteries, the process features are scaled down and the power supply levels are collapsed to lower and lower voltages, so that the batteries may last longer. As the process scales down and the supply voltages are reduced to lower voltages, drain-to-source voltages (Vds) are pushed down. In these cases, for lower supply voltages Vdd, Vt is also lowered to make the process faster. Also, for finer processes such as sub-micron CMOS geometry processes, Vdd is decreased to keep electrical or electromagnetic fields from punching through the transistor's channel region. If Vt was not lowered, a relatively large voltage would need to be applied to the gate of a MOSFET to turn that transistor on. This would cause a degradation in the performance of the electronic circuit to the sub-optimal MOSFET characteristic. As Vt is lowered, the leakage current increases to Ioff2 as one may see from graph 104. The leakage current Ioff2, for the state where Vt is lowered, depicted by graph 104, is higher than the leakage current Ioff1 for the state depicted by graph 102. As Ioff goes up, the power consumed by the electronic circuit incorporating the MOSFET also goes up. It is desirable to reduce power consumption for fine feature CMOS processes such as sub-micron CMOS processes.
SUMMARY OF THE INVENTION
In one embodiment, the present invention provides a circuit that includes a core circuit and a control circuit coupled to the core circuit. The control circuit maintains a logic state of the core circuit when the core circuit is in a Drowsy mode.
BRIEF DESCRIPTION OF THE DRAWINGS
The features, aspects, and advantages of the present invention will become more fully apparent from the following Detailed Description, appended claims, and accompanying drawings in which:
FIG. 1 is a graph of a drain-to-source current (Ids) as a function of gate-to-source voltage (Vds) in a metal oxide semiconductor field effect transistor (MOSFET);
FIG. 2 illustrates one embodiment of a leakage current control circuit according to the present invention; and
FIG. 3 illustrates a Static Random Access Memory (SRAM) circuit that uses one embodiment of the leakage current control circuit according to the present invention.
FIG. 4 illustrates wordline driver for use with an SRAM circuit.
FIG. 5 illustrates a gate level implementation of the wordline driver of FIG. 4.
DETAILED DESCRIPTION OF THE INVENTION
In the following description, numerous specific details are set forth to provide a thorough understanding of the present invention. However, one having ordinary skill in the art should recognize that the invention may be practiced without these specific details. In some instances, well-known circuits, structures, and techniques have not been shown in detail to avoid obscuring the present invention.
One embodiment of the present invention is an integrated circuit (IC) with a control circuit that controls a leakage current. This circuit may be used in connection with fine features Complementary Metal Oxide Semiconductor (CMOS) processes such as advanced deep sub-micron CMOS processes, to reduce the power consumed by core CMOS circuits when these circuits are in an Idle Mode--i.e., the circuits do not operate dynamically and do not have DC bias currents. To conserve power and also retain logical state(s) of the core circuit when desired, the embodiment of the circuit according to the present invention may be set in two states (modes): active Sleep mode and a state retentive (Drowsy) mode respectively. The embodiment of the circuit according to the present invention includes a core circuit coupled to a control circuit. The control circuit substantially reduces a leakage current in the core circuit when the core circuit is in a Sleep mode. Also, the control circuit maintains a logic state of the core circuit when the core circuit is in a Drowsy mode.
During the Sleep mode, the control circuit acts to bring the core circuit to its lowest possible state of leakage current. In this mode, the logic state of the memory elements on the IC, including RAM memory, latches, and flip-flops, is likely lost because the current paths are dominated by leakage currents as opposed to those currents developed by the transistors that are biased "ON." During Sleep mode, the circuit is actively biased at Vdd as opposed to bringing the Vdd power supply to ground potential externally. During Drowsy mode, the control circuit acts to provide enough current to ensure that the memory elements of the core circuit retain their stored logical state, yet without consuming the power otherwise consumed when the memory elements are in Idle or active operation. For example, the current flowing through the devices of the core circuit during the Drowsy mode is approximately 20 to 100 times less than the current flowing through devices in the Idle mode of operation. The advantage of Drowsy mode over the Sleep mode is that the circuit may be brought from Drowsy mode to full active operation without incurring the loss of a machine "state." This is very important for proper operation of microprocessors because in microprocessors implementing the Drowsy mode, it would not be necessary to back up the machine state of the microprocessor in external memory.
According to the present invention, FIG. 2 illustrates one embodiment of a circuit 200 including an integrated leakage control circuit 204. Circuit 204 may be used in connection with electronic circuits that implement advanced Complementary Metal Oxide Semiconductor (CMOS) processes. The core circuit 202 includes electronic devices such as transistors that implement the intended function of this circuit. Control circuit 204 controls a leakage current through core circuit 202 when the core circuit 202 is in one of a Sleep and Drowsy modes.
For one embodiment of the circuit according to the present invention, core circuit 202 includes an inverter, though circuit 202 may include other types of circuits. Inverters or single stack structures, are main sources of high leakage current paths in integrated circuits. For example, inverter structures generate a large part of the leakage current in contemporary microprocessors. Typically, an inverter such as a logic CMOS inverter includes a single P-Metal Oxide Semiconductor Field Effect Transistor (MOSFET) and a single N-MOSFET. In operation, one of these two MOSFETs is biased ON while the other MOSFET is biased OFF. The leakage current is determined by the Ioff of the device (P MOSFET or N MOSFET) that is turned off.
When the inverter or single stack structure is in a state where the overall voltage drop across the inverter, or single stack structure, is at full potential Vdd or (Vdd -Vss), for the case where Vss is different from zero, and the voltage between the source and the bulk Vsb is at zero volts, the inverter dissipates a high amount of leakage power. The overall voltage drop is the voltage drop between the drain of the MOSFET coupled to the higher supply rail Vdd and the source of the MOSFET coupled to the lower supply rail Vss. To overcome the effect of the high amount of leakage power dissipated, the embodiment of circuit 200 according to the present invention is configured such that when core circuit 202 is not active the source-to-bulk voltage Vsb is adjusted to a voltage value that causes the threshold voltage Vt of the OFF MOSFET of the core circuit 202 to significantly decrease. In the embodiment described herein, this is done by reverse-biasing the bulk-to-source junction. An increase in Vsb also causes an increase in Vt because Vt varies with the square root of (2φs +Vsb), where φs is the Fermi level. An increase in Vt effects a decrease of the leakage current Ioff as explained earlier in the discussion related to FIG. 1. Therefore, control circuit 204 ensures that when core circuit 202 is in Sleep mode, Vsb for the OFF core transistor decreases thereby leading to the above-explained decrease in Ioff+.
Control circuit 204 provides and additional mechanism by which Ioff for the core circuit is decreased. This causes a reduction in the Vds voltage of the OFF core transistor(s) of core circuit 200. Reducing Vds across the OFF transistor(s), effects a great savings in Ioff. The decrease in the Vds for the transistors of the core circuit that leak power, (hereinafter referred to as "OFF core transistors") causes a decrease in the Ioff for those transistors due to the exponential dependence of Ioff with Vds. The reduction in the Vds for the OFF core transistor occurs mainly as the overall voltage drop across the core circuit's stacked elements, such as the PMOSFET 218 and the NMOSFET 217, is reduced.
The reduction in the overall voltage drop across core circuit 202 is provided in the following way. Circuit 200 includes a pair of internal supply rails 214 (Vddi) and 216 (Vssi) that provide power to core circuit 202. In Sleep mode, control circuit 204 causes a "collapse" of the internal supply rails 214 and 216 to voltages (Vddi and Vssi) that are lower in absolute value than the voltages of the external rails Vdd and Vss. As a result, Vds for the OFF core transistor becomes smaller with the collapse of the internal power rails 214 and 216. For one embodiment, the collapse of the internal supply rail voltages and the control of the Ioff is provided by the pairs of current controlling transistors (207, 209) and (213, 217). The current controlling transistors 207, 209, and 215 operate between Vssi and Vss while current controlling transistors 213 and 217 and 208 operate between Vddi and Vdd.
When circuit 200 is in a Sleep mode, transistors 207, 209, 213 and 217 are turned off by setting these transistors' gate-to-source voltages (Vgs) to sub-threshold voltage values. In Sleep mode, the leakage is controlled by transistors 207 and 213. The contribution of transistors 207 and 213 is a dominant part of the overall leakage current Ioff that flows through the OFF core transistors because these transistors are much wider than transistors 208, 209, 217, and 215. Therefore, the leakage current generated through transistors 217 and 209 is negligible relative to the leakage current through transistor 207 and 213.
The leakage current Ioff flowing through transistors 207 and 213 causes a voltage drop (Vds) between the drains and the sources of transistors 207 and 213 on the order of hundreds of millivolts. As a result of the Vds developed across transistors 207 and 213 during Sleep mode, internal supply rails 214 and 216 collapse in voltage relative to the voltage of these internal supply rails had both transistors 207 and 213 been turned on. The collapse of the internal power rails 214 and 216 leads to a decrease in the Vds for core transistors 218 and 217. This decrease in Vds for transistors 217 and 218 results in a lower Ioff for these transistors as Ioff has an exponential relation with Vds. For one embodiment, the difference between Vdd and Vss is approximately 1.3 volts while the collapse of the internal supply rails 214 and 216 causes a voltage drop therebetween to be in a range of approximately 1-200 millivolts. Also, for one embodiment of circuit 200, there is only one internal power rail--i.e. either 214 or 216. In this case, the overall voltage across the transistors of the core circuit may drop too, as a result of the collapse of the internal supply rail. Furthermore, note that one embodiment of the present invention may be implemented where there is more than one pair of internal rails--i.e., multiple internal supply rails that may be used for different structures of the core circuit.
The voltage drop Vds across transistors 207 and 213 causes a "passive" Vsb built up in the N-MOSFET and P- MOSFET devices 218 and 217 of the core circuit 202 for the following reasons. The bulks and sources for both NMOSFET 217 and PMOSFET 218 of the core are coupled to different supply voltages. The source of the NMOSFET 217 is coupled to Vssi, while its bulk is coupled to Vss. The source of the PMOSFET 218 is coupled to Vddi while its bulk is coupled to Vdd. The passive Vsb built up in transistors 217 and 218 of the core circuit causes their threshold voltage Vt to shift towards a larger value. Because Ioff is inversely proportional with Vt, Ioff decreases with an increase in Vt.
The internal supply rails 214 and 216 adaptively bias core transistors 217 and 218 to ensure a low Ioff current during the Sleep mode. This results from an inherent negative feedback mechanism in which a higher leakage current Ioff in core circuit 202 causes a greater Vds drop in Sleep mode control transistors 207 and 213. The greater Vds drop in transistors 207 and 213 "leaves" less voltage between internal supply rails 214 and 216 as the voltage difference between Vdd and Vss is fixed. Therefore, a lower Vds "remains" for core transistors 217 and 218. The lower Vds for transistors 217 and 218 causes a lower Ioff current through these transistors.
The ratio of the effective widths of Sleep control transistors 207 and 213 to that of core transistors 217 and 218 is a controlling parameter in determining Ioff. Lower ratios of the above-mentioned widths cause greater Vds drops across transistors 207 and 213 that cause further reduction in the Ioff current, as the current is dominated by the Ioff of transistors 207 and 213. This Ioff current is first-order dependent on the widths of the two transistors 207 and 213. Because transistors 207 and 213 provide the core current during active mode operation, the above-mentioned ratio must be balanced taking into account both Sleep mode and active mode operation specifications. For one embodiment, a 10% ratio between the width of the Sleep control transistors 207, 213 and of the core transistors 217, 218 respectively, may bring the IOFF current during Sleep mode to a desirable range. In active mode, this ratio would lead to less than 50 millivolts total voltage drop across devices 207 and 213, with the aid of adequate on-die decoupling capacitance C1 between Vddi and Vssi.
When the circuit 200 is in the Drowsy mode an additional amount of current IOFF, over that of the Sleep mode, is provided to insure that the Vddi to Vssi potential across core circuit 202 may not collapse to a point beyond which Vds and hence Vgs for the core ON transistor is so low that the conductance of this transistor may become less than that of the OFF core transistor. This additional current insures that the Vddi to Vssi potential develops sufficiently so that ON transistors have sufficient Vgs bias and their conductance dominates over the conductance of the OFF transistors. The additional amount of current provided by control circuit 204 in the Drowsy mode insures that no internal nodes may be "flipped" in a logic state due to Ioff currents in all of the logic gates of the core circuit. As no memory element may lose its state due to "current starvation," the Drowsy mode has the property of being state retentive while consuming minimal Ioff current.
The mechanism to provide the additional Ioff current for core devices in Drowsy mode involves transistors 209, 215, 208 and 217. Transistors 209 and 217 act as switches to enact the Drowsy mode while diode-connected transistors 208 and 215, operated in saturation, provide a controlled additional current for the Drowsy mode. The saturation current level is controlled by the drain-source potential (Vds) determined by the differences (Vdd -Vddi) and (Vss -Vssi) and by the widths of transistors 208 and 215. For one embodiment, the widths of transistors 208 and 215 may be set to 0.1% of the effective widths of the core transistors 217 and 218. This ensures a Drowsy current level in the low hundreds of microamperes for a very low sub-micron CMOS process, while ensuring that a robust Vddi to Vssi potential is developed. This arrangement is also adaptive in nature--the Vds of transistors 208 and 215 rises with a square root dependence of Ids (Ioff) to provide the current demanded by the core circuit. This is another negative feedback mechanism that provides the minimal current necessary to robustly bias the core circuit 202. This mechanism also provides additional current in the event where "leakage defects" are present in some of the transistors of circuit 200.
FIG. 3 illustrates a circuit 300 that utilizes one embodiment of a circuit for reducing leakage current according to the present invention. Circuit 300 includes a plurality of Static Random Access Memory (SRAM) cells. One such SRAM cell 302 is shown within the dotted line. SRAM cell 302 includes two cross-coupled inverters that are made up of pairs of MOSFETs (303, 304) and (305, 306). The SRAM cell 302 also includes pass transistors 308 and 310 that are coupled to output nodes 320 and 322, respectively, of the SRAM cell. Pass transistors 308 and 310 are also coupled to bit lines 326 and 328 respectively. Circuit 300 may be used in conjunction with the previously described leakage control circuit 204 shown in FIG. 2 to cause a reduction of the leakage current of the cross-coupled inverters of the SRAM cell 302 when this cell is in Sleep mode and further to provide an additional current when this cell is in the Drowsy mode.
In addition to SRAM cell 302, circuit 300 includes a wordline (WL) driver circuit 312 that allows reduced leakage current in the SRAM circuit. The wordline (WL) driver circuit drives the SRAM wordline (WL) 330. Wordline driver 312 includes internal power rails V ddi 314 and V ssi 316 that work in the same manner as the internal power rails explained in connection with the embodiment of FIG. 2. Additionally, circuit 312 includes two inverters. The first inverter includes transistor 313 and 315 and the second inverter includes transistors 318 and 320.
Circuit 312 is designed to reduce the leakage currents through pass transistors 308 and 310 when these transistors are OFF. Moreover, circuit 312 consumes a limited amount of power when some of its devices are turned off. Assume that the SRAM cell 302 is in a state where node 320 is set to a logic 1 while node 322 is set to logic 0. Therefore, the pass transistor 308 has a logic 1 at the drain thereof. Pass transistor 308 also has a logic 1 at the source thereof, which is coupled to bit line 326, as the bit lines are initially precharged to a voltage Vddi equal to the voltage at which the higher internal supply rail 316 is set. Bit lines 326 and 328 are kept at the precharge voltage of Vddi during any period of inactivity that includes the powerdown modes sleep, idle, and drowsy. Transistor 308 therefore has substantially the same voltage coupled at the drain and source thereof.
When the wordline WL 330 is set to logic 0, transistor 308 is in cutoff. However, because both the drain and the source of transistor 308 have equal voltages coupled thereto--i.e., Vddi, Vds across transistor 308 is approximately 0 volts. Therefore, no leakage current (Ioff) flows through transistor 308.
Pass transistor 310 has its drain coupled to bit line 328 that is precharged to Vddi. The source of transistor 310 is set to logic 0 by way of transistor 306 that pulls that node to the lower internal rail Vssi. This is where the complementary voltage, i.e., logic 0, is stored on the other side of the SRAM cell. To reduce the leakage current through pass transistor 310, circuit 312 provides a way of biasing the gate of transistor 310 at the lower external rail Vss instead of the lower internal rail Vssi. Consequently, the gate-to-source voltage (Vgs) for transistor 310 has a sub-threshold value as the source voltage at node 322 is approximately equal to Vssi and the voltage at the gate is approximately equal to Vss. The sub-threshold gate-to-source voltage (Vgs) contributes to the lowering of the leakage current Ioff expressed by the formula: ##EQU1## where ##EQU2## For more detailed explanations regarding these formula please see Physics of Semiconductor Devices, by S. M. Sze (Wiley Publications 1969). As one may see from the above formula, the leakage current depends exponentially on the Vgs. Because the leakage current for transistor 310 now constitute approximately 40% of the leakage current flowing through the SRAM cell, a saving of actual power of approximately 40% for the SRAM circuit (array) may be achieved depending upon the operating voltage and the width ratios of transistors.
A leakage current through transistor 306 is reduced by way of the mechanism according to which the internal supply rails are collapsed causing a source-bulk voltage Vsb to be developed for the transistors of the SRAM cell. This power saving is analogous to that in the core circuit described previously in connection with FIG. 2. The symmetry of the SRAM cell produces the same leakage current (IOFF) reduction when the stored state within the cell is opposite that described above, i.e., when node 320 is set to a logic 0 and node 322 is set to a logic 1.
To set the wordline 330 to Vss instead of Vssi, the two inverters are used in the following manner. The first inverter, which includes transistors 313 and 315, has the source of transistor 313 set to Vss instead of Vssi. When a logic 1 voltage is applied to the gates of transistors 313 and 315, transistor 313 pulls the voltage at a drain thereof, which is coupled to wordline 330, to Vss instead of Vssi. This causes wordline 330 to be set to Vss thereby lowering the leakage of pass transistor 310 to the point where it may be considered negligible.
The second inverter includes transistors 318 and 320. Transistor 320 has a source thereof coupled to Vdd instead of Vddi. When the wordline select signal WLSEL, driven through line 340, is set to Vssi, transistor 320 pulls the output node 332 of the second inverter to a voltage value substantially equal to Vdd as the source of transistor 320 is coupled to Vdd. Because node 332 is coupled to the gates of transistors 313 and 315, the gate-source voltage for transistor 315 has a sub-threshold voltage value as Vdd is greater than Vddi. This causes the leakage of transistor 315 to be considerably lower than it would otherwise be because the gate-to-source voltage Vgs for this transistor is positive. The positive Vgs lowers the leakage current exponentially, as the PMOS device is turned more on by negative Vgs and more off by positive Vgs. The above-mentioned equations expressing the dependency of the Ioff with Vgs are applicable to the PMOS devices, but with reversed polarities as is well known to those skilled in the art. In this way, it is ensured that the leakage current through the relatively wide device 315 is not unduly exacerbated by the higher Vds created by having the drain of transistor 315 coupled to Vss rather than to Vssi. Otherwise, this larger leakage current might substantially cancel the gains of having the wordline 330 at Vss for the attached SRAM cell 302. Note that the SRAM is likely to have many such SRAM cells attached to wordline 330. In one embodiment, the number of SRAM cells is 140.
The increased leakage that may be produced due to coupling the source of transistor 320 to Vdd through device 318 is mitigated by the smaller sizes of transistors 320 and 318. These transistors are large enough to drive the capacitive load presented at node 332--i.e., the gates of devices 315 and 313. Additionally, in the powerdown state, the series stack including devices 318, 329, and 334 produces very little leakage since all three series devices are in cutoff.
Circuit 300 further includes a NAND circuit comprised of transistors 329, 333, 334 and 392. The larger Vdd to Vssi voltage to which the second inverter is subjected is dropped through the triple stack comprised of 318, 329 and 334 which are all in the cutoff region of operation in the powered down state. The series combination creates a source-to-body voltage on both of the upper devices 318 and 329 while the Vds of each transistor is produced by dividing the difference (Vdd -Vssi) voltage between them, each transistor seeing a Vds of approximately (Vdd -Vssi)/3.
Transistor 333 is coupled to the double stack of 329 and 334 that have a very low leakage current when these devices are OFF. With this configuration, the total leakage of the WL driver circuit is approximately 30% that of the a conventional WL driver circuit. Consequently, by using this WL driver circuit, leakage is saved not only throughout the array devices, but also considerably in the WL driver circuit itself.
Those skilled in the art will recognize that the node 332 is essentially tri-stated when WLSEL is asserted, but the virtual ground (VGND) 338 is at logic 1, i.e., at Vddi. Node 332 is maintained at the high state by PMOS transistor 335 and the VGND# signal through line 336 which is always driven to the opposite state as VGND signal through line 338. The source of this PMOS "keeper" device 335 is at Vdd.
In a second embodiment of the invention, a more conventional word line (WL) driver circuit such as that shown in FIG. 4 may be modified to have its leakage reduced in a manner analogous to that described in FIG. 3. The WL driver circuit composed of NAND gate 402 and inverter 403, drives the wordline (WL) 430 based on the select input WLSEL (404) and synchronizing clock input CLK (405). As in the previous embodiment, the Ioff in the pass transistors of the SRAM cell is reduced by reducing the WL voltage to Vss rather than Vssi. This is accomplished by the circuit configuration shown in FIG. 5.
In FIG. 5, inverter 403 is comprised of the core transistors 415 and 413. Transistor 413 is configured with both its source and bulk coupled to Vss (node 414) so as to drive the WL node to 0V (Vss) rather than Vssi as described above. Just as described previously, the higher Vds on transistor 415 would unduly increase the leakage through device 415 if this effect was not mitigated by a positive Vgs, on PMOS device 415, produced by the NAND gate 402. This voltage is produced by generating WLN signal, via line 431 at Vdd rather than Vddi coupling the sources of transistors 420 and 421 to Vdd. As in the previous embodiment, this limits the Ioff through wordline driver transistor 415.
The increased voltage presented to the series stack comprised of transistors 422 and 423 does not produce a large Ioff through these transistors as they are configured in a stack configuration, that is efficacious in limiting the leakage current as was described above. While the embodiment described in connection with FIG. 3 may be more efficient at limiting the power consumption due to Ioff in an SRAM array, the embodiment illustrated in FIGS. 4 and 5, may be desirable due to its simplicity.
In the previous detailed description, the invention is described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention as set forth in the claims. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.