# Patent

## Title
Gate leakage compensation in a current mirror

## Abstract

A method and apparatus is disclosed to compensate for gate leakage currents of thin oxide devices that have very thin oxide layers in a current mirror of a digital-to-analog converter (DAC). The DAC converts a digital input signal from a digital representation in a digital signaling domain to an analog representation in an analog signaling domain to provide an analog output signal. The DAC uses one or more transistors to convert the digital input signal from the digital representation to the analog representation. These transistors are typically implemented using thin oxide devices that have very thin oxide layers and corresponding gate leakage currents that are associated with these very thin oxide layers. The current-steering DAC provides these gate leakage currents independent of its corresponding, reference source without any substantial affect upon its full scale output.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
The present application is a continuation of U.S. patent application Ser. No. 13/246,319, filed Sep. 27, 2011, which is incorporated herein by reference in its entirety.


BACKGROUND
1. Field of Invention
The present invention relates generally to compensation for gate leakage currents in a current mirror and specifically to compensation for gate leakage currents in a current mirror of a digital to analog converter (DAC).
2. Related Art
A digital-to-analog converter (DAC) is an electronic circuit that converts a digital input signal from a digital representation in the digital signaling, domain to an analog representation in the analog signaling domain to, provide an analog output signal. DACs can be designed for a wide range of applications, including general data, acquisition applications and special applications, such as, but not limited to, video or graphic outputs, high definition video displays, ultra high-speed signal processing, and digital video recording.
A current-steering DAC represents a type of DAC that performs this conversion in a current domain. For example, the current-steering DAC includes a plurality of current sources, typically one for each bit of the digital input signal, that are arranged in parallel. The plurality of current sources are steered in accordance with the digital input signal to provide an analog representation of the digital input signal to as the analog output signal. Those current sources that are steered in a first direction contribute their corresponding currents to the analog output signal while those current sources that are steered in a second direction withdraw their corresponding currents from the analog output signal.
Ideally, transistors that form the current sources have sufficient insulation, commonly in the form of a gate oxide layer, between their respective gates and their respective drain to source channels such that no current flows from their respective gates to their respective drain to source channels during operation. However, the continuous down-scaling of these transistors has led to very thin oxide layers; thereby, allowing unwanted currents, referred to as gate leakage currents, to flow from their respective gates to their respective drain to source channels. Typically, these gate leakage currents increase exponentially as thicknesses of the gate oxide layers are reduced. Additionally, these leakage currents may vary in a large range over process and temperature. This variation commonly translates into a change of the full scale output of a conventional current-steering DAC which is an undesirable effect in communications systems where transmitted power is accurately specified, such as asymmetric digital subscriber line (ADSL) to provide an example.
Thus, there is a need for a method and an apparatus to compensate for the gate leakage currents that are associated with very thin oxide layers as described above. Further aspects and advantages of the present invention will become apparent from the detailed description that follows.



BRIEF DESCRIPTION OF THE DRAWINGS/FIGURES
The present invention is described with reference to the accompanying drawings. In the drawings, like reference numbers indicate identical or functionally similar elements. Additionally, the left most digit(s) of a reference number identifies the drawing in which the reference number first appears.
FIG. 1 illustrates a block diagram of a digital to analog converter (DAC) according to an exemplary embodiment of the present invention;
FIG. 2 illustrates a conventional current-steering DAC;
FIG. 3 illustrates a block diagram of a current-steering DAC according to an exemplary embodiment of the present invention; and
FIG. 4 illustrates a leakage replicator module and a reference cell module that are implemented as part of the current-steering DAC according to an exemplary embodiment of the present invention.



The present invention will now be described with reference to the accompanying drawings. In the drawings, like reference numbers generally indicate identical, functionally similar, and/or structurally similar elements. The drawing in which an element first appears is indicated by the leftmost digit(s) in the reference number.
DETAILED DESCRIPTION OF THE INVENTION
The following Detailed Description refers to accompanying drawings to illustrate exemplary embodiments consistent with the invention. References in the Detailed Description to “one exemplary embodiment,” “an exemplary embodiment,” “an example exemplary embodiment,” etc., indicate that the exemplary embodiment described may include a particular feature, structure, or characteristic, but every exemplary embodiment may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same exemplary embodiment. Further, when, a particular feature, structure, or characteristic is described in connection with an exemplary embodiment, it is within the knowledge of those skilled in, the relevant art(s) to affect such feature, structure, or characteristic in connection with other exemplary embodiments whether or not explicitly described.
The exemplary embodiments described herein fare provided for illustrative purposes, and are not limiting. Other exemplary embodiments are possible, and modifications may be made to the exemplary embodiments within the spirit and scope of the invention. Therefore, the Detailed Description is not meant to limit the invention. Rather, the scope of the invention is defined only in accordance with the following claims and their equivalents.
Embodiments of the invention may be implemented in hardware, firmware, software, or any combination thereof. Embodiments of the invention may also be implemented as instructions stored on a machine-readable medium, which may be read and executed by one or more processors. A machine-readable medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computing device). For example, a machine-readable medium may include read only memory (ROM); random access memory (RAM); magnetic disk storage media; optical storage media; flash memory devices; electrical, optical, acoustical or other forms of propagated signals (e.g., carrier waves, infrared signals, digital signals, etc.), and others. Further, firmware, software, routines, instructions may be described herein as performing certain actions. However, it should be appreciated that such descriptions are merely for convenience and that such actions in fact result from computing devices, processors, controllers, or other devices executing the firmware, software, routines, instructions, etc.
The following Detailed Description of the exemplary embodiments will so fully reveal the general nature of the invention that others can, by applying knowledge of those skilled in relevant art(s), readily modify and/or adapt for various applications such exemplary embodiments, without undue experimentation, without departing from the spirit and scope of the present invention. Therefore, such adaptations and modifications are intended to be within the meaning and plurality of equivalents of the exemplary embodiments based upon the teaching and guidance presented herein. It is to be understood that the phraseology or terminology herein is for the purpose of description and not of limitation, such that the terminology or phraseology of the present specification is to be interpreted by those skilled in relevant art(s) in light of the teachings herein.
Exemplary Digital to Analog Converter (DAC)
FIG. 1 illustrates a block diagram of a DAC according to an exemplary embodiment of the present invention. A DAC 100 represents an interface between a digital signaling domain and an analog signaling domain. The DAC 100 converts a digital input signal 150 from a digital representation in the digital signaling domain to an analog representation in the analog signaling domain to provide an analog output signal 152. The analog output signal 152 may represent a differential signal including a first analog output signal 152(+) that is a complement of a second analog output signal 152(−). The digital input signal 150 includes M bits represented by bits B1 through BM, where BM represents a most significant bit (MSB) of the digital input signal 150 and B1 represents a least significant bit (LSB) of the digital input signal 150.
The DAC 100 may be implemented using a voltage-mode circuit technology and/or a current-mode circuit technology. The DAC 100 separates a reference voltage into M voltage levels and weighs each of the M voltage levels in accordance with the M bits of the digital input signal 150 to provide the analog output signal 152 in the voltage-mode circuit technology. In the current mode circuit technology, the DAC 100 separates a reference current into M current levels and weighs each of the M current levels in accordance with the M bits of the digital input signal 150 to provide the analog output signal 152.
A current-steering DAC represents a type of DAC that uses the current mode circuit technology to convert a digital input signal to an analog output signal. The current-steering DAC includes a plurality of current sources, typically one for each bit of the digital input signal, that are arranged in parallel. These current sources are steered in accordance with the digital input signal to provide an analog representation of the digital input signal as the analog output signal. Those current sources that are steered in a first direction, also characterized as a positive direction, contribute their corresponding currents to the analog output signal. Those current sources that are steered in a second direction, also characterized as a negative direction, withdraw their corresponding currents from the analog output signal.
Conventional Current-Steering DAC
FIG. 2 illustrates a conventional current-steering DAC. A conventional current-steering DAC 200 converts the digital input signal 150 from the digital representation in the digital signaling domain to the analog representation in the analog signaling domain to provide the analog output signal 152. The conventional current-steering DAC 200 includes a thermometer decoder 202, DAC current cells 204.1 through 204.n, an optional output stage 206, and a reference cell module 208.
The thermometer decoder 202 decodes the M bits of the digital input signal 150 in accordance with a thermometer code to provide control bits 250.1 through 250.n. Typically, the thermometer decoder 202 includes 2M control bits 250.1 through 250.n to decode the M bits of the digital input signal 150 in accordance with the thermometer code. The thermometer code represents a coding scheme that provides a unique combination of the control bits 250.1 through 250.n from among 2M possible combinations of the control bits 250.1 through 250.n for each possible combination of the M bits of the digital input signal 150. For example, an 8-bit thermometer code may be used represent the binary numbers 000 through 111. In this example, the unique combination for the binary number 000 would be 00000000, the unique combination for the binary number 001 would be 00000001, the unique combination for the binary number 010 would be 00000011, the unique combination for the binary number 101 would be 00011111, and the unique combination for the binary number 111 would be 11111111.
The DAC current cells 204.1 through 204.n are steered in either the positive direction or the negative direction in accordance with the control bits 250.1 through 250.n. The DAC current cells 204.1 through 204.n sink a corresponding DAC cell current 260.1 through 260.n from an analog output current 256 in the positive direction and/or a corresponding DAC cell current 262.1 through 262.n from an analog output current 258 in the negative direction. The DAC current cells 204.1 through 204.n are substantially similar to each other; therefore, only the DAC current cell 204.1 is to be described in further detail. The DAC current cell 204.1 includes a steerable current source 210.1, a positive switch 212.1, and a negative switch 214.1. The positive switch 212.1 provides the DAC cell current 260.1 from the analog output current 252 to the steerable current source 210.1 when closed in response to the control bit 250.1. Similarly, the negatives switch 214.1 provides the DAC cell current 262.1 from the analog output current 258 to the steerable current source 210.1 when closed in response to the control bit 250.1. Typically, the switch 212.1 and the switch 214.1 are closed or switched in a complementary manner by the control bit 250.1 such that only one of these switches is closed at any given instance in time.
The optional output stage 206 converts the analog output current 256 and the analog output current 258 from a current representation in the current domain to a voltage representation in the voltage domain to provide the analog output signal 152(+) and the analog output signal 152(−), respectively. The optional output, stage 206 includes an output resistor 216 and an output resistor 218 to convert the analog output current 256 and the analog output current 258, respectively, from the representation in the current domain, to the representation in the voltage domain.
The reference cell module 208 generates a reference current 264 that is mirrored by the DAC current cells 204.1 through 204.n. The reference cell module 208 includes a reference current source 220, a reference transistor 222, and a decoupling capacitor 224. The reference current source 220 provides a reference current 266. The reference current 266 is converted into a reference biasing voltage 274 for the reference transistor 222 to cause a reference current 264 to flow through the reference transistor 222. Ideally, the reference current 266 is approximately equal to the reference current 264 that is flowing through reference transistor 222; however, as to discussed below, gate leakage currents prevalent in the conventional current-steering DAC 200 cause the reference current 264 to be less than the reference current 266.
The reference cell module 208 biases the steerable current sources 210.1 through 210.n with the reference biasing voltage 274. The reference transistor 222 and the steerable current sources 210.1 through 210.n are configured and arranged to form a current mirror. The reference transistor 222 represents a reference portion of the current mirror and the DAC current cells 204.1 through 204.n represent a mirroring portion of the current mirror. The current mirror causes the DAC cell currents 260.1 through 260.n and/or the DAC cell currents 262.1 through 262.n to be proportional to the reference current 264 when biased with the reference biasing voltage 274. The decoupling capacitor 224 filters noise introduced by the reference current source 220 and/or the reference transistor 222 at frequencies greater than or equal to:




  
    
      
        
          
            g
            m
          
          
            2
            ⁢
            
              
            
            ⁢
            π
            ⁢
            
              
            
            ⁢
            C
          
        
        ,
      
    
    
      
        (
        1
        )
      
    
  




where gm represents a transconductance of the reference transistor 222 and C represents a capacitance of the decoupling capacitor 224.

Ideally, the steerable current sources 210.1 through 210.n and the reference transistor 222 have sufficient insulation, commonly in the form of a gate oxide layer, between their respective gates and their respective drain to source channels such that no current flows from their respective gates to their respective drain to source channels during operation. However, the continuous down-scaling of these devices has led to very thin oxide layers; thereby allowing unwanted currents, referred to gate leakage currents, to flow from their respective gates to their respective drain to source channels. Typically, these gate leakage currents increase exponentially as thicknesses of the gate oxide layers are reduced.
The steerable current sources 210.1 through 210.n and the reference transistor 222 are implemented using thin oxide devices. These thin oxide devices typically have very thin oxide layers and corresponding gate leakage currents that are associated with these very thin oxide layers. These gate leakage currents sink power from the reference current, source 220 as a gate leakage current 268. The reference transistor 222 and the steerable current sources 210.1 through 210.n sink a reference gate leakage current 270 and a cell gate leakage current 272, respectively, from the gate leakage current 268. The reference gate leakage current 270 flows through a gate of the reference transistor 222 to its drain to source channel. The cell gate leakage current 272 flows through gates of the steerable current sources 210.1 through 210.n to their respective drain to source channels. Typically, the steerable current sources 210.1 through 210.n and the reference transistor 222 and are matched transistors, such that the reference cell gate leakage current 272 may be represented as:

I272=n*I270,  (2)

where I272 represents the cell gate leakage current 272, n represents a number of current sources in the steerable current sources 210.1 through 210.n when the steerable current sources 210.1 through 210.n are significantly matched, and I270 represents the reference gate leakage current 270. As these examples illustrate, approximately (n+1)*I270 of the reference current 266 comprises the leakage currents for the steerable current sources 210.1 through 210.n and the reference transistor 222 which may represent a significant portion of the reference current 266.

As a result, these leakage currents may cause a reduction in the reference current 264 that is mirrored by the steerable current sources 210.1 through 210.n, thereby reducing a full scale output of the conventional, current-steering DAC 200. For example, the reference current 264 may be represented as:

I264=I266−(I270+I272)  (3)

where I264 represents the reference current 264, I266 represents the reference current 266, I270 represents the reference gate leakage current 270, and I272 represents the cell gate leakage current 272. In this example, the full scale output of the conventional current-steering DAC 200 is proportionally, reduced by the reference gate leakage current 270 and the cell gate leakage current 272 in the presence of the leakage currents for the reference transistor 222 and the steerable current sources 210.1 through 210.n. 

Additionally, these leakage currents may vary in a large range over process and temperature. This variation commonly translates into a change of the full scale output of the conventional current-steering DAC 200 which is an undesirable effect in communications systems where transmitted power is accurately specified, such as asymmetric digital subscriber line (ADSL) to provide an example.
Exemplary Current-Steering DAC
FIG. 3 illustrates a block diagram of a current-steering DAC according to an exemplary embodiment of the present invention. A current-steering DAC 300 converts the digital input signal 150 from the digital representation in the digital signaling domain to the analog representation in the analog signaling domain to provide the analog output signal 152. The current-steering DAC 300 uses one or more transistors to mirror a reference current and steers this mirrored current to convert the digital input signal 150 from the digital representation to the analog representation. These transistors are commonly implemented using thin oxide devices that have very thin oxide layers and corresponding gate leakage currents that are associated with these very thin oxide layers. The current-steering DAC 300 provides these gate leakage currents independent of the reference current without substantially affecting its full scale output. The current-steering DAC 300 includes the DAC current cells 204.1 through 204.n, the optional output stage 206, a leakage replicator module 302, and a reference cell module 304, and an optional digital input signal decoder 306. The current-steering DAC 300 may represent an exemplary embodiment of the DAC 100. The current-steering DAC 300 shares many substantially similar features as the conventional current-steering DAC 200; therefore, only differences between the conventional current-steering DAC 200 and the current-steering DAC 300 are to be discussed below.
The leakage replicator module 302 provides a replica leakage current 350 that is proportional to a leakage current flowing through the DAC current cells 204.1 through 204.n and/or the reference cell module 304. The DAC current cells 204.1 through 204.n and/or the reference cell module 304 are commonly implemented using thin oxide devices that have very thin oxide layers and corresponding gate leakage currents that are associated with these very thin oxide layers.
The leakage replicator module 302 replicates a gate leakage current that is flowing, through one or more of these devices to provide a replica unit, leakage current. The leakage replicator module 302 weighs the replica unit leakage current to provide the replica leakage current 350. For example, the leakage replicator module 302 weighs the replica unit leakage current by a proportionality constant (ψ) such that the replica leakage current 350 is approximately equal to the leakage current of the DAC current cells 204.1 through 204.n and/or the reference cell module 304. As another example, the proportionality constant (ψ) may represent a number of devices from among the DAC current cells 204.1 through 204.n and/or the reference cell module 304 that sink leakage currents from their respective gates and their respective drain to source channels. Typically, the replica leakage current 350 may be represented as:

I350=I270+I272,  (4)

where I350 represents the replica leakage current 350, I270 represents the reference gate leakage current 270 and I272 represents the cell gate leakage current 272.

The reference cell module 304 provides the reference biasing voltage 274 to the DAC current cells 204.1 through 204.n. The reference cell module 304 includes one or more devices that are biased accordingly with the reference biasing voltage 274 to sink a reference current from a reference current supply. These one or more devices and/or the DAC current cells 204.1 through 204.n are commonly implemented using thin oxide devices that have very thin oxide layers and corresponding, gate leakage currents that are associated with these very thin oxide layers. These gate leakage currents are independently supplied by the leakage replicator module 302 allowing the reference current flowing through the one or more devices of the reference cell module 304 to be approximately equal to a current provided by the reference current supply. This independence allows the leakage replicator module 302 to provide the replica leakage current 350 to the DAC current cells 204.1 through 204.n and/or the reference cell module 204 without any substantial affect upon the full scale output of the current-steering DAC 300.
The reference cell module 304 also provides the reference biasing voltage 274 to the DAC current cells 204.1 through 204.n to allow the DAC current cells 204.1 through 204.n to provide DAC cell currents that are proportional to the reference current flowing through the reference cell module 304.
The optional digital input signal decoder 306 decodes the M bits of the digital input signal 150 in accordance with a code to provide control bits 250.1 through 250.n. The code may include a binary code, a thermometer code, a gray code, or any other suitable code that may be used to encode one or more digital bits, bytes, words, and/or symbols into the M bits of the digital input signal 150 that will be apparent to those skilled in the relevant art(s) without departing from the spirit and scope of the present invention. In some situations, the M bits of the digital input signal 150 may be directly provided to the DAC current cells 204.1 through 204.n. In these situations, effective dimensions of active devices within the DAC current cells 204.1 through 204.n may differ between the active devices to effectively weight the M bits of the digital input signal 150. For example, the effective dimensions of the active devices within the DAC current cells 204.1 through 204.n may be binarily related. In other situations, the M bits of the digital input signal 150 may represent M unencoded bits.
Exemplary Leakage Replicator Module and Reference Cell Module that are Implemented as Part of the DAC
FIG. 4 illustrates a leakage replicator module and a reference cell module that are implemented as part of the current-steering DAC according to an exemplary embodiment of the present invention. A current-steering DAC, such as the current-steering DAC 300 to provide an example, includes DAC current cells, such as the DAC current cells 204.1 through 204.n, to convert a digital input signal from a digital representation in the digital signaling domain to an analog representation in the analog signaling domain to provide an analog output signal.
The reference cell module 402 produces the reference biasing voltage 274 for the reference transistor 222 that causes a reference current 450 to flow through the reference transistor 222. The reference cell module 402 additionally provides the reference biasing voltage 274 to the DAC current cells that causes currents, which are proportional to the reference current 450, to flow through the DAC current cells. The reference cell module 402 may represent an exemplary embodiment of the reference cell module 304. The reference cell module 402 shares many substantially similar features as the reference cell module 208; therefore, only differences between the reference cell module 208 and the reference cell module 402 are to be discussed below.
The reference cell module 402 and the DAC current cells are typically implemented using thin oxide devices that have very thin oxide layers and corresponding gate leakage currents that are associated with these very thin oxide layers. In contrast to the conventional current-steering DAC 200, these gate leakage currents are independently provided by a leakage replicator module 404. This independence allows most, if not all, of the reference current 266 to be mirrored by the DAC current cells as the reference current 450.
The leakage replicator module 404 includes a first n-type current source 418, a second n-type current source 420, a first p-type current mirror transistor 406, a second p-type current mirror transistor 408, a replica transistor 410, a current source 412, a gate biasing transistor 414 and a ability capacitor 416. The leakage replicator module 404 may represent an, exemplary embodiment of the leakage replicator module 302.
The first n-type current source 418 and the second n-type current source 420 are biased by a current source bias 452 such that a first current 454 and a second current 456 flow through the first n-type current source 418 and the second n-type current source 420, respectively. In an exemplary embodiment, the first n-type current source 418 and/or the second n-type current source 420 are implemented using thick oxide devices that have thick oxide layers and usually a negligible gate leakage current is associated with these thick oxide layers. Typically, an effective width of the first n-type current source 418 is larger than an effective width of the second n-type current source 420 by a factor of (M+1) such that:

I454=(M+1)*I456,  (5)

where I454 represents the first current 454, (M+1) represents a ratio of a size of the first n-type current source 418 to a size of the second n-type current source 420, and I456 represents the second current 456. In, an exemplary embodiment, the first n-type current source 418 and the first p-type current mirror transistor 406 may be characterized as having high impedances at their respective drains to allow the decoupling capacitor 224 to effectively filter the reference can ent 266.

The first p-type current mirror transistor 406 and the second p-type current mirror transistor 408 are configured and arranged to form a current mirror. In an exemplary embodiment, the first p-type current mirror transistor 406 and the second p-type current mirror transistor 408 are implemented using thick oxide devices that have thick oxide layers and usually a negligible gate leakage current is associated with these thick oxide layers. The current mirror causes the first replica current 458 flowing through the first p-type current mirror transistor 406 is proportional to the second replica current 460. The first replica current 458 may be represented as:

I458=(M+1)*I460,  (6)

where I458 represents the second replica current 458, (M+1) represents a ratio of a size of the first p-type current mirror transistor 406 to a size of the second p-type current mirror transistor 408, and I460 represents the second replica current 460.

The replica current source 412 provides a replica current 464. In an exemplary embodiment, the replica current source 412 is a scaled version of the reference current source 220. In another exemplary embodiment, the reference current source 220 and the replica current source 412 are derived from a common origin such that differentiations, such as process differences or temperature differences to provide some examples, between these two current sources is minimized. This common origin may represent a voltage source and/or a current source that is used by the reference current source 220 and the replica current source 412 to provide the reference current 266 and the replica current 464, respectively. In a further exemplary embodiment, the common origin may also be used to provide the supply voltage VDD.
The gate biasing transistor 414 provides a drain bias for the replica transistor 410 such that the replica current 464 flows through the replica transistor 410. In an exemplary embodiment, the replica transistor 410 is substantially matched to at least one of the steerable current sources 210.1 through 210.n, and/or the reference transistor 222. The replica transistor 410 typically has a very thin oxide layer and a gate leakage current 462 that is associated with this very thin oxide layer. The gate leakage current 462 may be, represented as:

I462=I460−I456,  (8)

where I462 represents the gate leakage current 462, I460 represents the second replica current 460, and I456 represents the second current 456. The stability capacitor 416 ensures the drain biasing of the replica transistor 412 by the gate biasing transistor 410 remains stable.

Noting that the replica leakage current 350 may be represented as:

I350=I458−I454,  (9)

where I460 represents the replica leakage current 350, I456 represents the second current 456 and I462 represents the first current 454, the replica leaking current 350 may be represented as:

I350(M+1)*I462,  (10)

where I350 represents the replica leakage current 350, (M+1) represents a ratio of a size of the first p-type current mirror transistor 406 to a size of the second p-type current mirror transistor 408, and I462 represents the gate leakage current 462.

CONCLUSION
It is to be appreciated that the Detailed Description section, and not the Abstract section, is intended to be used to interpret the claims. The Abstract section may set forth one or more, but not all exemplary embodiments, of the present invention, and thus, are not intended to limit the present invention and the appended claims in any way.
The present invention has been described above with the aid of functional building blocks illustrating the implementation of specified functions and relationships thereof. The boundaries of these functional building blocks have been arbitrarily defined herein for the convenience of the description. Alternate boundaries may be defined so long as the specified functions and relationships thereof are appropriately performed.
It will be apparent to those skilled in the relevant art(s) that various changes in form and detail can be made therein without departing from the spirit and scope of the invention. Thus the present invention should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents.

## Claims

1. An apparatus for compensating for leakage current in a plurality of transistors, comprising:
a leakage replicator module configured to replicate the leakage current flowing through one of the plurality of transistors to provide a replica unit leakage current and to weigh the replica unit leakage current by a proportionality constant to provide a replica leakage current; and
a reference cell module configured to combine the replica leakage current with a biasing current to provide a combined current to the plurality of transistors to compensate for the leakage current.

2. The apparatus of claim 1, wherein the proportionality constant is proportional to a number of transistors from among the plurality of transistors.

3. The apparatus of claim 2, wherein the proportionality constant represents a number that is at least one more than the number of transistors.

4. The apparatus of claim 1, wherein the leakage replicator module comprises:
a replica transistor configured to replicate the leakage current flowing through the one of the plurality of transistors to provide the replica unit leakage current, the replica transistor being substantially matched to the one of the plurality of transistors.

5. The apparatus of claim 4, wherein the leakage replicator module further comprises:
a current mirror configured to weigh the replica unit leakage current by the proportionality constant to provide the replica leakage current.

6. The apparatus of claim 5, wherein the current mirror comprises:
a current mirror transistor configured to provide a first current that is proportional to the replica unit leakage current; and
a second current mirror transistor configured to weigh the first current by the proportionality constant to provide a second current as the replica leakage current.

7. The apparatus of claim 6, wherein an effective width of the first current mirror transistor is smaller than an effective width of the second current mirror transistor by the proportionality constant.

8. The apparatus of claim 1, wherein the reference cell module comprises:
a reference transistor configured to combine the replica leakage current with the biasing current.

9. The apparatus of claim 1, wherein the plurality of transistors is configured to implement a plurality of current mirrors.

10. The apparatus of claim 9, wherein the plurality of current mirrors is configured to implement a digital-to-analog converter (DAC) that is configured to convert a digital input to an analog output, and
wherein the plurality of current mirrors is configured to be steered in accordance with the digital input to convert the digital input to the analog output.

11. An apparatus for compensating for leakage current in a plurality of transistors, comprising:
a replica transistor configured to replicate the leakage current flowing through one of the plurality of transistors to provide a replica unit leakage current; and
a current mirror having a reference portion and a mirroring portion, the reference portion being configured to pass a first current that is proportional to the replica unit leakage current, and the mirroring portion being configured to weigh the first current by a proportionality constant to provide a second current as a replica leakage current for use by the plurality of transistors to compensate for the leakage current.

12. The apparatus of claim 11, wherein the replica transistor is substantially matched to the one of the plurality of transistors.

13. The apparatus of claim 11, further comprising:
a first current source configured to be biased by a bias such that the first current flows through the reference portion; and
a second current source configured to be biased by the bias such that the second current flows through the mirroring portion.

14. The apparatus of claim 11, wherein the proportionality constant is proportional to a number of transistors from among the plurality of transistors.

15. The apparatus of claim 11, wherein the plurality of transistors is configured to implement a plurality of current mirrors.

16. The apparatus of claim 15, wherein the plurality of current mirrors is configured to implement a digital-to-analog converter (DAC).

17. The apparatus of claim 16, wherein the DAC is configured to convert a digital input to an analog output, and
wherein the plurality of current mirrors is configured to be steered in accordance with the digital input to convert the digital input to the analog output.

18. A method for compensating for leakage current in a plurality of transistors, comprising:
replicating the leakage current flowing through one of the plurality of transistors to provide a replica unit leakage current;
weighing the replica unit leakage current by a proportionality constant to provide a replica leakage current; and
combining the replica leakage current with a biasing current to provide a combined current to the plurality of transistors to compensate for the leakage current.

19. The method of claim 18, wherein the proportionality constant is proportional to a number of transistors from among the plurality of transistors.

20. The method of claim 18, wherein the weighing comprises:
providing a first current that is proportional to the replica unit leakage current; and
weighing the first current by the proportionality constant to provide a second current as the replica leakage current.