Field of the Invention
This invention relates generally to circuits for semiconductor devices and more specifically to an input buffer circuit for the pads of a semiconductor chip that receives an input signal.
Introduction
Semiconductor integrated circuit devices have input/output (I/O) pads where signal connections are made to other circuit. It is a familiar problem that the circuits of one chip operate with one power supply voltage and the circuits supplying the signal at the pad operate at a different power supply voltage. A buffer circuit receives the signals at the pad and produces an output that is suitable for the other circuits of the chip.
One known buffer circuit is formed by a conventional CMOS inverter. The inverter has an n-channel FET connected between the inverter output node and ground and a p-channel FET connected between the output node and the positive power supply terminal V.sub.DD. The input pad is connected to the gates of the both FETs, and the FETs switch oppositely with the binary input signal because they have opposite channel types.
From a simplified viewpoint, the binary voltages that represent logic values are the same as the power supply voltages. As a further simplification, consider the case in which a 0 logic level is represented by a voltage at ground and a 1 logic level is represented by a positive power supply voltage. In this situation, the buffer converts a positive voltage at the pad to a positive voltage that is suitable for other circuits of the chip.
If a logical 1 at the pad has a lower voltage than the corresponding voltage of the chip, the buffer amplifies the signal to the desired level. If a logical 1 at the pad has a higher voltage, the buffer produces a positive voltage that is lower than the pad voltage. For example, when the conventional CMOS inverter turns off in response to a down level signal at the pad, the output can go not higher than the power supply voltage, which is the desired voltage to represent a logical 1 (the complement of the logical 0 at the pad).
When the signal at the input pad is high, the CMOS inverter produces a ground level output (representing the complement of the logical 1 at the pad), even though the pad voltage is higher than the voltage that represents a logical 1 at the buffer output.
The CMOS inverter has a problem when it is used as a buffer circuit: the higher voltage at the pad can stress the oxide of the gates.
The Prior Art
In one of the prior art input circuit that avoids the stress problem, both gates of the inverter are connected to the input pad through an additional n-channel FET, which will be called the series n-channel FET. The series FET has its gate connected to V.sub.DD and it turns on when the voltage at its source terminal is less than VDD but turns off when the source terminal voltage is greater than VDD.
When the signal voltage at the pad is between ground and VDD, the series FET turns on and pulls both gates up or down, as in the operation of the CMOS inverter without the series FET. When the pad voltage for a logical 1 rises above VDD, the series FET turns off. The voltage VDD appears at the gates and the difference between the pad voltage and VDD appears across the series FET.
This prior art circuit has the problem that the p-channel FET does not turn off completely in response to a normal up level input signal. It conducts slightly because the normal voltage at its gate is reduced by the voltage drop across the series FET, and it conducts a leakage current when the n-channel FET is turned on. This leakage current is a serious problem in battery operated computers that would use these circuits.
In a second related prior art buffer circuit, a series FET is connected at the input pad, as described for the first prior art circuit, but it is connected to only the gate of the n-channel FET. An additional p-channel FET is connected as a resistor between the gate of the n-channel FET and VDD to pull up the gate when the series FET has been turned off by a high voltage at the pad. The gate of the inverter p-channel FET is connected directly to the pad, and it undergoes the high voltage stress that has been described for the simple CMOS inverter.
In both of these prior art circuits, the voltage drop across the series FET produces a level shift buffer output voltage.
Summary of the Invention
The input circuit of this invention has the series FET of the prior art, but it solves the problems of the prior art circuits that have this feature.
The first stage of this circuit has a CMOS inverter with two p-channel FETs connected in series between V.sub.DD and the inverter output node (where the conventional CMOS inverter has one p-channel FET). The FET that is connected to the inverter output node (the "lower" FET) has its gate connected to the gate of the n-channel FET, (as in the gate connection of the single p-channel FET in the first prior art circuit), and the series FET protects this lower FET from a high voltage at the pad. As in the first prior art circuit, the lower FET does not turn off completely when the input signal is up.
The p-channel FET that is connected to V.sub.DD (the "upper" FET) has its gate connected directly to the circuit input (as in the gate connection of the single p-channel FET in the second prior art circuit). The upper p-channel FET turns off completely when the circuit input is up and it blocks the leakage current that would otherwise flow when the n-channel FET is on and the upper p-channel FET is only partly turned off.
The upper FET is protected from a high voltage at the input pad by the lower FET, as will be explained later. (By contrast, the single p-channel FET in the first prior art circuit is subjected to the higher voltage at the pad.)
In one embodiment of the invention, the first stage is followed by a conventional CMOS inverter that compensates for the level shift.
In a second embodiment of the invention, the first stage is followed by a level shift circuit that compensates for the level shift. The first embodiment is preferred because it has fewer devices than the second embodiment and it is faster.
The Drawing
FIG. 1 is a schematic drawing of the first embodiment of the invention.
FIG. 2 is a schematic drawing of the second embodiment of the invention.
The Preferred Embodiment
Introduction
The buffer circuit will be described as two circuit stages, an input stage 12 (or first stage) on the left and a second stage 14 on the right. Besides these two circuit stages, the circuit has two power supply terminals, one a ground 15 and the other a positive terminal V.sub.DD. The first stage of the circuit is connected to an input pad (terminal) 17 of the associated chip. Pad 17 is connected to carry signals from outside the chip, and voltages greater than V.sub.DD may appear at this terminal. The output of the second stage appears at a node 18, and circuits (not shown) on the same chip are connected to receive the signal at node 18.
Input Stage 12
An n-channel FET MN2 has its source connected to ground 15 and its drain connected to a first stage output node 20, as in a conventional CMOS inverter. The letters MN in these reference characters denote an n-channel FET and a numeral suffix identifies particular n-channel FETs. Similarly, the letters MP denote a p-channel FET.
The gate of FET MN2 is connected to the circuit input terminal 17 through an n-channel FET MN1. The common connection node for FETs MN1 and MN2 is designated node 21. As will be explained later, FET MN1 conducts in one direction when the signal at input terminal 17 is raised and in the opposite direction when this signal is lowered. Accordingly, it will be convenient to avoid the terms drain and source and instead to refer to these terminals by the reference characters 17 for the terminal connected to the input terminal 17 and the reference character 21 for the terminal that is connected to node 21. In the circuit operation that will be described later it will be readily understood that one of the terminals 17, 21 functions as the drain and the other functions as the source.
The gate of FET MN1 is connected to V.sub.DD, which forms a reference voltage for turning this FET on and off in response to the voltage at pad 17. Thus, when FET MN1 is turned on by a normal signal voltage at pad 17, the voltage at node 21 differs from the voltage at input terminal 17 by the voltage drop across FET MN1 (as in the prior art described earlier).
Two p-channel FETs, MP1 (upper) and MP2 (lower) are connected in series between V.sub.DD and the first stage output node 20. The gate of upper FET MP1 is connected to receive the input signal at the pad 17, and the gate of lower FET MP2 is connected to receive the input signal at node 21. Thus, when FETs MP1 and MP2 receive a turn-on voltage (positive), the voltage at the gate of upper FET MP1 is positive with respect to the voltage at the gate of lower FET MP2 by the voltage drop across FET MN1.
When the voltage at pad 17 is down, n-channel FET MN1 turns on in response to this voltage with respect to the reference voltage at its gate, and it pulls down the voltage at node 21. Upper FET MP1 turns on in response to the down level voltage at pad 17, and lower FET MP2 turns on and lower FET MN2 turns off in response to the down level voltage at node 21. This operation pulls up the voltage at the first stage output node 20.
When the voltage at pad 17 is up but less than VDD, n-channel series FET MN1 turns on and pulls down the voltage at node 21, the converse of the preceding example of a low level voltage at pad 17. Lower FET MP2 turns partly off in response to the up level voltage at node 21 (which is shifted down by the drop across FET MN1). However, upper FET MP1 turns fully off in response to the up level voltage at pad 17 and thereby isolates first stage output node 20 from V.sub.DD. FET MN2 turns on in response to the up level voltage at node 21 and pulls down the voltage at the first stage output node 20.
The gate oxide of an FET can break down if a sufficiently high voltage exists between the gate electrode and the charge in the semiconductor region underlying the gate. This voltage can be understood by thinking of the FET as a capacitor. The gate forms one plate of the capacitor, the charge in the underlying semiconductor forms the other plate, and the intervening oxide is the capacitor dielectric. The voltage on this capacitor increases as charge flows to the plates.
In upper FET MP1, this other plate is connected to ground primarily through the source-drain circuit of lower FET MP2. The capacitor of the gate oxide charges slowly through this path, and the gate oxide is protected against the high voltage pulses (of sufficiently short duration) that may appear at pad 17. Stated differently, part of the voltage at the pad 17 and the gate of upper FET MP1 appears across the source-drain circuit of lower FET MP2.
The voltage of the signal at output node 20 is similar to the conventional CMOS inverter (i.e. with a single p-channel FET instead of the series connection of FETs MN1 and MP1) except that an up level signal at node 20 is reduced by the voltage drop across the added p-channel FET in the drain circuit of FET MN2, and the down level of FET MN2 is above ground higher from the voltage drop across FET MN1. The level shifting circuit restores these voltage levels. The voltage at node 20, V.sub.DD -V.sub.TN, is within the operating range of FETs MN2 and MP2 and these FETs are protected by the voltage dropping action of FET MN1. (V.sub.TN is a threshold voltage between the gate and the source when conduction begins.)
In response to the voltage V.sub.DD-V.sub.TN at node 21, FET MN2 turns on and pulls down node 20 and lower FET MP2 is partly turned off.
The gate of upper FET MP1 may receive an over voltage at input terminal 17, as in the prior art. However, the circuit of this invention protects FET MP1. Since lower FET MP2 is partly turned off, it partly isolates node 22, the common connection point for FETs MP1 and MP2, and this node stays at about V.sub.D D -V.sub.TN.
The Second Stage Circuit of FIG. 1
The second stage of the preferred embodiment shown in FIG. 1 has an n-channel FET MN3 and a p-channel FET MP3 connected to form a conventional CMOS inverter 24. When the signal at pad 17 is up, the signal at node 21 is less than the pad voltage by the drop across FET MN1 and FET MN2 may not turn on sufficiently to pull down node 20 to the ground voltage that represents a logical 0. However, the second stage inverter produces a suitable output.
The Second Stage Circuit of FIG. 2
FIG. 2 shows the first stage output node 20 and the buffer circuit output node 18 which have been described in the circuit of FIG. 1. The second stage circuit has two n-channel FETs MN5 and MN6 and two p-channel FETs MP5 and MP6 are connected to form a level shifting circuit. Note that the circuit is symmetrical about a vertical centerline in the drawing: FETs MP5 and MN5 form a first inverter and FETs MP6 and MN6 form a second inverter. The common connection nodes of the drains of FETs MN5 and MPS and FETs MN6 and MP6 are identified by legends OA and OB respectively (for output A and output B).
FETs MN5 and MN6 are connected to receive opposite phases of the signal at pad 17, and they switch oppositely. The gate of FET MN5 is connected to the output node 20 of the first stage, and FET MN5 is turned on and off oppositely to FET MN2 and in phase with the input signal. The gate of FET MN6 is connected to the gate of FET MN2, and FET MN6 is turned on and off with FET MN2 and in phase with the input signal.
When the signal at pad 17 is down, FETs MP1 and MP2 in the first stage turn on as already described and pull up node 20. However, the voltage drop across the series FET MN1 may prevent FET MP2 from turning on completely and the voltage drop across FET MP1 further lowers the voltage at node 20. Thus, the nominally up level voltage at the gate of FET MN5 may be lower than specified and the nominally down level voltage at the gate of FET MN6 may be higher than specified.
The level shifter output 18 is connected to node OA, the common connection of the drains of FETs MP5 and MN5, and the signal at output 18 has the same phase as the signal at pad 17. Alternatively, connecting output 18 node OB gives the signal at output 18 the opposite phase from the signal at pad 17.
The gates of p-channel FETs MP5 and MP6 are cross connected to the drains of n-channel FETs MN5 and MN6 to provide positive feed back that drives one of the outputs, OA or OB, fully high and the other fully low. When FET MN5 turns on (in response to a down level signal at pad 17 and a resulting up level signal at node 20), it pulls down node OA and the gate of FET MP6 and thereby turns on FET MP6. When FET MP6 turns on it pulls up node OB and the gate of FET MP5 and thereby turns off FET MP5.
During the operation just described, FET MN6 turns off in response to the signal at pad 17 and node 21 and thereby allows FET MP6 to pull up node OB as just described.
Other Embodiments
From the description of two embodiments of the invention, those skilled in the art will recognize variations in the details of implementation, within the skill of the art and the intended scope of the claims.