Information
-
Patent Application
-
20020087280
-
Publication Number
20020087280
-
Date Filed
December 28, 200023 years ago
-
Date Published
July 04, 200222 years ago
-
CPC
-
US Classifications
-
International Classifications
Abstract
A local driver circuit to drive a logic voltage at an output pad includes an adder having K bits to add a K-bit control value to a local value, the adder producing a K-bit calibrated value. The circuit further includes K field-effect transistors (FETs), the drain of each FET being coupled to the output pad, and logic circuitry to perform a logical-AND function between a data input and the K-bit calibrated value. The logic circuitry providing a K-bit output with each of the K output bits being coupled to the gate of a corresponding one of the FETs. A comparator produces a correction value from a comparison of the logic voltage at the output pad and a reference voltage. A control unit sets a least significant bit (LSB) portion of the local value responsive to the correction value so as to make the logic voltage at the output pad in the reference voltage substantially equal.
Description
[0001] The present invention relates generally to the field of integrated circuits. More particularly, to methods and apparatus for driving full voltage swing digital signals across bus transmission lines.
BACKGROUND OF THE INVENTION
[0002] Integrated circuits such as microprocessors typically send and receive information via digital signals transmitted on high-speed terminated buses. This places importance on the implementation of output driver circuitry having the drive strength to sent logic signals across the terminated buses without degradation of voltage swing levels. For example, in past situations where the output pad of the integrated circuit is coupled to a high-speed bus that has multiple connections to other devices, output drivers with insufficient current driving capability have suffered from diminished voltage swing levels. Basically, the open drain driver transistors lack the capacity to sink sufficient current at the output pad, which results in a logical low voltage (VOL) that deviates from the ideal, specified VOL level.
[0003] To alleviate this problem, various circuit designs have been proposed to provide current control for output drivers coupled to a high-speed bus. By way of example, U.S. Pat. Nos. 6,094,075; 6,009,487; 5,663,661; and 5,254,883 disclose techniques for controlling the transistor circuitry that controls bus current. What these techniques have in common is that they rely upon a current control value that is stored in a latch or register on the integrated circuit. The current control value is a calibrated digital value used to control the voltage swing level of the output drivers. The register or latch that stores the current control value is typically coupled to each of the output drivers of the chip.
[0004] The current control value is usually set in accordance with the particular application or type of bus to be driven (e.g., TTL, ECL, Rambus™, etc.). By way of example, the current control value that sets the voltage swing level for a Rambus™ open drain driver is typically determined by sampling two I/O bit cells. These two I/O slice voltage swings are compared to specific values and the control value is increased or decreased until the required voltage swing appears between these two I/O cells. The control logic then distributes the calibrated current control value among all the I/O cells on the integrated circuit.
[0005] However, there is a serious drawback of this approach. Sampling the voltage swings between only two bit cells and using this measurement to determine a single calibrated current control value for all the bit slices does not account for local abnormalities or process variations across the die. Transistor threshold voltage and other important transistor parameters often vary between each of the I/O bit slices. For instance, a normal Rambus application-specific cell (ASIC) has at least 26 I/O bit slices. This means that the transistor of the voltage comparator in the current control logic may not share the same transistor operating characteristics as the transistors in each of the I/O cells. Moreover, each Rambus ASIC cell is about 4000 microns wide, making variations across the die unavoidable.
[0006] Because of die process variations, the current control value distributed across the chip does not correctly calibrate every I/O driver cell. Indeed, many output drivers end up having voltage swing levels that are compromised due to local inaccuracies. Replicating the global current calibration logic and control logic in each of the I/O bit cells in order to calibrate each of the bits individually would, of course, be very costly in terms of silicon layout area and power consumption.
[0007] Therefore, what is needed is a new approach to the problem of current calibration to compensate for on-die process variations in output driver circuitry.
BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The present invention will be understood more fully from the detailed description which follows and from the accompanying drawings, which however, should not be taken to limit the invention to the specific embodiments shown, but are for explanation and understanding only.
[0009]
FIG. 1 is a diagram of a conventional circuit configuration for driving a high-speed bus.
[0010]
FIG. 2 is a circuit schematic diagram of a driver circuit in accordance with one embodiment of the present invention.
[0011]
FIG. 3 is a circuit schematic diagram of a driver circuit in accordance with an alternative embodiment of the present invention.
[0012]
FIG. 4 is a flow chart diagram illustrating one embodiment of the method of the present invention.
DETAILED DESCRIPTION
[0013] A dynamic current calibration circuit for an output driver is described In the following description, numerous details are set forth, such as specific circuit configurations, device sizes, bit lengths, etc., in order to provide a thorough understanding of the invention. It will be clear, however, to one skilled in the art, that these specific details may not be needed to practice the present invention.
[0014]
FIG. 1 shows the conventional approach for driving a particular voltage swing on a high-speed I/O bus. The bus transmission line 11 is shown connected to an output pad 10 of integrated circuit 14 at one end. The other end is terminated to a positive supply voltage (VTERM) through a resistor 12. The voltage swing at pad 10 is determined by an array of parallel-coupled n-channel field-effect transistors 15.
[0015] The gate voltages of the respective FETs set the voltage swing, or drive strength, at pad 10. That is, drive strength increases with the number of transistors that are made to conduct current, i.e., turned “on”, by a high voltage appearing at the gate of each transistor. Drive strength may also be affected by the relative size relationship of each of the FETs in array 15. For example, it is not uncommon for array 15 to include FETs having sizes that vary as an integer power of two, e.g., 2×, 4×, 8×, etc., to provide greater range in drive capability.
[0016] As discussed previously, there is a need for some sort of calibration scheme to adjust the relative drive strength of the output drivers. Absent calibration of the I/O bits, the output voltage swing can be corrupted, thereby reducing logic level sensing capability. A widely adopted prior art technique has been to distribute a single current calibration value among all the I/O cells. This approach, however, cannot compensate for unavoidable process variations that occur across the die.
[0017]
FIG. 2 is a detailed circuit schematic diagram of one embodiment of the dynamic current calibration scheme of the present invention. The circuit of FIG. 2 comprises a current control register 31, which contains a 7-bit global current control value (ICNTL). This value represents a coarse determination of the driver strength for all the I/O bits. In accordance with the present invention, the current control value is distributed from register 31 to all of the output drivers on the chip.
[0018] The advancement of the present invention lies in its implementation of local logic circuitry to adjust or “fine tune” the global current calibrated value stored in register 31. This logic circuitry comprises add/subtract circuit 20, control block 24, and comparator 22 in the embodiment shown in FIG. 2. These elements operate to fine tune the lower bit field (i.e., the least significant bits) of the current control value to compensate for small deviations resulting from local differences in each of the I/O bits.
[0019] In the example of FIG. 2, the current control value is shown partitioned such that each of the lower 3 bits (ICNTL0-2) are either added (or subtracted) with corresponding ones of the three local bits b2-b0 stored in register device 23 of control block 24. As shown, ICNTL0 is added with local bit b0, ICNTL1 is added with local bit b1, and ICNTL2 is added with local bit b2. These bits are provided as inputs to adder/subtract circuit 20, which, in turn, outputs an adjusted or calibrated 7-bit value that is provided as an input to NAND gates 32. Note that the most significant upper four control value bits are simply added to zero; that is, they are basically unaffected unless a carry or borrow is generated by the addition of the least significant bits. Accordingly, the lower 3-bits of adder/subtract circuit 20 may be implemented as a full adder, and the upper 4-bits implemented as a half-adder to handle a carry.
[0020] Register device 23 may be implemented as 3-bit counter that either counts up or down, depending on the output of comparator 22. For example, device 23 would count up if the logic voltage at the output pad were greater than the reference voltage (e.g., the correction value output by comparator 22 is positive). A higher local value would produce a higher calibrated value provided to the logic circuitry comprising NAND gates 32 and inverters 33. On the other hand, device 23 would count down if the logic voltage at the output pad were lower than the reference voltage to produce a lower calibrated value.
[0021] Another alternative is to implement device 23 as an ordinary shift register. In that case, 1s would be shifted into the register in order to increase the sink current at the output pad, and 0s would be loaded into the register for the purpose of decreasing the sink current. Of course, device 23 may be implemented using other standard circuits.
[0022] In operation, the present invention takes the current control value contained in register 23 and adjusts the lower bit portion to produce a calibrated value. Each of the seven bits of the calibrated value is provided as a separate input to a corresponding gate 32, which performs a logical NAND function with a input data value. The output of each of the NAND gates 32a-32g is inverted (by corresponding logic elements 33a-33g) before being provided to the gates of corresponding FETs 34a-34g.
[0023] Practitioners familiar with the field of integrated circuits will appreciate that the bit field partitioning of particular implementations may vary. In cases where the voltage swing adjustment is relatively small, using the lower three bits provides adequate fine tuning control over current calibration. In other embodiments, fewer or more bits for the local value may be used.
[0024] In a standard open drain configuration, each of the field-effect transistors 34 has its drain connected directly to output node, i.e., pad, 35.
[0025] In accordance with the present invention, node 35 is coupled to one input of a comparator 22. The other input of comparator 22 is coupled to receive a reference voltage, V(REF), which represents an ideal logical low output voltage VOL of the chip. The function of comparator 22 therefore is to detect the offset or deviation in the logical voltage appearing at node 35 from the ideal reference voltage level. The output of comparator 22 is a correction value that indicates whether an increase or a decrease in current calibration is required.
[0026] In the embodiment of FIG. 2, the correction value provided by comparator 22 is coupled through AND gate 21 to register device 23. The other input of AND gate 21 is coupled to receive an enable input signal. The logic in this embodiment is controlled by a fine-tune enable signal. Once this signal is raised to a logically high level, the correction value output from comparator 22 is provided to add/subtract circuit 20. Thus, the enable signal effectively allows the pad voltage of a particular I/O cell to be compared with the ideal voltage low level. Other signals, such as a clocking signal, may also be used to gate or control the operation of block 24.
[0027] As discussed previously, the correction value output by comparator 22 causes the 3-bit local value stored in register device 23 to be either incremented or decremented. For instance, if the correction value has a negative polarity, indicating that VOL at node 35 is below VOL(REF), add/subtract circuit 20 will subtract a binary one from the 3-bit value (ICNTL0-2) input from register 31. For example, if the correction value is positive, meaning VOL at node 35 is above V(REF), the 3-bit local value may be incremented by a binary one. Because the contents of register device 23 is added/subtracted with the least significant bit portion of the control value stored in register 31, the logic voltage at node 35 is eventually corrected by feedback. In other words, the dynamic calibration scheme of the present invention fine-tunes the lower bit field by offsetting the original current control value stored in register 31.
[0028] It should be understood that comparator 22 is normally incorporated in the I/O cell on the integrated circuit such that the driver and the comparator are located close to each other. In doing so, transistor parameter variation is minimized.
[0029] Since comparator 22 may typically be implemented as an analog device, its output can also be used to indicate the magnitude of the adjustment needed to correct the voltage swing at the output pad. By way of example, an alternative embodiment may include an analog-to-digital (A/D) converter coupled to the output of comparator 22. The A/D converter would function to digitize the correction value provided by comparator 22. This digitized signal may be input directly to register device 23.
[0030] It is further appreciated that the reference voltage, representing the ideal logical low voltage, may be generated locally from any one of a number of ordinary bias circuits.
[0031] To better understand and appreciate the present invention, consider the following example. Assume that register 31 contains the binary value 1111100, and that register 23 contains the local value 000, Further assume that these values results in a VOL at output pad 35 that is higher than the required VOL. In this case, the three least significant bits output by add/subtract circuit 20 are the binary value 100. Since the VOL at output pad 35 is too high, comparator 22 produces a positive correction value indicative of the required offset. This correction value causes register device to increase its value, say, to the binary value 001 or 010. The calibrated value is therefore increased, resulting in increased current sinking capability at node 35 through transistors 34. The increased current flow acts to lower VOL, bringing it down to the required level. Depending on the particular implementation of control block 24, the process may continue iteratively until the logic voltage at the output pad is substantially equal to the reference voltage (e.g., less than one-half a LSB), or it may complete in one or more cycles.
[0032] Thus, the present invention provides local fine tune capability to each of the I/O drivers on an integrated circuit. This enables each I/O driver to be set to optimal drive strength, with each I/O cell performing its own local calibration concurrently. Moreover, fine-tuning by bit offset in accordance with the present invention can be achieved in a minimum number of adjustment cycles. This is because the methodology starts with a global current control value and only performs a minor adjustment on the lower bit field, as necessary.
[0033]
FIG. 3 is an alternative embodiment of the present invention in which the upper circuitry, consisting of register 31, logic gates 32 & 33, and parallel-coupled FETs 34, represents the standard driver circuitry discussed earlier. Modification cell 40 comprises additional circuitry that may be incorporated into each I/O cell to dynamic current calibration to offset process variations across the chip. In this embodiment, comparator 42 drives control block 41, which, in turn, delivers a 4-bit output, with each bit being coupled to an input of a corresponding NAND logic gate 42. The other input of the NAND gates is coupled to the data input of the upper half of the diagram. The output of each of NAND gates 42 is coupled to a corresponding FET 44 through an inverter 43. For instance, NAND gate 42a is coupled to FET 44a through inverter 43a, and so on. The drain outputs of the additional FETs 44 are coupled to the output pad (i.e., node 35) and their sources are grounded.
[0034] Control block 41 of FIG. 3 may comprise the same logic elements as block 24 of FIG. 2; in this case, a 4-bit register device (e.g., a counter or shift register) and an AND gate to control operations with an external enable signal, clocking signals, etc. Thus, this alternative embodiment obviates the need for add/subtract circuit 20.
[0035] In operation, the 4-bit local value is either increased or decreased to effectively enable or disable one or more of additional FETs 44. An example is described in conjunction with the flow diagram of FIG. 4. To begin, control block 41 may store a default 4-bit local value that result in FETs 44a & 44b being turned-on (i.e., conducting), and FETs 44c & 44d being turned-off (non-conducting). With this default setting applied to all of the I/O cells on the chip, the global current control value may be set according to the conventional practice of using a single I/O cell to set the value stored in register 31. This completes the coarse calibration process.
[0036] To dynamically fine-tune each of the driver cells, comparator 42 compares the logic voltage at an individual I/O cell against the reference voltage. If the pad voltage is higher than the reference voltage, this means that the sink current of the cell is insufficient. Control block 41 may respond by enabling one or both of the additional transistors 44c and 44d in order to sink more current at the output pad (node 35). On the other hand, if the pad voltage is lower than the reference voltage, control block 41 may respond by disabling one or both of the additional transistors 44a and 44b in order to sink less current at node 35. If performed iteratively, this process continues until the logic voltage at node 35 is substantially equal to the reference voltage.
[0037] It is worth repeating that the modification cell 40 is incorporated into every driver cell associated with every I/O pad on the integrated circuit, including the one used for global calibration. The control block functions to either turn on or turn off the additional transistors 44 depending on whether it is required to sink more or less current to achieve the desired logic voltage swing at the output pad. As discussed previously, control block 41 may be implemented as an ordinary counter, register, shift register, etc.
[0038] Thus, the present invention provides local fine tune capability to each of the I/O drivers on an integrated circuit. This enables each I/O driver to be set to optimal drive strength, with each I/O cell performing its own local calibration concurrently. Moreover, fine-tuning by bit offset in accordance with the present invention can be achieved in a minimum number of adjustment cycles. This is because the methodology starts with a global current control value and only performs a minor adjustment on the lower bit field, as necessary.
[0039] While the present invention has been described in accordance with a particular embodiment, it is appreciated that it is also useful in a variety of different applications. That is, the methodology of the present invention can apply to any open drain current sink driver design.
Claims
- 1. A circuit for driving a logic voltage at an output pad of an integrated circuit, comprising:
an adder having K bits to add a K-bit control value to a local value, the adder producing a K-bit calibrated value; K field-effect transistors (FETs), the drain of each FET being coupled to the output pad; logic circuitry to perform a logical-AND function between a data input and the K-bit calibrated value, the logic circuitry providing a K-bit output with each of the K output bits being coupled to the gate of a corresponding one of the FETs; a comparator to produce a correction value from a comparison of the logic voltage at the output pad and a reference voltage; and a control unit to set a least significant bit (LSB) portion of the local value responsive to the correction value so as to make the logic voltage at the output pad in the reference voltage substantially equal.
- 2. The circuit of claim 1 wherein the LSB portion of the local value comprises an N-bit value, and a most significant bit (MSB) portion comprises a M-bit value, where M and N are integers and M+N=K.
- 3. The circuit of claim 2 wherein the M-bit value is equal to zero.
- 4. The circuit of claim 1 wherein the logic voltage at the output pad comprises a VOL voltage and the reference voltage comprises an ideal VOL voltage.
- 5. The circuit of claim 2 wherein N=3 and M=4.
- 6. The circuit of claim 2 wherein the control unit comprises a counter that is driven by the correction value.
- 7. The circuit of claim 2 wherein the control unit comprises a shift register that is driven by the correction value.
- 8. The circuit of claim 6 further comprising:
gating logic to gate the correction value with a control signal.
- 9. The circuit of claim 7 further comprising:
gating logic to gate the correction value with a control signal.
- 10. The circuit of claim 1 further comprising an analog-to-digital converter to digitize the correction value.
- 11. The circuit of claim 8 wherein the gating logic comprises an AND gate having one input coupled to receive the correction value from the comparator and another input coupled to an enable signal, the output of the AND gate being coupled to the counter.
- 12. The circuit of claim 9 wherein the gating logic comprises an AND gate having one input coupled to receive the correction value from the comparator and another input coupled to an enable signal, the output of the AND gate being coupled to the shift register.
- 13. A driver circuit for driving a logic voltage at an output pad of an integrated circuit, comprising:
logic circuitry to logically-AND a data input with a K-bit control value, the logic circuitry providing an output value having K bits; K field-effect transistors (FETs), the gate of each FET being driven by a corresponding one of the K bits of the output value, and the drain of each FET being coupled to the output pad; a calibration circuit that includes:
a control unit; and N additional FETs coupled in parallel to the output pad, the conductivity of the N additional FETs being controlled by the control unit, which functions to increase or decrease a sink current at the output pad so as to make the logic voltage and a reference voltage substantially equal.
- 14. The driver circuit of claim 13 wherein the calibration circuit further includes:
a comparator to produce a correction value from a comparison of the logic voltage at the output pad and a reference voltage; a register device to store a local value having N-bits; additional logic to AND the data input with the N-bit local value, the logic circuitry providing a calibrated output having N bits, with each of the N bits being coupled to the gate of a corresponding one of the additional FETs; and wherein the local value is set responsive to the correction value so as to make the logic voltage and the reference voltage substantially equal.
- 15. The driver circuit of claim 14 wherein the register device comprises a counter.
- 16. The driver circuit of claim 14 wherein the register device comprises a shift register.
- 17. The circuit of claim 13 wherein the logic voltage at the output pad comprises a VOL voltage and the reference voltage comprises an ideal VOL voltage.
- 18. The circuit of claim 13 wherein N=3 and K=7.
- 19. The circuit of claim 6 further comprising gating logic to gate the correction value with a control signal.
- 20. A method for current calibration of I/O cells of an integrated circuit (IC) comprising:
setting a global control value provided to the I/O cells; then, for each I/O cell: comparing the logic voltage at the output pad of the I/O cell with a reference voltage; sinking more current at the output pad by enabling additional driver bits associated with the I/O cell if the logic voltage is higher than the reference voltage; or sinking less current at the output pad by disabling additional driver bits associated with the I/O cell if the logic voltage is lower than the reference voltage.
- 21. The method of claim 20 wherein the sinking of more or less current continues until the logic voltage at the pad and the reference voltage are substantially equal.
- 22. The method of claim 20 wherein the enabling/disabling of the additional driver bits is accomplished by modifying a local value stored in a register device associated with the I/O cell depending on the comparison of the logic voltage and the reference voltage.
- 23. The method of claim 22 wherein the local value is modified by shifting 1s or 0s into the register device.
- 24. The method of claim 20 wherein register device is a counter and the local value is modified by incrementing or decrementing the local value.