Background of the Invention
1. Field of the Invention
The present invention relates to voltage drivers, and more particularly to a MOSFET driver for interfacing a digital circuit to a bus subject to overvoltage conditions.
2. Description of Related Art
Input/output ("I/O") circuits are commonly used to interface digital circuits to a common bus. FIG. 1 shows a typical I/O circuit 100 that includes a pullup/pulldown circuit 110, an input buffer 176 comprising inverters 172 and 174 for furnishing signals from the bus to a digital circuit, an enable circuit 130 responsive to an enable signal on terminal 104 for placing the pullup/pulldown circuit 110 in a high impedance state or for controlling the operation of pullup/pulldown circuit 110 in accordance with the logic state of a signal on the data input terminal 105, and I/O terminal 170 which connects to the bus.
Pullup/pulldown circuit 110 includes P-channel MOSFET 111 having a gate connected to the enable circuit 130, a source connected to V.sub.dd voltage Supply rail 120, a drain connected to I/O terminal 170, and a body connected to V.sub.dd rail 120. Pullup/pulldown circuit 110 also includes N-channel MOSFET 112 having a gate connected to the enable circuit 130, a drain connected to the I/O terminal 170, a source connected to ground rail 140, and a body connected to ground rail 140.
When the enable signal EN is HIGH, I/O circuit 100 is in output mode. NAND gate 103 and NOR gate 102 apply the inverse of the logic state of signal DATA.sub.-- IN to the gate of MOSFET 111 and to the gate of MOSFET 112. When the input signal DATA.sub.-- IN is HIGH, MOSFET 111 is ON to maintain a current path between V.sub.dd rail 120 and I/O terminal 170 to drive the data bus HIGH, while MOSFET 112 is OFF to isolate the I/O terminal 170 from the ground rail 140. Alternatively, when DATA.sub.-- IN is LOW, MOSFET 111 is OFF to isolate V.sub.dd rail 120 from I/O terminal 170, while MOSFET 112 is ON to maintain a current path between the I/O terminal 170 and the ground rail 140 to pull the data bus LOW.
When EN is LOW, the I/O circuit 100 is in a high impedance mode. NAND gate 103 applies a HIGH voltage to the gate of MOSFET 111, and NOR gate 102 applies a LOW voltage to the gate of MOSFET 112. MOSFET 111 is OFF to isolate the V.sub.dd rail 120 from I/O terminal 170, and MOSFET 112 is OFF to isolate I/O terminal 170 from ground rail 140. The pullup/pulldown circuit 110 is therefore in a high impedance state so that logic signals present on I/O terminal 170 are furnished to terminal 178, unaffected by the DATA.sub.-- IN signal on terminal 105.
With the development of 3.3 volt logic circuits, interfacing 3.3 volt and 5.0 volt circuits on the same bus became desirable. Unfortunately, interfacing 3.3 volt digital circuits using the conventional I/O circuit shown in FIG. 1 to a bus driven by a 5.0 volt digital circuit results in current leakage from the 5.0 volt data bus through the channel region and the parasitic drain-body and source-body junction diodes of MOSFET 111 into V.sub.dd rail 120. While the amount of the leakage current is process and device dependant, the leakage is undesirable for a number of reasons. Leakage increases power consumption, leads to the generation of excessive heat which reduces integrated circuit reliability, and if excessive, significantly loads the 5.0 volt bus which reduces the noise margin.
Summary of the Invention
In accordance with the present invention, the output of a low voltage circuit is interfaced to a conductor having low, high, or mixed low and high voltage signals thereon without introducing current leakage. Reduced power consumption and heat generation, as well as improved noise margins, are realized.
These and other advantages are realized in the present invention, which in one embodiment is an output driver which comprises a pullup circuit for providing a field effect controlled current path. A backgate voltage circuit is provided for furnishing an output substantially equal to the voltage on the output terminal when the voltage on an output terminal exceeds a source voltage, and otherwise for furnishing the source voltage at its output. A gate voltage circuit is provided for gating the current path in conjunction with the backgate voltage so that the current path is established in a first control state, and the current path and leakage therethrough are suppressed in a second control state. Further embodiments include one transistor and two transistor current paths.
Brief Description of the Drawings
FIG. 1 is a transistor level schematic diagram of a conventional I/O circuit of the prior art.
FIG. 2 is a block level schematic diagram of an I/O circuit in accordance with the present invention.
FIG. 3 is a transistor level schematic diagram of an embodiment of the I/O circuit shown in FIG. 2.
FIG. 4 is a transistor level schematic diagram of another embodiment of the I/O circuit shown in FIG. 2.
FIG. 5 is a block level schematic diagram of an application for a low leakage driver in accordance with the present invention.
FIG. 6 is a block level schematic diagram of another application of a low leakage driver in accordance with the present invention.
FIG. 7 is a transistor level schematic diagram of a general representation of transistors 351 and 451 shown in FIGS. 3 and 4.
Detailed Description of the Preferred Embodiments
FIG. 2 shows an I/O circuit 200 which interfaces the output of a 3.3 volt digital circuit (not shown) connected to the digital logic signal LOGIC.sub.-- IN input terminal 205 to a mixed 3.3/5.0 volt digital logic bus (not shown). Illustratively, the digital logic bus may be a data bus or an address bus. I/O circuit 200 includes an enable signal EN terminal 204 and a logic signal LOGIC.sub.-- IN input terminal 205, control circuit 210, pullup circuit 230, pulldown circuit 240, backgate voltage generator 250, and I/O terminal 270.
When enabled by signal EN at terminal 204, the I/O circuit 200 is in output mode and provides a current path between the output terminal 270 and the 3.3-volt V.sub.dd rail 280 for one logic state of the input signal LOGIC.sub.-- IN, and provides a current path between the output terminal 270 and a reference rail 290, typically a ground rail, for the other logic state of LOGIC.sub.-- IN. When disabled by signal EN, the I/O circuit 200 is in high impedance mode and isolates the output terminal 270 from the V.sub.dd rail 280 and ground rail 290, thereby presenting a high impedance to any digital signals, including both 3.3 volt and 5.0 volt digital signals, present on the bus. The value of the impedance is process and device dependent, but illustratively is on the order of 1 Megaohm or greater.
Illustratively, control circuit 210 functions as follows in output mode. In response to LOGIC.sub.-- IN equals logical ONE, for example, the control circuit 210 generates signals to activate pullup circuit 230 and to deactivate pulldown circuit 240. While activated, pullup circuit 230 provides a current path between the V.sub.dd rail 280 and the I/O terminal 270 to drive the bus HIGH. While deactivated, pulldown circuit 240 isolates the I/O terminal 270 from the ground rail 290. In response to LOGIC.sub.-- IN equal logical ZERO, for example, the control circuit 210 generates signals to deactivate pullup circuit 230 and to activate pulldown circuit 240. While activated, pulldown circuit 240 provides a current path between the I/O terminal 270 and the ground rail 290 to pull the bus LOW. While deactivated, pullup circuit 230 isolates the I/O terminal 270 from the V.sub.dd rail 280.
Control circuit 210 functions in high impedance mode to generate signals to deactivate both pullup circuit 230 and pulldown circuit 240, thereby isolating the I/O terminal 270 from both the V.sub.dd rail 280 and the ground rail 290.
The pullup circuit 230 is an output driver which includes a field effect controlled current path having one or more MOSFETs. These MOSFETs are dynamically backgated to suppress leakage current through pullup circuit 230. The backgate voltage generator 250 furnishes the dynamically varying backgate voltage to one or more MOSFETs in the pullup circuit 230. The backgate voltage generator 250 compares the voltage on the I/O terminal 270 to V.sub.dd, and provides the greater voltage on a protect line 253. The voltage on the protect line 253 is applied to backgate the MOSFET or MOSFETs of pullup circuit 230 to prevent current leakage from I/O terminal 270 to the V.sub.dd rail 280 through pullup circuit 230.
The pulldown circuit 240 includes a field effect controlled current path having one or more MOSFETs.
Advantageously, the field effect controlled current paths in the pullup circuit 230 and the pulldown circuit 240 are capable of driving CMOS logic devices as well as devices of other logic families. Since the inputs to CMOS devices are insulated gates, CMOS logic devices and the bus to which they are connected present a primarily capacitive load on the order of about 10 to 200 picofarads. When I/O circuit 200 drives this load, little driving current need flow through I/O terminal 270 except during switching. Thus, although influenced by fanout, the power dissipated by pullup and pulldown circuits 230 and 240 is generally low, and circuits 230 and 240 may be implemented with low output sourcing and sinking current capabilities, respectively. When driving loads of other logic families, for example TTL, pullup circuit 230 supplies a significant amount of current when the data signal is HIGH, while pulldown circuit 240 sinks a significant amount of current when the data signal is LOW. Pullup and pulldown circuits 230 and 240 should, therefore, be implemented with sufficient output sourcing or sinking current capabilities.
An embodiment of the I/O circuit 200 is shown in FIG. 3. Enable circuit 310, gate voltage generator 320, and comparator 360 collectively implement control circuit 210. A single P-channel enhancement-type MOSFET transistor 330 implements the pullup circuit 230. N-channel enhancement-type MOSFET transistor 340 implements pulldown circuit 240. Comparator 350 implements backgate voltage generator 250. Enable input terminal 315 corresponds to enable input terminal 204, data input terminal 316 corresponds to logic input terminal 205, and I/O terminal 370 corresponds to I/O terminal 270. An input buffer 373 includes inverters 371 and 372. Transistors 321, 330, 351, 352, 361, 362, and 363 are P-channel enhancement-mode MOSFETs (metal-oxide field-effect transistor), while transistors 322 and 340 are N-channel enhancement-mode MOSFETs.
Enable circuit 310 incorporates 3.3 volt CMOS circuitry and includes inverters 311, 312, 313 and 317, NAND gate 314, and NOR gate 318. When enable signal EN is HIGH at terminal 315, circuit 300 is in output mode. NAND gate 314, which receives signals EN and LOGIC.sub.-- IN, in effect furnishes through inverter 317 a signal having a state equal to LOGIC.sub.-- IN to gate voltage generator 320 at node 325. NOR gate 318, which receives the complement of EN from inverter 311 and LOGIC.sub.-- IN from inverters 312 and 313, in effect applies the complement of LOGIC.sub.-- IN to the gate of transistor 340. When signal EN is LOW, circuit 300 is in high impedance mode. NAND gate 314, which receives signals EN and LOGIC.sub.-- IN, in effect blocks signal LOGIC.sub.-- IN and applies a logic ZERO to gate voltage generator 320 at node 325 through inverter 317. NOR gate 318, which receives the complement of EN from inverter 311 and LOGIC.sub.-- IN from inverters 312 and 313, in effect blocks signal LOGIC.sub.-- IN and applies a logic ZERO to the gate of transistor 340.
Comparator 360 includes P-channel transistors 361, 362, and 363. Comparator 360 compares V.sub.dd from rail 380 with the voltage on I/O terminal 370 and selects the larger voltage for application to the gate voltage generator 320. Transistor 361 has a gate connected to I/O terminal 370, a source connected to V.sub.dd rail 380, and a drain connected to node 364. Transistor 362 has a gate connected to V.sub.dd rail 380, a source connected to I/O terminal 370, and a drain connected to node 364. Diode-connected transistor 363 has a source connected to V.sub.dd rail 380, and a gate and drain connected to each other and to node 364.
If V.sub.bus =5 volts, the voltage on I/O terminal 370 is substantially more positive than V.sub.dd. Transistor 361 is OFF and transistor 362 is ON. Transistor 362 applies the voltage on I/O terminal 370 to node 364 so that approximately V.sub.bus is maintained on node 364. If V.sub.bus =0 volts, the voltage on I/O terminal 370 is substantially more negative than V.sub.dd rail 380. Transistor 362 is OFF and transistor 361 is ON. Transistor 361 applies V.sub.dd rail 380 to node 364 so that approximately V.sub.dd is maintained on node 364. If the voltage on I/O terminal 370 is substantially equal to V.sub.dd, transistors 361 and 362 are OFF. In summary, comparator 360 ensures that approximately V.sub.dd or V.sub.bus, whichever is larger, is maintained at node 364.
The diode connected transistor 363 is effective during a high to low transistion on I/O terminal 370 when circuit 310 is enabled. When I/O terminal 370 is being driven by 3.3 volts from the V.sub.dd rail 380, the gate of transistor 330 is zero volts. To turn transistor 330 off, its gate should be raised to 3.3 volts. But because charge is shared between node 364 and the gate of transistor 330 when transistor 321 turns on, transistor 363 turns on and maintains node 364 at one diode drop below V.sub.dd. Node 364 remains at one diode drop below V.sub.dd until I/O terminal 370 reaches one diode drop below V.sub.dd, at which time transistor 361 turns on and pulls node 364 up to V.sub.dd. Note that if desired, transistor 363 could be omitted by appropriately sizing transistors 361 and 362 larger.
Gate voltage generator 320 includes P-channel transistor 321 and N-channel transistor 322. The output of gate voltage generator 320 is the commonly connected drains of transistors 321 and 322. Node 325, the input of gate voltage generator 320, is the commonly connected gates of transistors 321 and 322. Transistor 321 has a source connected to node 364 of comparator 360. Transistor 322 has a source connected to ground rail 390.
Node 325 is LOW when circuit 300 is in high impedance mode (EN LOW). In response, transistor 322 is OFF and transistor 321 is ON, so that the voltage on node 364 is applied to the gate of transistor 330 to turn it OFF. Thus, when V.sub.bus =5 volts, approximately 5 volts is applied to the gate of transistor 330, both turning transistor 330 OFF and ensuring that the bus is well isolated from V.sub.dd rail 380. When V.sub.bus =3.3 volts or 0 volts, transistor 321 applies the voltage on node 364, which is V.sub.dd, to the gate of transistor 330, both turning transistor 330 OFF and ensuring that the bus is well isolated from V.sub.dd rail 380.
Node 325 receives from enable circuit 310 a signal corresponding to the logic state of LOGIC.sub.-- IN when circuit 300 is in output mode (EN HIGH). When LOGIC.sub.-- IN is HIGH, node 325 is HIGH. In response, transistor 322 is ON and transistor 321 is OFF, thereby applying ground potential from rail 390 to the gate of transistor 330 to turn it ON. Alternatively, when LOGIC.sub.-- IN is LOW, node 325 is LOW. In response, transistor 321 is ON and transistor 322 is OFF, thereby applying the voltage on node 364 to the gate of transistor 330 to turn it OFF.
Transistor 330 has a gate connected to the output of gate voltage generator 320, a source connected to V.sub.dd rail 380, and a drain connected to I/O terminal 370. When circuit 300 is in output mode, transistor 330 has either 0 or 3.3 volts applied to its gate and is backgated by 3.3 volts. Transistor 330 responds to 0 volts at its gate by turning ON to establish a current path between V.sub.dd rail 380 and I/O terminal 370 to drive the bus HIGH. Transistor 330 responds to 3.3 volts on its gate by turning completely OFF to isolate I/O terminal 370 from the V.sub.dd rail 380. When circuit 300 is in high impedance mode, transistor 330 has the voltage on node 364 applied to its gate and a voltage substantially equal to the voltage on node 364 applied to its backgate by the backgate voltage generator 350. Hence, transistor 330 turns completely OFF to isolate I/O terminal 370 from the V.sub.dd rail 380, and is appropriately biased to minimize leakage from I/O terminal 370 to V.sub.dd rail 380 via the parasitic diode or channel of transistor 330.
Transistor 340 has a gate connected to NOR gate 318, a source connected to the ground rail 390, a drain connected to the I/O terminal 370, and a backgate at ground potential. When circuit 300 is in output mode, NOR gate 318 applies a signal corresponding to the complement of LOGIC.sub.-- IN to the gate of transistor 340, which is accordingly either ON or OFF. When LOGIC.sub.-- IN is LOW, transistor 340 is ON to establish a current path from I/O terminal 370 to ground rail 390 for pulling down the I/O terminal 370. When LOGIC.sub.-- IN is HIGH, transistor 340 is OFF to isolate I/O terminal 370 from ground rail 390. When circuit 300 is in high impedance mode, NOR gate 318 applies a LOW logic state to the gate of transistor 340, ensuring that transistor 340 remains OFF to provide isolation between I/O terminal 370 and ground 390.
Comparator 350 includes transistors 351 and 352 and protect line 353. Comparator 350 compares V.sub.dd rail 380 to any voltage on I/O terminal 370, and furnishes the larger voltage to protect line 353. Protect line 353 applies the selected larger voltage to the N-conductivity type bodies, also referred to as backgates, of P-channel MOSFETs 321, 330, 351, 352, 361, 362, and 363. Transistor 351 has a gate connected to V.sub.dd rail 380, a source connected to I/O terminal 370, and a drain connected to protect line 353. Transistor 352 has a gate connected to I/O terminal 370, a source connected to V.sub.dd rail 380, and a drain connected to protect line 353.
Transistor 351 is connected in a manner for establishing the appropriate backgate voltage on protect line 353. Generally, the voltage on the protect line 353 is either voltage V.sub.dd or greater. The voltage on the I/O terminal 370 can be less than, equal to, or greater than V.sub.dd. When the voltage on I/O terminal 370 is less than V.sub.dd and the voltage on the protect line 353 is V.sub.dd, transistor 351 is OFF to maintain the voltage on protect line 353 at V.sub.dd. If the voltage on the protect line is greater that V.sub.dd, both transistors 351 and 352 turn ON to discharge the protect line 353 down to V.sub.dd. When the voltage on the I/O terminal 370 and on the protect line 353 are approximately equal to V.sub.dd, transistors 351 and 352 are OFF, and approximately V.sub.dd is maintained on protect line 353. When the voltage on I/O terminal 370 is greater than V.sub.dd, as when the bus is driven by 5.0 volt logic, transistor 351 is ON and transistor 352 is OFF. As a result, the protect line 353 is raised to the potential of the voltage on the I/O terminal 370.
Transistor 352 is particularly effective in two circumstances. During power up with the voltage on the I/O terminal 370 at zero volts, transistor 352 allows the protect line 353 to follow the voltage on V.sub.dd rail 380. When the voltage on the I/O terminal 370 is in a falling transition from 5 volts, transistor 352 maintains the protect line 353 at the potential of the V.sub.dd rail 380, despite charge pump action.
Comparator 350 backgates the N-type bodies of P-channel MOSFETs 321, 330, 351, 352, 361, 362, and 363 via protect line 353 using the selected larger voltage of V.sub.dd 380 or I/O terminal 370. Backgating with the protect line 353 insures that the inherent parasitic source-body and drain-body junction diodes of MOSFETs 321, 330, 351, 352, 361, 362, and 363 are reverse-biased, thereby preventing source-body and drain-body leakage current when the bus is active HIGH. Moreover, in high impedance mode of the circuit 300, the isolation of the V.sub.dd rail 380 from an active HIGH bus results from backgating appropriate ones of the P-channel MOSFET transistors, including transistors such as transistor 330 in the pullup current path, with the larger of V.sub.bus or V.sub.dd.
The backgating technique used in circuit 300 is further advantageous when the circuit 300 is powered-down. When V.sub.dd rail 380 is powered down and an external driver drives the bus HIGH, comparator 350 continues to backgate P-channel MOSFETs 321, 330, 351, 352, 361, 362, and 363 with V.sub.bus applied through the I/O terminal 370. Comparator 360 applies V.sub.bus through transistor 362 to gate voltage generator 320 which, in turn, applies V.sub.bus through transistor 321 to the gate of transistor 330. As transistor 330 is gated and backgated by V.sub.bus, it is OFF. Therefore, circuit 300 substantially eliminates current leakage from the bus to the powered-down V.sub.dd rail 380 via I/O terminal 370. While the actual current leakage is process and device dependent, illustratively, when V.sub.bus =5.0 volt, the leakage current in the powered-up or powered-down mode is approximately 0.1 nanoamperes for an I/O circuit designed for four milliampere DC operation.
Another embodiment of I/O circuit 200 is shown in FIG. 4. Enable circuit 410 and gate voltage generator 420 implement control circuit 210. P-channel enhancement-mode MOSFET transistors 430 and 435 implement pullup circuit 230. N-channel enhancement-mode MOSFET transistor 440 implements pulldown circuit 240. Comparator 450 implements backgate voltage generator 250. Enable signal input terminal 415 corresponds to enable input terminal 204, and data input terminal 416 corresponds to logic input terminal 205. I/O terminal 470 corresponds to I/O terminal 270. Input buffer 474 includes inverters 471 and 472. Transistors 421, 430, 435, 451, and 452 are P-channel enhancement-mode MOSFETs, and transistors 422 and 440 are N-channel enhancement-mode MOSFETs.
Enable circuit 410 incorporates 3.3 volt CMOS circuitry and includes inverters 412 and 413, NAND gate 411, and NOR gate 414. When enable signal EN is HIGH at terminal 415, circuit 400 is in output mode. NAND gate 411, which receives signals EN and LOGIC.sub.-- IN, in effect furnishes a signal having a state equal to the complement of LOGIC.sub.-- IN to the gate of transistor 435, which controls the ON/OFF state of transistor 435. NOR gate 414, which receives the complement of EN from inverter 412 and LOGIC.sub.-- IN from terminal 416, in effect applies a signal equal to the complement of LOGIC.sub.-- IN to the gate of transistor 440, which controls the ON/OFF state of transistor 440. When enable signal EN is LOW, circuit 400 is in high impedance mode. NAND gate 411, which receives signals EN and LOGIC.sub.-- IN, in effect blocks signal LOGIC.sub.-- IN and applies V.sub.dd to the gate of transistor 435, which turns transistor 435 OFF unless an overvoltage condition occurs on the bus. NOR gate 414, which receives the complement of EN from inverter 412 and LOGIC.sub.-- IN from terminal 416, in effect blocks signal LOGIC.sub.-- IN and applies a ground potential to the gate of transistor 440, which turns transistor 440 OFF.
Gate voltage generator 420 includes P-channel transistor 421 and N-channel transistor 422. The output of gate voltage generator 420 is the commonly connected drains of transistors 421 and 422. Node 425, the input of gate voltage generator 420, is the commonly connected gates of transistors 421 and 422. Transistor 421 has a source connected to the I/O terminal 470. Transistor 422 has a source connected to ground rail 490. Gate voltage generator 420 controls the gate voltage of pullup transistor 430, which has a gate connected to the output of gate voltage generator 420, a source connected to V.sub.dd rail 480, and a drain connected to the source of transistor 435, and is backgated by the output of the backgate voltage generator 450 on protect line 453.
Node 425 is LOW when circuit 400 is in high impedance mode (EN LOW). Transistor 422 is OFF and transistor 421 is ON or OFF depending on V.sub.bus. When V.sub.bus is overvoltage HIGH, illustratively 5 volts, transistor 421 is ON and applies approximately 5 volts to the gate of transistor 430, which is also backgated by 5 volts. Transistor 430 turns OFF, and prevents any current from flowing in the current path between the V.sub.dd rail 480 and the I/O terminal 470. Note that although transistor 435 is gated by 3.3 volts and backgated by 5 volts, current does not flow through transistor 435 because transistor 430 is OFF. When V.sub.bus is HIGH, illustratively 3.3 volts, transistor 421 is ON and applies approximately 3.3 volts to the gate of transistor 430, which also is backgated by 3.3 volts. Transistor 430 turns OFF, and prevents any current from flowing in the current path between the V.sub.dd rail 480 and the I/O terminal 470. When V.sub.bus is LOW, illustratively 0 volts, transistor 421 turns ON in the direction of I/O terminal 470 until the V.sub.gate of transistor 430 is less than or equal to V.sub.T, at which point transistor 421 is cutoff. As transistor 421 discharges the gate of transistor 430, transistor 430 turns ON. Nonetheless, current does not flow between the V.sub.dd rail 480 and the I/O terminal 470, since transistor 435 is OFF.
Node 425 is HIGH when I/O circuit 400 is in output mode (EN HIGH). In response, transistor 422 is ON and transistor 421 is OFF, so that the gate of transistor 430 is grounded. Because transistor 430 is backgated by 3.3 volts, it is always ON, and conduction in the current path between V.sub.dd rail 480 and I/O terminal 470 depends on the state of conduction of transistor 435.
Transistor 435 has a gate connected to NAND gate 411, a source connected to the drain of transistor 430, and a drain connected to I/O terminal 470. When I/O circuit 400 is in output mode, transistor 435 is either ON or OFF in accordance with the logic state of LOGIC.sub.-- IN. When LOGIC.sub.-- IN is logical ONE, transistor 435 is ON. When LOGIC.sub.-- IN is logical ZERO, transistor 435 is OFF. When circuit 400 is in high impedance mode (EN LOW), V.sub.dd is applied to the gate of transistor 435. When the voltage on I/O terminal 470 is less than V.sub.dd, transistor 435 is OFF. However, when the voltage on I/O terminal 470 is greater than V.sub.dd, illustratively 5 volts, transistor 435 is ON. However, in this event transistor 430 blocks the current path between transistor 435 and the V.sub.dd rail 480.
Transistor 440 has a gate connected to NOR gate 414, a source connected to the ground rail 490, a drain connected to the I/O terminal 470, and a grounded backgate. When I/O circuit 400 is in output mode, NOR gate 414 applies a signal corresponding to the inverse of LOGIC.sub.-- IN to the gate of transistor 440. Transistor 440 is either ON or OFF in accordance with the state of LOGIC.sub.-- IN. When LOGIC.sub.-- IN is logical ZERO, transistor 440 is ON. When LOGIC.sub.-- IN is logical ONE, transistor 435 is OFF. When circuit 400 is in high impedance mode, NOR gate 414 applies ground potential to the gate of transistor 440 to turn it OFF, thereby isolating I/O terminal 470 and ground rail 490.
Comparator 450 is identical to comparator 350 of FIG. 3, and includes transistors 451 and 452 and protect line 453, which function identically to transistors 351 and 352 and protect line 353, respectively. Comparator 450 compares V.sub.dd on rail 480 with the voltage on I/O terminal 470 and furnishes the larger voltage to protect line 453. Protect line 453 applies the selected larger voltage to the N-type bodies, also referred to as backgates, of P-channel MOSFET transistors 421, 430, 435, 451, and 452.
When circuit 400 is in high impedance mode, the isolation of V.sub.dd 480 from an active HIGH bus results from backgating P-channel MOSFET transistors 421, 430, 435, 451, and 452 and gating transistor 430 with the larger of V.sub.dd or V.sub.bus. Additionally, although the foregoing illustrative embodiment describes the isolation of V.sub.dd 480 during its powered-up mode, isolation of V.sub.dd 480 during its powered-down mode also occurs. When V.sub.dd 480 is powered down and an external driver drives the bus HIGH, comparator 450 continues to backgate P-channel MOSFETs 421, 430, 435, 451, and 452 with V.sub.bus, applied through the I/O terminal 470. Further, gate voltage generator 420 applies V.sub.bus to the gate of transistor 430. As transistor 430 is gated and backgated by V.sub.bus, it is OFF. Therefore, circuit 400 substantially eliminates current leakage from the bus to the powered-down V.sub.dd rail 480. While actual current leakage is process and device dependent, illustratively, when V.sub.bus =5.0 volt, the leakage current in the powered-up or powered-down mode is approximately 0.1 nanoamperes for an I/O circuit designed for four milliampere DC operation.
Although the various embodiments of pullup circuit 230 and associated gating and backgating circuits described in the contexts of FIGS. 3 and 4 are particularly suitable for used in conjunction with digital buses, they are more broadly useful for driving any conductor or bus with a particular supply voltage, and are particularly useful for driving a conductor or bus subject to overvoltage from other devices and circuits with a particular supply voltage. The conductor or line 510 of FIG. 5, for example, is connected to respective moderate to high impedance nodes within illustrative circuits 540 and 550. A low leakage driver 530 drives 3.3 volts from supply rail 520 onto line 510 when signal DRIVE is asserted on control input 522, and otherwise isolates the line 510 from supply rail 520.
The low leakage driver 530 includes a current path, at least part of which is the channel of at least one field effect transistor, and may be implemented in a subset of the circuits of either FIGS. 3 or 4. In one embodiment, the current path of the low leakage driver 530 is implemented by P-channel MOSFET 330 of FIG. 3, with the backgate voltage being furnished by the circuit comprising transistors 351 and 352 and protect line 353, and the gate voltage being furnished by the circuit comprising transistors 321, 322, 361, 362, and 363, and node 364. In another embodiment, the current path of the low leakage driver 530 is implemented by P-channel MOSFETs 430 and 435 of FIG. 4, with the backgate voltage being furnished by the circuit comprising transistors 451 and 452 and protect line 453, and the gate voltage being furnished by the circuit comprising transistors 421 and 422.
Another application is shown in FIG. 6. The line 510, to which circuits 540 and 550 are connected, is normally pulled up to five volts by supply rail 620 through any suitable weak pullup circuit 630, such as a high value resistor. Despite the presence of five volts on the line 510, no significant leakage occurs through the low leakage driver 530, and five volts is available to the circuits 540 and 550. When signal DRIVE is asserted on the control input 522, the low leakage driver 530 drives a voltage of 3.3 volts from supply rail 520 onto line 510, overpowering the weak pullup circuit 630 and supplying 3.3 volts to the circuits 540 and 550.
FIG. 7 is a general representation of transistors 351 and 451. P-channel MOSFET 751 has a gate connected to terminal 780 furnishing a fixed voltage, a drain connected to a varying voltage terminal 770, and a source connected to a protect line 753. Transistor 751 is backgated by protect line 753, which provides backgating voltage to a number of P-channel transistors. Note that source and drain are used somewhat arbitrarily, since the roles of these current terminals are reversed depending on the relation of the voltages on lines 753 and 770. Provided the varying voltage on terminal 770 is less than the fixed voltage from terminal 780, transistor 751 maintains the protect line 753 at essentially the fixed voltage on terminal 780. When the varying voltage on terminal 770 exceeds the fixed voltage on terminal 780, transistor 751 provides a voltage on the protect line 753 essentially equal to the voltage on terminal 770.
Although the present invention has been described in terms of the foregoing embodiments, the description has been provided by way of explanation and the invention is not necessarily limited to the embodiments. Illustratively, while the preferred embodiments are implemented in an N-well process, numerous CMOS processes, including twin tub, are suitable as well. Furthermore, while CMOS technology is used to advantage in the embodiments shown, any semiconductor circuitry which exhibits similar or even more advantageous characteristics could be substituted. For example, improved logic structures and innovative integrated circuit technology such as silicon-on-insulator structures, separation by implantation of oxygen (SIMOX), or complementary pass transistor logic (CPL) could be substituted to improve circuit operation speed and reduce power consumption. While the preferred embodiments described above interface a 3.3 volt digital circuit to a mixed 3.3/5.0 volt digital bus, other operating voltage and signal levels are suitable as well. Illustratively, digital circuits operating at 2.5 volts may be interfaced to a mixed 2.5/5.0 volt digital bus by substituting 2.5 volt CMOS circuitry for the 3.3 volt CMOS circuitry. Accordingly, various other embodiments and modifications and improvements not described herein may be within the spirit and scope of the invention, as defined by the following claims.