As you already know, or will find out shortly, from taking a
class in digital logic, logic circuits are primarily based upon a
circuit called an inverter. An inverter simply takes a signal and
gives you the opposite one. For instance, if a high voltage (a
"one") is placed on the input of an inverter, it returns a
low voltage (a "zero"). Figure 1 is a simple
inverter based on a MOSFET transistor:
If Vin
Vin
is zero, the MOSFET is turned off
(Vgs
Vgs
is
<
V
T
<
V
T
) and so no current flows through the resistor, and
V
out
=
V
dd
V
out
V
dd
, a high. If
Vin
Vin
is high (and we assume that
VT
VT
for the MOSFET is significantly less
than Vin
Vin
) then the transistor is turned on, and
if RR and
WL
W
L
are chosen so that enough current flows through
RR to drop most of
Vdd
Vdd
across it, then
Vout
Vout
will be low.
The way this is usually described is through a transfer
function which tells us what the output voltage is as a
function of the input voltage. Let's digress for just a minute
and see how such a function can be arrived at. Looking back at
Figure 1 it should be easy to see that
V
dd
=
I
d
R
d
+
V
ds
V
dd
I
d
R
d
V
ds
(1)
We can re-write this as an equation for
Id
Id
.
I
d
=
V
dd
R
d
−
V
ds
R
d
I
d
V
dd
R
d
V
ds
R
d
(2)
This is called a load-line equation. It says that
Id
Id
varies linearly with
Vds
Vds
(with a negative slope) and has a
vertical off-set of
V
dd
R
d
V
dd
R
d
. Let's suppose we have the MOSFET transistor for which
we have already plotted the characteristic curves in a previous plot. We will
let
V
dd
=5
V
dd
5
Volts, and let
R
d
=1kΩ
R
d
1
kΩ
. From Equation 2 we can see
that when
V
ds
=0
V
ds
0
, Id
Id
will be 5 mA, and when
V
ds
=
V
dd
V
ds
V
dd
, Id
Id
will be 0. This then gives us a
straight line on the characteristic curve plot which is called
the load line. This is shown in Figure 2. By looking back at the schematic for the
inverter in Figure 1 we see that the same current
Id
Id
flows through the load resistor,
Rd
Rd
, and through the transistor. Thus, the
correct value of current and voltage for the circuit for any
given gate voltage is the simultaneous solution of the load line
equation and the transistor behavior, which, of course, is just
the intersection of the load line with the appropriate
characteristic curve. Thus it is a simple matter of drawing
vertical lines down from each
Vin
Vin
curve or
Vgs
Vgs
value down to the horizontal axis to
find out what the appropriate
Vdd
Vdd
or output voltage will be for the
inverter. Assuming that
Vin
Vin
only goes up to 5 Volts, the resulting
curve that we get look like Figure 3. This is not
a great transfer characteristic.
Vin
Vin
has to get fairly large before
Vout
Vout
starts to fall, and even with the full
5 Volt input,
Vout
Vout
is still greater than 1 Volt. Picking
a transistor with a small
VT
VT
and a bigger load resistor would give
us a better response, but at least with this example you can see
what is going on.
Based on this simple inverter circuit, we can build
circuits which perform the NOR and NAND function.
C
out
=¬A+B
C
out
A
B
(3)
and
C
out
=¬AB
C
out
A
B
(4)
It should, by now, be obvious to you how the two circuits in
Figure 4 can perform the NAND and NOR function. It
turns out that with the capability to do NAND and NOR, we can
build up any kind of logic function we desire.
Let's look at the inverter a little more closely. Usually, the load for the
inverter will be the next stage of logic which, along with the
associated interconnect wiring, we can model as a simple
capacitor. The value of the capacitance will vary, but it will
be on the order of
10-12
10
-12
F.
When the input to the inverter switches instantaneously to a
low value, current will stop flowing through the transistor, and
instead will start to charge up the load capacitance. The output
voltage will follow the usual RCRC
charging curve with a time constant given just by the product of
RR times
CC. If
CC is
10-13
10
-13
F, then to get a rise time of 1 ns we would have to
make RR about
104Ω
10
4
Ω
.
As we shall see later, it is virtually impossible to make a 10
kΩ resistor using integrated circuit techniques. Remember:
R=ρLA
R
ρ
L
A
(5)
And thus, to get a really big resistance we need either a very
tiny A (Too hard to achieve and control.), a really BIG L (Takes
up too much room on the chip) or a huge
ρρ (Again, very hard to control
when you get to the very low doping densities that would be
required.)
Even if we could find a way to build such big integrated circuit
resistors, there would still be a problem. The current flowing
through the resistor when the MOSFET is on would be
approximately
I=VR=5V104Ω=5×10-4A
I
V
R
5
V
10
4
Ω
5
10
-4
A
(6)
Which doesn't seem like much current until you consider that a
Pentium© microprocessor has about 6 million gates in
it. This would mean a net current of
-300
-300 Amps Amps flowing into the
CPU chip! We've got to come up with a
better solution.
"This course offers an introduction to solid state device including field effect and bipolar transistors. Properties of transmission lines and propagating E&M waves are also presented. It is […]"