Tài liệu

Digital circuits

Science and Technology

This module presents the basic concepts of MOSFET digital logic circuits. We will examine NMOS logic circuits, which contain only n-channel transistors, and complementary MOS, or CMOS, logic circuits, which contain both n-channel and p-channel transistors. JFET logic circuits are very specialized and therefore not considered here.

The NMOS inverter is the basic of NMOS digital logic circuits. We will analyze the dc voltage transfer characteristics of several inverter designs. We will also define and develop the noise margin of NMOS digital circuits in terms of the inverter voltage transfer curve. We will then determine the impact of the body effect on the dc voltage transfer curve and the logic levels. A transient analysis of the NMOS inverter will determine the propagation delay time in NMOS logic circuits. We will then develop and analyze basic NMOS NOR and NAND logic gates, as well as circuits that perform more complex logic functions.

The CMOS inverter is the basic of CMOS logic gates. We will analyze the inverter dc voltage transfer characteristics, and will determine the power dissipation in the CMOS inverter, demonstrating the principle advantage of CMOS inverter over NMOS circuits. Next, we will develop the noise margin of the CMOS inverter, and then will develop and analyze basic CMOS NOR and NAND logic gates. Finally, we will look at more advanced clocked CMOS logic circuits which eliminate almost half of transistors in a conventional CMOS logic design while maintaining the low power advantage of the CMOS technology.

In a digital system, a transistor can act as a switch between a driving circuit and a load circuit. An NMOS transistor that performs this function is called an NMOS transmission gate; the corresponding CMOS configuration is a CMOS transmission gate. These transmission gates, or pass transistors, can also be configured to perform logic functions, and the circuits are called NMOS-pass or CMOS-pass networks. We will discuss the basics of these networks.

Finally in this module, we will consider a few examples of sequential logic circuits. Two dynamic shift registers are defined and analyzed, and a static R-S flip-flop are defined and analyzed.

NMOS INVERTERS

The inverter is the basic circuit of most MOS logic circuits. The design techniques used in NMOS logic circuits are developed from the dc analysis results for NMOS inverter. Extending the concepts developed from the inverter to NOR and NAND gates is then direct. Alternative inverter load elements are compared in terms of power consumption, packing density, and transfer characteristics. The transient analysis and switching characteristics of the inverters give an indication of the propagation delay times of NMOS logic circuits.

n-Channel MOSFET

In this section, we will quickly review the n-channel MOSFET characteristics, emphasizing specific properties important in digital circuit design.

A simplified n-channel MOSFET is shown in [link]. The body or substrate, is a single crystal silicon wafer which is the starting material for circuit fabrication and provides physical support for the integrated circuit. The active transistor region is the surface of the semiconductor and is comprised of the heavy doped n+ size 12{n rSup { size 8{+{}} } } {} source and drain regions and p-type channel region. The channel length is L and the channel width is W. normally, in any given fabrication process, the channel length is the same for all transistors, while the channel width is variable.

a) n-chanel MOSFET simplified view and b)n-channel MOSFET detailed cross section

[link]b shows a more detailed view of the n-channel MOSFET. This figure demonstrates that the actual device geometry is more complicated than that indicated by the simplified cross section.

a) Simplified circuit symbols for n-channel MOSFETs and b) circuit symbols showing substrate or body terminal

[link]a shows the simplified circuit symbols for the n-channel enhancement and depletion-mode devices. When we explicitly consider the body or substrate connection, we will use the symbols shows in [link]b.

In an integrated circuit, all n-channel transistors are fabricated in the same p-type substrate material. The substrate is connected to the most negative potential in the circuit, which for digital circuits, is normally at ground potential or zero volts. However, the source terminal of many of transistors will not be at zero volts, which means that a reverse-biased pn junction will exist between source and substrate.

When the source and body terminal are connected together, the threshold voltage, to a first approximation, is independent of the applied voltages. However, when the source and body voltages are not equal, as when transistors are used for active loads, for instance, the threshold voltage is a function of difference between these voltages. We can write

V Th = V Th 0 + 2eε s N a C ox [ fp + V SB fp ] = V Th 0 + γ [ fp + V SB fp ] size 12{V rSub { size 8{ ital "Th"} } =V rSub { size 8{ ital "Th"0} } + { { sqrt {2eε rSub { size 8{s} } N rSub { size 8{a} } } } over {C rSub { size 8{ ital "ox"} } } } \[ sqrt {2φ rSub { size 8{ ital "fp"} } +V rSub { size 8{ ital "SB"} } } - sqrt {2φ rSub { size 8{ ital "fp"} } } \] =V rSub { size 8{ ital "Th"0} } +γ \[ sqrt {2φ rSub { size 8{ ital "fp"} } +V rSub { size 8{ ital "SB"} } } - sqrt {2φ rSub { size 8{ ital "fp"} } } \] } {}

where VSB size 12{V rSub { size 8{ ital "SB"} } } {} is the source-to-body voltage, and VTh0 size 12{V rSub { size 8{ ital "Th"0} } } {} is the threshold voltage for zero source-to-body voltage or VSB=0 size 12{V rSub { size 8{ ital "SB"} } =0} {}. The parameter Na size 12{N rSub { size 8{a} } } {} is the p-type substrate doping concentration, εs size 12{ε rSub { size 8{s} } } {} is the semiconductor permittivity, Cox size 12{C rSub { size 8{ ital "ox"} } } {} is the oxide capacitance per unit area, φfp size 12{φ rSub { size 8{ ital "fp"} } } {} is a potential related to the substrate doping concentration, and γ size 12{γ} {} is the body-effect coefficient.

The current-voltage characteristics of the n-channel MOSFET are functions of both the electrical and geometrical properties of the device. When the transistor is biased in the nonsaturation region, for vGSVTh size 12{v rSub { size 8{ ital "GS"} } >= V rSub { size 8{ ital "Th"} } } {} and vDS(vGSVTh) size 12{v rSub { size 8{ ital "DS"} } <= \( v rSub { size 8{ ital "GS"} } - V rSub { size 8{ ital "Th"} } \) } {}, we can write

i D = k n [ 2 ( V GS V Th ) v DS v DS 2 ] size 12{i rSub { size 8{D} } =k rSub { size 8{n} } \[ 2 \( V rSub { size 8{ ital "GS"} } - V rSub { size 8{ ital "Th"} } \) v rSub { size 8{ ital "DS"} } - v rSub { size 8{ ital "DS"} } rSup { size 8{2} } \] } {}

In the saturation region, for vGSVTh size 12{v rSub { size 8{ ital "GS"} } >= V rSub { size 8{ ital "Th"} } } {}, and vDS(vGSVTh) size 12{v rSub { size 8{ ital "DS"} } >= \( v rSub { size 8{ ital "GS"} } - V rSub { size 8{ ital "Th"} } \) } {}, we have

i D = k n ( v GS V Th ) 2 size 12{i rSub { size 8{D} } =k rSub { size 8{n} } \( v rSub { size 8{ ital "GS"} } - V rSub { size 8{ ital "Th"} } \) rSup { size 8{2} } } {}

The transition point separates the non-saturation and saturation regions and is the drain-to-source saturation voltage which is given by

v DS = v DS ( sat ) = v GS V Th size 12{v rSub { size 8{ ital "DS"} } =v rSub { size 8{ ital "DS"} } \( ital "sat" \) =v rSub { size 8{ ital "GS"} } - V rSub { size 8{ ital "Th"} } } {}

The term (1+λvDS) size 12{ \( 1+λv rSub { size 8{ ital "DS"} } \) } {} is sometimes included in [link]b to account for channel length modulation and the finite output resistance. In most cases, it has little effect on the operating characteristics of MOS digital circuits. In our analysis, the term λ size 12{λ} {} is assumed to be zero unless otherwise stated.

The parameter kn size 12{k rSub { size 8{n} } } {} is the NMOS transistor conduction parameter and is given by

k n = ( 1 2 μ n C ox ) ( W L ) = k n ' 2 W L size 12{k rSub { size 8{n} } = \( { {1} over {2} } μ rSub { size 8{n} } C rSub { size 8{ ital "ox"} } \) \( { {W} over {L} } \) = { {k rSub { size 8{n} } rSup { size 8{'} } } over {2} } { {W} over {L} } } {}

The electron mobility μn size 12{μ rSub { size 8{n} } } {} and oxide capacitance C0x size 12{C rSub { size 8{0x} } } {} are assumed to be constant for all devices in a particular IC.

The current-voltage characteristics are directly related to the channel width-to-length ratio, or the size of the transistor. In general, in a given IC, the length L is fixed, but the designer can control the channel width W.

Since the MOS transistor is a majority carrier device, the switching speed of MOS digital circuits is limited by the time required to charge or discharge the capacitances between device electrodes and between interconnect lines and ground. [link] shows the significant capacitances in a MOSFET. The capacitances Csb size 12{C rSub { size 8{ ital "sb"} } } {} and Cdb size 12{C rSub { size 8{ ital "db"} } } {} are the source-to-body and drain-to-body n+ size 12{n rSup { size 8{+{}} } } {}p junction capacitances. The total input gate capacitance, to a first approximation, is a constant equal to

C g = WLC ox = WL ( ε ox t ox ) size 12{C rSub { size 8{g} } = ital "WLC" rSub { size 8{ ital "ox"} } = ital "WL" \( { {ε rSub { size 8{ ital "ox"} } } over {t rSub { size 8{ ital "ox"} } } } \) } {}

where C0x size 12{C rSub { size 8{0x} } } {} is the oxide capacitance per unit area, and is a function of the oxide thickness. The parameter C0x size 12{C rSub { size 8{0x} } } {} also appears in the expression for the conduction parameter.

n-channel MOSFET and device capacitances

NMOS Inverter Transfer Characteristics

Since the inverter is the basic for most logic circuits, we will describe the NMOS inverter and will develop the dc transfer characteristics for three types of inverters with different load devices. This discussion will introduce voltage transfer functions, noise margins, and the transient characteristics of FET digital circuits.

NMOS inverter with resistor load

[link]a shows a single NMOS transistor connected to a resistor to form an inverter. The transistor characteristics and load line are shown in [link]b, along with the parametric curve separating the saturation and nonsaturation regions. We determine the voltage transfer characteristics of the inverter by examining the various regions in which the transistor can be biased.

a) NMOS inverter with resistor load and b) transistor characteristics and load line

When the input voltage is less than or equal to the threshold, or vIVTh size 12{v rSub { size 8{I} } <= V rSub { size 8{ ital "Th"} } } {}, the transistor is cut off, iD=0 size 12{i rSub { size 8{D} } =0} {}, and the output voltage is v0=VDD size 12{v rSub { size 8{0} } =V rSub { size 8{ ital "DD"} } } {}. The maximum output voltage is defined as the logic 1 level. As the input voltage becomes just greater than VTh size 12{V rSub { size 8{ ital "Th"} } } {}, the transistor turns on and is biased in the saturation region. The output voltage is than

v 0 = V DD i D R D size 12{v rSub { size 8{0} } =V rSub { size 8{ ital "DD"} } - i rSub { size 8{D} } R rSub { size 8{D} } } {}

Where the drain current is given by

i D = k n ( v GS V Th ) 2 = k n ( v I V Th ) 2 size 12{i rSub { size 8{D} } =k rSub { size 8{n} } \( v rSub { size 8{ ital "GS"} } - V rSub { size 8{ ital "Th"} } \) rSup { size 8{2} } =k rSub { size 8{n} } \( v rSub { size 8{I} } - V rSub { size 8{ ital "Th"} } \) rSup { size 8{2} } } {}

Combining [link] and [link] yields

v 0 = V DD k n R D ( v I V Th ) 2 size 12{v rSub { size 8{0} } =V rSub { size 8{ ital "DD"} } - k rSub { size 8{n} } R rSub { size 8{D} } \( v rSub { size 8{I} } - V rSub { size 8{ ital "Th"} } \) rSup { size 8{2} } } {}

which relates the output and input voltages as long as the transistor is biased in the saturation region.

As the input voltage increases, the Q-point of the transistor moves up the load line. At the transition point, we have

V 0t = V It V Th size 12{V rSub { size 8{0t} } =V rSub { size 8{ ital "It"} } - V rSub { size 8{ ital "Th"} } } {}

where V0t size 12{V rSub { size 8{0t} } } {} and VIt size 12{V rSub { size 8{ ital "It"} } } {} are the drain-to-source and gate-to-source voltage, respectively, at the transition point. Substituting [link] into [link], the input voltage at the transition point is the determined from

K n R D ( V It V Th ) 2 + ( V D V Th ) V DD = 0 size 12{K rSub { size 8{n} } R rSub { size 8{D} } \( V rSub { size 8{ ital "It"} } - V rSub { size 8{ ital "Th"} } \) rSup { size 8{2} } + \( V rSub { size 8{D} } - V rSub { size 8{ ital "Th"} } \) - V rSub { size 8{ ital "DD"} } =0} {}

As the input voltage becomes greater than VIt size 12{V rSub { size 8{ ital "It"} } } {}, the Q-point continues to move up the load line, and the transistor becomes biased in the nonsaturation region. The drain current is then

i D = k n 2 ( v GS V Th ) v DS v DS 2 = k n 2 ( v I V Th ) v 0 v 0 2 size 12{i rSub { size 8{D} } =k rSub { size 8{n} } left [2 \( v rSub { size 8{ ital "GS"} } - V rSub { size 8{ ital "Th"} } \) v rSub { size 8{ ital "DS"} } - v rSub { size 8{ ital "DS"} } rSup { size 8{2} } right ]=k rSub { size 8{n} } left [2 \( v rSub { size 8{I} } - V rSub { size 8{ ital "Th"} } \) v"" lSub { size 8{0} } - v rSub { size 8{0} } rSup { size 8{2} } right ]} {}

Combining [link] and [link] yields

v 0 = V DD k n R D [ 2 ( v I V Th ) v 0 v 0 2 ] size 12{v rSub { size 8{0} } =V rSub { size 8{ ital "DD"} } - k rSub { size 8{n} } R rSub { size 8{D} } \[ 2 \( v rSub { size 8{I} } - V rSub { size 8{ ital "Th"} } \) v"" lSub { size 8{0} } - v rSub { size 8{0} } rSup { size 8{2} } \] } {}

Which relates to the input and output voltage as long as the transistor is biased in the nonsaturation region.

[link] shows the voltage transfer characteristics of this inverter for three resistor values. Also shown is the line, given by [link], which separates the saturation and nonsaturation bias region of the transistor. The figure shows that the minimum output voltage, or the logic 0 level, for a high input decreases with increasing load resistance, and the sharpness of the transition region between a low input and a high input increases with increasing load resistance.

Voltage transfer characteristics, NMOS inverter with resistor load, for three resistor values

It should be note that a large resistance is difficult to fabricate in an IC. A large resistor value in the inverter will limit current and power consumption as well as provide a small VOL size 12{V rSub { size 8{ ital "OL"} } } {} value. But it would also require a large chip area if fabricated in a standard MOS process. To avoid this problem, MOS transistors can be used as load devices, replacing the resistor, as discussed in subsequent paragraphs.

NMOS inverter with enhancement load

An n-channel enhancement-mode MOSFET with the gate connected to the drain can be used as a load device in an NMOS inverter. [link]a shows such a device. For vGS=vDSVTh size 12{v rSub { size 8{ ital "GS"} } =v rSub { size 8{ ital "DS"} } <= V rSub { size 8{ ital "Th"} } } {}, the drain current is zero. For vGS=vDSVTh size 12{v rSub { size 8{ ital "GS"} } =v rSub { size 8{ ital "DS"} } >= V rSub { size 8{ ital "Th"} } } {}, a nonzero drain current is induced in the device. We can see that the following condition is satisfied:

v DS > ( v GS V Th ) = ( v DS V Th ) = v DS ( sat ) size 12{v rSub { size 8{ ital "DS"} } > \( v rSub { size 8{ ital "GS"} } - V rSub { size 8{ ital "Th"} } \) = \( v rSub { size 8{ ital "DS"} } - V rSub { size 8{ ital "Th"} } \) =v rSub { size 8{ ital "DS"} } \( ital "sat" \) } {}

A transistor with this connection always operates in the saturation region when not in cutoff.

The drain current is

i D = k n ( v GS V Th ) 2 = k n ( v DS V Th ) 2 size 12{i rSub { size 8{D} } =k rSub { size 8{n} } \( v rSub { size 8{ ital "GS"} } - V rSub { size 8{ ital "Th"} } \) rSup { size 8{2} } =k rSub { size 8{n} } \( v rSub { size 8{ ital "DS"} } - V rSub { size 8{ ital "Th"} } \) rSup { size 8{2} } } {}

We continue to neglect the effect of the output resistance and the λ size 12{λ} {} parameter. The iD size 12{i rSub { size 8{D} } } {} versus vDC size 12{v rSub { size 8{ ital "DC"} } } {} characteristic is shown in [link]b which indicates that this device acts as a nonlinear resistor.

a) n-channel MOSFET connected as saturated load device and b) current-voltage characteristics of saturated load device

[link]a shows an NMOS inverter with the enhancement load device. The driver transistor parameters are denoted by VThL size 12{V rSub { size 8{ ital "ThL"} } } {} and kL size 12{k rSub { size 8{L} } } {}. The substrate connections are not shown. In the following analysis, we neglect the body effect and we assume all threshold voltages are constant. These assumptions do not seriously affect the basic analysis or the inverter characteristics.

The driver transistor characteristics and the load curve are shown in [link]b. When the inverter input voltage is less than the driver threshold voltage, the driver is cut off and the drain currents are zero. From [link], we have

i DL = 0 = k L ( v DSL V ThL ) 2 size 12{i rSub { size 8{ ital "DL"} } =0=k rSub { size 8{L} } \( v rSub { size 8{ ital "DSL"} } - V rSub { size 8{ ital "ThL"} } \) rSup { size 8{2} } } {}

From [link]a, we see that vDSL=VDDv0 size 12{v rSub { size 8{ ital "DSL"} } =V rSub { size 8{ ital "DD"} } - v rSub { size 8{0} } } {}, which means that

v DSL V ThL = V DD v 0 V ThL = 0 size 12{v rSub { size 8{ ital "DSL"} } - V rSub { size 8{ ital "ThL"} } =V rSub { size 8{ ital "DD"} } - v rSub { size 8{0} } - V rSub { size 8{ ital "ThL"} } =0} {}

The maximum output voltage is then

V 0 max = V OH = V DD V ThL size 12{V rSub { size 8{0"max"} } =V rSub { size 8{ ital "OH"} } =V rSub { size 8{ ital "DD"} } - V rSub { size 8{ ital "ThL"} } } {}

For the enhancement load NMOS inverter, the maximum output voltage, which is the logic 1 level, does not reach the full VDD size 12{V rSub { size 8{ ital "DD"} } } {} value. This cutoff point is shown on the load curve in [link]b.

a) NMOS inverter with saturated load and b) driver transistor characteristics and load curve

As the input voltage becomes just greater than the driver threshold voltage VThD size 12{V rSub { size 8{ ital "ThD"} } } {}, the driver transistor turns on and is biased in the saturation region. In steady-state, the two drain currents are equal since the output will be connected to the gates of other MOS transistors. We have iDD=iDL size 12{i rSub { size 8{ ital "DD"} } =i rSub { size 8{ ital "DL"} } } {}, which can be written as

k D ( v GSD V ThD ) 2 = k L ( v GSL V ThL ) 2 size 12{k rSub { size 8{D} } \( v rSub { size 8{ ital "GSD"} } - V rSub { size 8{ ital "ThD"} } \) rSup { size 8{2} } =k rSub { size 8{L} } \( v rSub { size 8{ ital "GSL"} } - V rSub { size 8{ ital "ThL"} } \) rSup { size 8{2} } } {}

[link] is expressed in terms of the individual transistor parameters. In terms of the input and output voltages, the expression becomes

k D ( v I V ThD ) 2 = k L ( V DD v 0 V ThL ) 2 size 12{k rSub { size 8{D} } \( v rSub { size 8{I} } - V rSub { size 8{ ital "ThD"} } \) rSup { size 8{2} } =k rSub { size 8{L} } \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{0} } - V rSub { size 8{ ital "ThL"} } \) rSup { size 8{2} } } {}

Solving for the output voltage yields

v 0 = V DD V ThL k D k L v I V ThD size 12{v rSub { size 8{0} } =V rSub { size 8{ ital "DD"} } - V rSub { size 8{ ital "ThL"} } - sqrt { { {k rSub { size 8{D} } } over {k rSub { size 8{L} } } } } left (v rSub { size 8{I} } - V rSub { size 8{ ital "ThD"} } right )} {}

As the input voltage increases, the driver Q-point moves up the load curve and the output voltage deceases linearly with vI size 12{v rSub { size 8{I} } } {}.

At the driver transition point, we have

v DSD ( sat ) = v GSD V ThD size 12{v rSub { size 8{ ital "DSD"} } \( ital "sat" \) =v rSub { size 8{ ital "GSD"} } - V rSub { size 8{ ital "ThD"} } } {}

v DSD ( sat ) = v GSD V ThD size 12{v rSub { size 8{ ital "DSD"} } \( ital "sat" \) =v rSub { size 8{ ital "GSD"} } - V rSub { size 8{ ital "ThD"} } } {}

or

v 0t = v It V ThD size 12{v rSub { size 8{0t} } =v rSub { size 8{ ital "It"} } - V rSub { size 8{ ital "ThD"} } } {}

Substituting [link] into [link], we find the input voltage at the transition point, which is

V It = V DD V ThL + V ThD ( 1 + k D k L ) 1 + k D k L size 12{V rSub { size 8{ ital "It"} } = { {V rSub { size 8{ ital "DD"} } - V rSub { size 8{ ital "ThL"} } +V rSub { size 8{ ital "ThD"} } \( 1+ sqrt { { {k rSub { size 8{D} } } over {k rSub { size 8{L} } } } } \) } over {1+ sqrt { { {k rSub { size 8{D} } } over {k rSub { size 8{L} } } } } } } } {}

As the input voltage becomes greater than VIt size 12{V rSub { size 8{ ital "It"} } } {}, the driver transistor Q-point continues to move up the load curve and the driver becomes biased in the nonsaturation region. Since the driver and load drain currents are still equal, or iDD=iDL size 12{i rSub { size 8{ ital "DD"} } =i rSub { size 8{ ital "DL"} } } {}, we now have

k D [ 2 ( v GSD V ThD ) v DSD v DSD 2 ] = k L ( v DSL V ThL ) 2 size 12{k rSub { size 8{D} } \[ 2 \( v rSub { size 8{ ital "GSD"} } - V rSub { size 8{ ital "ThD"} } \) v rSub { size 8{ ital "DSD"} } - v rSub { size 8{ ital "DSD"} } rSup { size 8{2} } \] =k rSub { size 8{L} } \( v rSub { size 8{ ital "DSL"} } - V rSub { size 8{ ital "ThL"} } \) rSup { size 8{2} } } {}

Writing [link] in terms of the input and output voltages produces

k D [ 2 ( v I V ThD ) v 0 v 0 2 ] = k L ( V DD v 0 V ThL ) 2 size 12{k rSub { size 8{D} } \[ 2 \( v rSub { size 8{I} } - V rSub { size 8{ ital "ThD"} } \) v rSub { size 8{0} } - v rSub { size 8{0} } rSup { size 8{2} } \] =k rSub { size 8{L} } \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{0} } - V rSub { size 8{ ital "ThL"} } \) rSup { size 8{2} } } {}

Obviously, the relationship between v1 size 12{v rSub { size 8{1} } } {} and v0 size 12{v rSub { size 8{0} } } {} in this region is not linear.

[link] shows the voltage transfer characteristics of this inverter for three kD size 12{k rSub { size 8{D} } } {}-to- kL size 12{k rSub { size 8{L} } } {} ratios. The ratio kD/kL size 12{ {k rSub { size 8{D} } } slash {k rSub { size 8{L} } } } {} is the aspect ratio and is related to the width-to-length parameters of the driver and load transistors.

The line, given by [link], separating the driver saturation and nonsaturation regions is also shown in the figure. We see that the minimum output voltage, or the logic 0 level, for a high input decreases with an increasing kD/kL size 12{ {k rSub { size 8{D} } } slash {k rSub { size 8{L} } } } {} ratio. As the width-to-length ratio of the load transistor decreases, the effective resistance increases, which means that the general behavior of the transfer characteristics is the same as for the resistor load. However, the high output voltage is

V OH = V DD V ThL size 12{V rSub { size 8{ ital "OH"} } =V rSub { size 8{ ital "DD"} } - V rSub { size 8{ ital "ThL"} } } {}

When the driver is biased in the saturation region, we find the slope of the transfer curve, which is the inverter gain, by taking the derivative of [link] with respect to vI size 12{v rSub { size 8{I} } } {}. We see that

dv 0 / dv I = k D / k L size 12{ ital "dv" rSub { size 8{0} } / ital "dv" rSub { size 8{I} } = - sqrt {k rSub { size 8{D} } /k rSub { size 8{L} } } } {}

When the aspect ratio is greater than unity, the inverter gain magnitude is greater than unity. A logic circuit family with an inverter transfer curve that exhibits a gain greater than unity for some region is called a restoring logic family. Restoring logic is so named because logic signals that are degraded for some reason in one circuit can be restored by gain of subsequent logic circuits.

Voltage transfer characteristics, NMOS inverter with saturated load, for three aspect ratios

NMOS inverter with depletion load

Depletion mode MOSFET can also be used as load elements in NMOS inverters. [link]a shows the NMOS inverter with depletion load. The gate and source of the depletion mode transistor are connected together. The driver transistor is still an enhancement-mode device. As before, the driver transistor parameters are VThD size 12{V rSub { size 8{ ital "ThD"} } } {} ( VThD size 12{V rSub { size 8{ ital "ThD"} } } {}> 0) and kD size 12{k rSub { size 8{D} } } {}, and the load transistor parameters are VThL size 12{V rSub { size 8{ ital "ThL"} } } {} ( VThL size 12{V rSub { size 8{ ital "ThL"} } } {}< 0) and kL size 12{k rSub { size 8{L} } } {}. Again, the substrate connections are not shown. The fabrication process for this inverter is slightly more complicated than for the enhancement-load inverter, since the threshold voltages of the two devices are not equal. However, as we will see, the advantage of the inverter makes the extra processing steps worthwhile. This inverter has been the basic of many microprocessor and static memory designs.

a) NMOS inverter with depletion load, b) current-voltage characteristic of depletion load, and c) driver transistor characteristics and load curve

The current-voltage characteristic curve for the depletion load, neglecting the body effect, is shown in [link]b. Since the gate is connected to the source, vGSL=0 size 12{v rSub { size 8{ ital "GSL"} } =0} {}, and the Q-point of the load is on this particular curve.

The driver transistor characteristics and the ideal load curve are shown in [link]c. When the inverter input is less than the driver threshold voltage, the driver is cut off and the drain currents are zero. From [link]b, we see that for vD=0 size 12{v rSub { size 8{D} } =0} {}, the drain-to-source voltage of the load transistor must be zero; therefore, v0=VDD size 12{v rSub { size 8{0} } =V rSub { size 8{ ital "DD"} } } {} for vIVThD size 12{v rSub { size 8{I} } <= V rSub { size 8{ ital "ThD"} } } {}. An advantage of the depletion load inverter over the enhancement-load inverter is that the high output voltage, or the logic 1 level, is at the full VDD size 12{V rSub { size 8{ ital "DD"} } } {} value.

As the input voltage becomes just greater than the driver threshold voltage VThD size 12{V rSub { size 8{ ital "ThD"} } } {}, the driver turns on and is biased in the saturation region; however, the load is biased in the nonsaturation region. The Q-point lies between points A and B on the load curve shown in Figure 9c. We again set the two drain currents equal, or iDD=iDL size 12{i rSub { size 8{ ital "DD"} } =i rSub { size 8{ ital "DL"} } } {}, which means that

k D v GSD V ThD 2 = k L 2 ( v GSL V ThL ) v DSL v DSL 2 size 12{k rSub { size 8{D} } left [v rSub { size 8{ ital "GSD"} } - V rSub { size 8{ ital "ThD"} } right ] rSup { size 8{2} } =k rSub { size 8{L} } left [2 \( v rSub { size 8{ ital "GSL"} } - V rSub { size 8{ ital "ThL"} } \) v rSub { size 8{ ital "DSL"} } - v rSub { size 8{ ital "DSL"} } rSup { size 8{2} } right ]} {}

Writing [link] in terms of the input and output voltages yields

k D v I V ThD 2 = k L 2 ( V ThL ) ( V DD v 0 ) ( V DD v 0 ) 2 size 12{k rSub { size 8{D} } left [v rSub { size 8{I} } - V rSub { size 8{ ital "ThD"} } right ] rSup { size 8{2} } =k rSub { size 8{L} } left [2 \( - V rSub { size 8{ ital "ThL"} } \) \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{0} } \) - \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{0} } \) rSup { size 8{2} } right ]} {}

This equation relates the input and output voltages as long as the driver is biased in saturation region and the load is biased in the nonsaturation region.

There are two transition points for the NMOS inverter with a depletion load: one for the load and one for the driver. These are points B and C, respectively, in [link]c. The transition point for load is given by

v DSL = V DD V 0t = v GSL V ThL = V ThL size 12{v rSub { size 8{ ital "DSL"} } =V rSub { size 8{ ital "DD"} } - V rSub { size 8{0t} } =v rSub { size 8{ ital "GSL"} } - V rSub { size 8{ ital "ThL"} } = - V rSub { size 8{ ital "ThL"} } } {}

or

V 0t = V DD + V ThL size 12{V rSub { size 8{0t} } =V rSub { size 8{ ital "DD"} } +V rSub { size 8{ ital "ThL"} } } {}

Since VThL size 12{V rSub { size 8{ ital "ThL"} } } {} is negative, the output voltage at the transition point is less than VDD size 12{V rSub { size 8{ ital "DD"} } } {}. The transition point for the driver is given by

V 0t = V It + V ThL size 12{V rSub { size 8{0t} } =V rSub { size 8{ ital "It"} } +V rSub { size 8{ ital "ThL"} } } {}

When the Q-point lies between points B and C on the load curve, both devices are biased in the saturation region, and

k D ( v GSD V ThD ) 2 = k L ( v GSL V ThL ) 2 size 12{k rSub { size 8{D} } \( v rSub { size 8{ ital "GSD"} } - V rSub { size 8{ ital "ThD"} } \) rSup { size 8{2} } =k rSub { size 8{L} } \( v rSub { size 8{ ital "GSL"} } - V rSub { size 8{ ital "ThL"} } \) rSup { size 8{2} } } {}

or

k D k L ( v I V ThD ) = V ThL size 12{ sqrt { { {k rSub { size 8{D} } } over {k rSub { size 8{L} } } } } \( v rSub { size 8{I} } - V rSub { size 8{ ital "ThD"} } \) = - V rSub { size 8{ ital "ThL"} } } {}

[link] demonstrates that the input voltage is a constant as the Q-point passes through this region. This effect is also shown in [link]c; the load curve between points B and C lies on a constant vGSD size 12{v rSub { size 8{ ital "GSD"} } } {} curve.

For an input voltage greater than the value given by [link], the driver is biased in the nonsaturation region while the load is biased in the saturation region. The Q-point is now between points C and D on the load curve shown in [link]c. Equaing the two drain currents, we obtain

k D 2 ( v GSD V ThD ) v DSD v DSD 2 = k L ( v GSL V ThL ) 2 size 12{k rSub { size 8{D} } left [2 \( v rSub { size 8{ ital "GSD"} } - V rSub { size 8{ ital "ThD"} } \) v rSub { size 8{ ital "DSD"} } - v rSub { size 8{ ital "DSD"} } rSup { size 8{2} } right ]=k rSub { size 8{L} } \( v rSub { size 8{ ital "GSL"} } - V rSub { size 8{ ital "ThL"} } \) rSup { size 8{2} } } {}

which becomes

k D k L 2 ( v I V ThD ) v 0 v 0 2 = ( V ThL ) 2 size 12{ { {k rSub { size 8{D} } } over {k rSub { size 8{L} } } } left [2 \( v rSub { size 8{I} } - V rSub { size 8{ ital "ThD"} } \) v rSub { size 8{0} } - v rSub { size 8{0} } rSup { size 8{2} } right ]= \( - V rSub { size 8{ ital "ThL"} } \) rSup { size 8{2} } } {}

This equation implies that the relationship between the input and output voltages is not linear in this region.

[link] shows the voltage transfer characteristics of this inverter for three values of kD/kL size 12{ {k rSub { size 8{D} } } slash {k rSub { size 8{L} } } } {}. Also shown are the loci of transition points for the load and driver transistor as given by [link] and [link], respectively.

Voltage transfer characteristics, NMOS inverter with depletion load, for three aspect ratios

CMOS INVERTER

Complementary MOS, or CMOS, circuits contain both n-channel and p-channel MOSFETs. As we will see, the power dissipation in CMOS logic circuits is much smaller than in NMOS circuits, which makes CMOS very attractive. We will briefly review the characteristics of p-channel transistors, and will then analyze the CMOS inverter, which is the basic of most CMOS logic circuits. We will examine the CMOS NOR and NAND gates and other basic CMOS logic circuits, covering power dissipation, noise margin, fanout, and switching characteristics.

p-Channel MOSFET

[link] shows a simplified view of p-channel device. Again, the channel length is L and the channel width is W. Usually in any given fabrication process, the channel length is the same for all devices, so the channel width W is the variable in logic circuit design.

Simplified cross section of p-channel MOSFET

[link]a shows the simplified circuit symbol for the p-channel enhancement-mode device. When the body or substrate connection is needed, we will use the symbol shown in [link]b. Usually, the p-channel depletion-mode device is not used in CMOS digital circuits; therefore, it is not addressed here.

a) Siplified circuit symbol, p-channel enhancement-mode MOSFET and b) circuit symbol showing substrate connection

Normally, in an integrated circuit, more than one p-channel device will be fabricated in the same n-substrate so the p-channel transistors will exhibit a body effect. The n-substrate is connected to the most positive potential. The source terminal may be negative with respect to the substrate, therefore, voltage VBS may exist between the body and the source. The threshold voltage is

V Th = V Th 0 2eε s N d C ox [ fn + V BS fn ] = V Th 0 γ [ fn + V BS fn ] size 12{V rSub { size 8{ ital "Th"} } =V rSub { size 8{ ital "Th"0} } - { { sqrt {2eε rSub { size 8{s} } N rSub { size 8{d} } } } over {C rSub { size 8{ ital "ox"} } } } \[ sqrt {2φ rSub { size 8{ ital "fn"} } +V rSub { size 8{ ital "BS"} } } - sqrt {2φ rSub { size 8{ ital "fn"} } } \] =V rSub { size 8{ ital "Th"0} } - γ \[ sqrt {2φ rSub { size 8{ ital "fn"} } +V rSub { size 8{ ital "BS"} } } - sqrt {2φ rSub { size 8{ ital "fn"} } } \] } {}

where VTh0 size 12{V rSub { size 8{ ital "Th"0} } } {} is the threshold voltage for zero body-to-source voltage, or VBS=0 size 12{V rSub { size 8{ ital "BS"} } =0} {}. The parameter Nd size 12{N rSub { size 8{d} } } {} is the n-substrate doping concentration and φfn size 12{φ rSub { size 8{ ital "fn"} } } {} is the potential related to the substrate doping. The parameter γ size 12{γ} {} is the body effect coefficient.

The current-voltage characteristics of the p-channel MOSFET are functions of both the electrical and geometric properties of the device. When the transistor is biased in the nonsaturation region; we have vSDvSG+VTh size 12{v rSub { size 8{ ital "SD"} } <= v rSub { size 8{ ital "SG"} } +V rSub { size 8{ ital "Th"} } } {}. Therefore,

i D = k p 2 ( v SG + V Th ) v SD v SD 2 size 12{i rSub { size 8{D} } =k rSub { size 8{p} } left [2 \( v rSub { size 8{ ital "SG"} } +V rSub { size 8{ ital "Th"} } \) v rSub { size 8{ ital "SD"} } - v rSub { size 8{ ital "SD"} } rSup { size 8{2} } right ]} {}

In the saturation region, we have vSDvSG+VTh size 12{v rSub { size 8{ ital "SD"} } >= v rSub { size 8{ ital "SG"} } +V rSub { size 8{ ital "Th"} } } {}, which means that

i D = k p ( v SG + V Th ) 2 size 12{i rSub { size 8{D} } =k rSub { size 8{p} } \( v rSub { size 8{ ital "SG"} } +V rSub { size 8{ ital "Th"} } \) rSup { size 8{2} } } {}

The gate potential is negative with respect to the source. For the p-channel transistor to conduct, we must have vGS<VTh size 12{v rSub { size 8{ ital "GS"} } <V rSub { size 8{ ital "Th"} } } {}, where VTh size 12{V rSub { size 8{ ital "Th"} } } {} is negative for an enhancement-mode device. We also see that vSG>VTh size 12{v rSub { size 8{ ital "SG"} } > lline V rSub { size 8{ ital "Th"} } rline } {} when the p-channel device is conducting.

In most cases, the channel length modulation factor λ size 12{λ} {} has very little effect on the operating characteristics of MOS digital circuits. Therefore, the term λ size 12{λ} {} is assumed to be zero unless otherwise stated.

The transition point, which separates the nonsaturation and saturation bias region, is given by

v SD = v SD ( sat ) = v SG + V Th size 12{v rSub { size 8{ ital "SD"} } =v rSub { size 8{ ital "SD"} } \( ital "sat" \) =v rSub { size 8{ ital "SG"} } +V rSub { size 8{ ital "Th"} } } {}

The parameter kP size 12{k rSub { size 8{P} } } {} is the conduction parameter and given by

k P = ( 1 2 μ P C ox ) ( W L ) = k P ' 2 W L size 12{k rSub { size 8{P} } = \( { {1} over {2} } μ rSub { size 8{P} } C rSub { size 8{ ital "ox"} } \) \( { {W} over {L} } \) = { {k rSub { size 8{P} } rSup { size 8{'} } } over {2} } { {W} over {L} } } {}

As before, the hole mobility μP size 12{μ rSub { size 8{P} } } {} and oxide capacitance C0x size 12{C rSub { size 8{0x} } } {} are assumed to be constant for all devices. The hole mobility in p-channel silicon MOSFETs is approximately one-half the electron mobility μN size 12{μ rSub { size 8{N} } } {} in n-channel silicon MOSFETs. This means that a p-channel device must be approximately twice as large as that of an n-channel device in order that the two devices be electrically equivalent (that is, that they have the same conduction parameter values).

DC Analysis of the CMOS Inverter

The CMOS inverter, shown in [link], is a series combination of a p-channel and an n-channel MOSFET. The gates of the two MOSFETs are connected together to form the input and the two drains are connected together to form the output. Both transistors are enhancement-mode devices. The parameters of the NMOS are denoted by kN size 12{k"" lSub { size 8{N} } } {} and VThN size 12{V rSub { size 8{ ital "ThN"} } } {}, where VThN size 12{V rSub { size 8{ ital "ThN"} } } {}> 0, and the parameters of the PMOS are denoted by kP size 12{k rSub { size 8{P} } } {} and VThP size 12{V rSub { size 8{ ital "ThP"} } } {}, where VThP size 12{V rSub { size 8{ ital "ThP"} } } {}< 0.

CMOS inverter

[link] shows a simplified cross section of a CMOS inverter. In this process, a separate p-well region is formed within the starting n-substrate. The n-channel device is fabricated in the p-well region and the p-channel device is fabricated in n-substrate. Although other approaches, such as an n-well in a p-substrate, are also used to fabricate CMOS circuits, the important point is that the processing is more complicated for CMOS circuits than for NMOS circuits. However, the advantages of CMOS digital logic circuits over NMOS circuits justify their use.

Simplified cross section, CMOS inverter

Voltage Transfer Curve

[link] shows the transistor characteristics for both the n- and p-channel devices. We can determine the voltage transfer characteristics of the inverter by evaluating the various transistor bias regions. For vI=0 size 12{v rSub { size 8{I} } =0} {}, the NMOS device is cut off, iDN=0 size 12{i rSub { size 8{ ital "DN"} } =0} {}, and iDP=0 size 12{i rSub { size 8{ ital "DP"} } =0} {}. The PMOS source-to-gate voltage is VDD size 12{V rSub { size 8{ ital "DD"} } } {} which means that the PMOS is biased on the curve marked B in [link]b. Since the only point on the curve corresponding to iDP=0 size 12{i rSub { size 8{ ital "DP"} } =0} {} occurs at vSDP=0=VDDv0 size 12{v rSub { size 8{ ital "SDP"} } =0=V rSub { size 8{ ital "DD"} } - v rSub { size 8{0} } } {}, the output voltage is v0=VDD size 12{v rSub { size 8{0} } =V rSub { size 8{ ital "DD"} } } {}. This condition exists as long as the NMOS transistor is cut off, or vI=VThN size 12{v rSub { size 8{I} } =V rSub { size 8{ ital "ThN"} } } {}.

Current-voltage characteristics, a) NMOS transistor and b) PMOS transistor

For vI=VDD size 12{v rSub { size 8{I} } =V rSub { size 8{ ital "DD"} } } {}, the PMOS device is cut off, iDP=0 size 12{i rSub { size 8{ ital "DP"} } =0} {}. The NMOS gate-to-source voltage is VDD size 12{V rSub { size 8{ ital "DD"} } } {} and the NMOS is biased on the curve marked A in [link]a. The only point on the curve corresponding to iDN=0 size 12{i rSub { size 8{ ital "DN"} } =0} {} occurs at vDSN=v0=0 size 12{v rSub { size 8{ ital "DSN"} } =v rSub { size 8{0} } =0} {}. The output voltage is zero as long as the PMOS transistor is cut off, or vSGP=VDDvIVThP size 12{v rSub { size 8{ ital "SGP"} } =V rSub { size 8{ ital "DD"} } - v rSub { size 8{I} } <= lline V rSub { size 8{ ital "ThP"} } rline } {} . This means that the input voltage is in the range VDDVThPvIVDD size 12{V rSub { size 8{ ital "DD"} } - lline V rSub { size 8{ ital "ThP"} } rline <= v rSub { size 8{I} } <= V rSub { size 8{ ital "DD"} } } {}.

CMOS inverter output voltage for input voltage in either high state or low state

[link] shows the voltage transfer characteristics generated thus far for the CMOS inverter. The more positive output voltage corresponds to a logic 1, or VOH=VDD size 12{V rSub { size 8{ ital "OH"} } =V rSub { size 8{ ital "DD"} } } {}, and the more negative output voltage corresponds to a logic 0, or VOL=0 size 12{V rSub { size 8{ ital "OL"} } =0} {}. When the output is in the logic 1 state, the NMOS transistor is cut off; when the output is in the logic 0 state, the PMOS transistor is cut off.

Ideally, the current in the CMOS inverter in either steady-state condition is zero, which means that, ideally, the quiescent power dissipation is zero. This result is attractive feature of CMOS digital circuits. In actuality, CMOS inverter circuits exhibit a small leakage current in both steady-state conditions due to the reverse-biased pn junctions. However, the power dissipation may be in the nanowatt range rather than in miliwatt range of NMOS inverters. Without this feature, VLSI would not be possible.

When the input voltage is just greater than VThN size 12{V rSub { size 8{ ital "ThN"} } } {}, or

v I = v GSN V ThN size 12{v rSub { size 8{I} } =v rSub { size 8{ ital "GSN"} } - V rSub { size 8{ ital "ThN"} } } {}

The NMOS begins to conduct and Q-point falls on the curve marked C in [link]a. The current is small and vDSN=VDD size 12{v rSub { size 8{ ital "DSN"} } =V rSub { size 8{ ital "DD"} } } {}, which means that the NMOS is biased in the saturation region. The PMOS source-to-drain voltage is small, so the PMOS is biased in the nonsaturation region. Setting iDN=iDP size 12{i rSub { size 8{ ital "DN"} } =i rSub { size 8{ ital "DP"} } } {}, we can write

k N [ v GSN V ThN ] 2 = k P [ 2 ( v GSP + V ThP ) V SDP v SDP 2 ] size 12{k rSub { size 8{N} } \[ v rSub { size 8{ ital "GSN"} } - V rSub { size 8{ ital "ThN"} } \] rSup { size 8{2} } =k rSub { size 8{P} } \[ 2 \( v rSub { size 8{ ital "GSP"} } +V rSub { size 8{ ital "ThP"} } \) V rSub { size 8{ ital "SDP"} } - v rSub { size 8{ ital "SDP"} } rSup { size 8{2} } \] } {}

Relating the gate-to-source and drain-to-source voltages I each transistor to the inverter input and output voltages, respectively, we can rewrite [link] as follows:

k N [ v I V ThN ] 2 = k P [ 2 ( V DD v I + V ThP ) ( V DD v 0 ) ( V DD v 0 ) 2 ] size 12{k rSub { size 8{N} } \[ v rSub { size 8{I} } - V rSub { size 8{ ital "ThN"} } \] rSup { size 8{2} } =k rSub { size 8{P} } \[ 2 \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{I} } +V rSub { size 8{ ital "ThP"} } \) \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{0} } \) - \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{0} } \) rSup { size 8{2} } \] } {}

[link] relates the input and output voltage as long as the NMOS is biased in the saturation region and the PMOS is biased in the nonsaturation region.

The transition point for the PMOS is defined from

v SDP ( sat ) = v SGP + V ThP size 12{v rSub { size 8{ ital "SDP"} } \( ital "sat" \) =v rSub { size 8{ ital "SGP"} } +V rSub { size 8{ ital "ThP"} } } {}

Using [link], [link] can be written

V DD V 0 Pt = V DD v IPt + V ThP size 12{V rSub { size 8{ ital "DD"} } - V rSub { size 8{0 ital "Pt"} } =V rSub { size 8{ ital "DD"} } - v rSub { size 8{ ital "IPt"} } +V rSub { size 8{ ital "ThP"} } } {}

or

V 0 Pt = v IPt V ThP size 12{V rSub { size 8{0 ital "Pt"} } =v rSub { size 8{ ital "IPt"} } - V rSub { size 8{ ital "ThP"} } } {}

Where VOPt size 12{V rSub { size 8{ ital "OPt"} } } {} and VIPt size 12{V rSub { size 8{ ital "IPt"} } } {} are the PMOS output and input voltages, respectively, at the transition point.

The transition point for the NMOS is defined from

v SDN ( sat ) = v SGN V ThN size 12{v rSub { size 8{ ital "SDN"} } \( ital "sat" \) =v rSub { size 8{ ital "SGN"} } - V rSub { size 8{ ital "ThN"} } } {}

or

V 0 Nt = v INt V ThN size 12{V rSub { size 8{0 ital "Nt"} } =v rSub { size 8{ ital "INt"} } - V rSub { size 8{ ital "ThN"} } } {}

Where VONt size 12{V rSub { size 8{ ital "ONt"} } } {} and VINt size 12{V rSub { size 8{ ital "INt"} } } {} are the NMOS output and input voltages, respectively, at the transition point.

Keeping in mind that VThP size 12{V rSub { size 8{ ital "ThP"} } } {} is negative for an enhancement-mode PMOS, [link]b and [link]b are plotted in [link]. We determine the input voltage at the transition points by setting the two drain currents equal to each other when both transistors are biased in the saturation region. The result is

k N ( v GSN V ThN ) 2 = k P ( v SGP + V ThP ) 2 size 12{k rSub { size 8{N} } \( v rSub { size 8{ ital "GSN"} } - V rSub { size 8{ ital "ThN"} } \) rSup { size 8{2} } =k rSub { size 8{P} } \( v rSub { size 8{ ital "SGP"} } +V rSub { size 8{ ital "ThP"} } \) rSup { size 8{2} } } {}

Relating the gate-to-source voltages to the input voltage, [link] becomes

k N ( v I V ThN ) 2 = k P ( V DD v I + V ThP ) 2 size 12{k rSub { size 8{N} } \( v rSub { size 8{I} } - V rSub { size 8{ ital "ThN"} } \) rSup { size 8{2} } =k rSub { size 8{P} } \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{I} } +V rSub { size 8{ ital "ThP"} } \) rSup { size 8{2} } } {}

For this ideal case, the output voltage does not appear in [link], and the input voltage is a constant, as long as the two transistors are biased in the saturation region.

Region of the CMOS transfer characteristics indicating NMOS and PMOS transistor bias conditions. The NMOS device is biased in the saturation region in areas A and B and in the nonsaturation region in area C. The PMOS device is biased in the saturation region in area B and C and in the nonsaturation region in area A

Voltage vI size 12{v rSub { size 8{I} } } {} from [link] is the input voltage at the PMOS and NMOS transition points. Solving for vI size 12{v rSub { size 8{I} } } {}, we find that

v I = V It = V DD + V ThP + k N k P V ThN 1 + k N k P size 12{v rSub { size 8{I} } =V rSub { size 8{ ital "It"} } = { {V rSub { size 8{ ital "DD"} } +V rSub { size 8{ ital "ThP"} } + sqrt { { {k rSub { size 8{N} } } over {k rSub { size 8{P} } } } } V rSub { size 8{ ital "ThN"} } } over {1+ sqrt { { {k rSub { size 8{N} } } over {k rSub { size 8{P} } } } } } } } {}

For vI>VIt size 12{v rSub { size 8{I} } >V rSub { size 8{ ital "It"} } } {}, the NMOS is biased in the nonsaturation region and the PMOS is biased in the saturation region. Again equating the two drain currents, we have

k N 2 ( v GSN V ThN ) v DSN v DSN 2 = k P ( v SGP + V ThP ) 2 size 12{k rSub { size 8{N} } left [2 \( v rSub { size 8{ ital "GSN"} } - V rSub { size 8{ ital "ThN"} } \) v rSub { size 8{ ital "DSN"} } - v rSub { size 8{ ital "DSN"} } rSup { size 8{2} } right ]=k rSub { size 8{P} } \( v rSub { size 8{ ital "SGP"} } +V rSub { size 8{ ital "ThP"} } \) rSup { size 8{2} } } {}

Also, relating the gate-to-source and drain-to-source voltages to the input and output voltages, respectively, modifies [link], as follows:

k N 2 ( v I V ThN ) v 0 v 0 2 = k P ( V DD v I + V ThP ) 2 size 12{k rSub { size 8{N} } left [2 \( v rSub { size 8{I} } - V rSub { size 8{ ital "ThN"} } \) v rSub { size 8{0} } - v rSub { size 8{0} } rSup { size 8{2} } right ]=k rSub { size 8{P} } \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{I} } +V rSub { size 8{ ital "ThP"} } \) rSup { size 8{2} } } {}

[link] relates the input and output voltages as long as the NMOS is biased in the nonsaturation region and the PMOS in the saturation region. [link] shows the completed voltage transfer curve.

Complete voltage transfer characteristics, CMOS inverter

CMOS Inverter Currents

When the CMOS inverter input voltage is either a logic 0 or a logic 1, the current in the circuit is zero since one of the transistor is off. When the input voltage is in the range VThN<vI<VDD/VThP/ size 12{V rSub { size 8{ ital "ThN"} } <v rSub { size 8{I} } <V rSub { size 8{ ital "DD"} } - lline V rSub { size 8{ ital "ThP"} } rline } {}, both transistors conducting and a current exists in the inverter.

When the NMOS transistor is biased in the saturation region, the current in the inverter is controlled by vGSN size 12{v rSub { size 8{ ital "GSN"} } } {} and the PMOS source-to-drain voltage adjusts such that iDP=iDN size 12{i rSub { size 8{ ital "DP"} } =i rSub { size 8{ ital "DN"} } } {}. This condition is demonstrated in [link]. We can write

i DN = i DP = k N ( v GSN V ThN ) 2 = k N ( v I V ThN ) 2 size 12{i rSub { size 8{ ital "DN"} } =i rSub { size 8{ ital "DP"} } =k rSub { size 8{N} } \( v rSub { size 8{ ital "GSN"} } - V rSub { size 8{ ital "ThN"} } \) rSup { size 8{2} } =k rSub { size 8{N} } \( v rSub { size 8{I} } - V rSub { size 8{ ital "ThN"} } \) rSup { size 8{2} } } {}

Taking the square root yields

i DN = i DP = k N ( v I V ThN ) size 12{ sqrt {i rSub { size 8{ ital "DN"} } } = sqrt {i rSub { size 8{ ital "DP"} } } = sqrt {k rSub { size 8{N} } } \( v rSub { size 8{I} } - V rSub { size 8{ ital "ThN"} } \) } {}

As long as the NMOS transistor is biased in the saturation region, the square root of the CMOS inverter is a linear function of the input voltage.

When the PMOS transistor is biased in the saturation region, the current in the inverter is controlled by vSGP size 12{v rSub { size 8{ ital "SGP"} } } {} and the NMOS drain-to-source voltage adjusts such that iDP=iDN size 12{i rSub { size 8{ ital "DP"} } =i rSub { size 8{ ital "DN"} } } {}. This condition is demonstrated in [link]. Using [link], we can write that

i DN = i DP = k P ( V DD v I + V ThP ) 2 size 12{i rSub { size 8{ ital "DN"} } =i rSub { size 8{ ital "DP"} } =k rSub { size 8{P} } \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{I} } +V rSub { size 8{ ital "ThP"} } \) rSup { size 8{2} } } {}

Taking the square root yields

i DN = i DP = k N ( V DD v I + V ThP ) size 12{ sqrt {i rSub { size 8{ ital "DN"} } } = sqrt {i rSub { size 8{ ital "DP"} } } = sqrt {k rSub { size 8{N} } } \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{I} } +V rSub { size 8{ ital "ThP"} } \) } {}

As long as the PMOS transistor is biased in the saturation region, the square root of the CMOS inverter current is also a linear function of the input voltage.

[link] shows plots of the square root of the inverter current for two values of VDD size 12{V rSub { size 8{ ital "DD"} } } {} bias. These curves are quasi-static characteristics in that no current is diverted into a capacitive load. At the inverter switching point, both transistors are biased in the saturation region and both transistors influence the current. At the switching point, actual current characteristic does not have a sharp discontinuity in the slope. The channel length modulation parameter λ size 12{λ} {} also influences the current characteristics at the peak values. However, the curves in [link] are excellent approximations.

Square root of inverter current versus input voltage, CMOS inverter biased at either VDD = 5 V or VDD = 10 V

Power Dissipation

In the quiescent or static state, in which the input is either a logic 0 or logic 1; power dissipation in the CMOS inverter is virtually zero. However, during the switching cycle from one to another, current flows and power is dissipated. The CMOS inverter and logic circuits are used to drive other MOS devices for which the input impedance is a capacitance. During the switching cycle, then, this load capacitance must be charged and discharged.

In [link], the output switches from its low to its high state. The input is switched low, the PMOS gate is at zero volts, and the NMOS is cut off. The load capacitance CL must be charged through the PMOS device. Power dissipation in the PMOS transistor is given by

P P = i L v SD = i L ( V DD v 0 ) size 12{P rSub { size 8{P} } =i rSub { size 8{L} } v rSub { size 8{ ital "SD"} } =i rSub { size 8{L} } \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{0} } \) } {}

The current and the output voltage are related

i L = C L dv 0 dt size 12{i rSub { size 8{L} } =C rSub { size 8{L} } { { ital "dv" rSub { size 8{0} } } over { ital "dt"} } } {}

The energy dissipated in the PMOS device as the output switches from low to high is

= C L V DD 0 V DD dv 0 C L 0 V DD v 0 dv 0 cSub { size 8{ infinity } } =C rSub { size 8{L} } V rSub { size 8{ ital "DD"} } Int cSub { size 8{0} } cSup { size 8{V rSub { size 6{ ital "DD"} } } } { ital "dv" rSub { size 8{0} } } - C rSub {L} Int cSub {0} cSup {V rSub { size 6{ ital "DD"} } } { size 12{v rSub {0} size 12{ ital "dv" rSub {0} }} } } {}

which yields

E P = C L V DD v 0 / 0 V DD C L v 0 2 2 / 0 V DD = 1 2 C L V DD 2 size 12{E rSub { size 8{P} } =C rSub { size 8{L} } V rSub { size 8{ ital "DD"} } v rSub { size 8{0} } \rline rSub { size 8{0} } rSup { size 8{V rSub { size 6{ ital "DD"} } } } - C rSub {L} { { size 12{v rSub {0} rSup {2} } } over { size 12{2} } } \rline rSub {0} rSup {V rSub { size 6{ ital "DD"} } } size 12{ {}= { {1} over {2} } C rSub {L} } size 12{V rSub { ital "DD"} rSup {2} }} {}
CMOS inverter when the output switches: a) low to high and b) high to low

After the output has switched high, the energy stored in the load capacitance is (1/2) CLVDD2 size 12{C rSub { size 8{L} } V rSub { size 8{ ital "DD"} } rSup { size 8{2} } } {}. When the inverter input goes high, the output switches low, as shown in [link]b. The PMOS device is cut off, the NMOS transistor conducts and the load capacitance discharges through the NMOS device. All the energy stored in the load capacitance is dissipated in the NMOS. As the output switches from high to low, the energy dissipated in the NMOS transistor is

E N = 1 / 2C L V DD 2 size 12{E rSub { size 8{N} } =1/2C rSub { size 8{L} } V rSub { size 8{ ital "DD"} } rSup { size 8{2} } } {}

The total energy dissipated in the inverter during one switching cycle is therefore

E T = E P + E N = 1 / 2C L V DD 2 + 1 / 2C L V DD 2 = C L V DD 2 size 12{E rSub { size 8{T} } =E rSub { size 8{P} } +E rSub { size 8{N} } =1/2C rSub { size 8{L} } V rSub { size 8{ ital "DD"} } rSup { size 8{2} } +1/2C rSub { size 8{L} } V rSub { size 8{ ital "DD"} } rSup { size 8{2} } =C rSub { size 8{L} } V rSub { size 8{ ital "DD"} } rSup { size 8{2} } } {}

If the inverter is switched at frequency, the power dissipated in the inverter is

P = fE T = fC L V DD 2 size 12{P= ital "fE" rSub { size 8{T} } = ital "fC" rSub { size 8{L} } V rSub { size 8{ ital "DD"} } rSup { size 8{2} } } {}

P = fE T = fC L V DD 2 size 12{P= ital "fE" rSub { size 8{T} } = ital "fC" rSub { size 8{L} } V rSub { size 8{ ital "DD"} } rSup { size 8{2} } } {}

[link] shows that the power dissipated in a CMOS inverter is directly proportional to the switching frequency and to VDD2 size 12{V rSub { size 8{ ital "DD"} } rSup { size 8{2} } } {}. The drive in digital IC design is toward lower supply voltages, such as 3 volts or less.

The power dissipation is proportional to VDD2 size 12{V rSub { size 8{ ital "DD"} } rSup { size 8{2} } } {}. In some digital circuits, such as watches, the CMOS logic circuits are biased at VDD=1.5V size 12{V rSub { size 8{ ital "DD"} } =1 "." 5V} {}, so the power dissipation is substantially reduced.

Noise Margin

[link] shows the general voltage transfer function of a CMOS inverter. The parameters VIH size 12{V rSub { size 8{ ital "IH"} } } {} and VIL size 12{V rSub { size 8{ ital "IL"} } } {} determine the noise margins and are defined as the points at which

dv 0 dv I = 1 size 12{ { { ital "dv" rSub { size 8{0} } } over { ital "dv" rSub { size 8{I} } } } = - 1} {}

which is the same as for the NMOS inverters. For vI<VIL size 12{v rSub { size 8{I} } <V rSub { size 8{ ital "IL"} } } {} and vI>VIH size 12{v rSub { size 8{I} } >V rSub { size 8{ ital "IH"} } } {}, the gain is less than unity and the output changes slowly with input voltage. However, when the input voltage is in the range VIL<vI<VIH size 12{V rSub { size 8{ ital "IL"} } <v rSub { size 8{I} } <V rSub { size 8{ ital "IH"} } } {}, the inverter gain is greater than unity, and the output signal changes rapidly with a change in the input voltage. This is the undefined range.

The noise margins are defined as

NM L = V IL V OLU size 12{ ital "NM" rSub { size 8{L} } =V rSub { size 8{ ital "IL"} } - V rSub { size 8{ ital "OLU"} } } {}

and

NM N = V OHU V IH size 12{ ital "NM" rSub { size 8{N} } =V rSub { size 8{ ital "OHU"} } - V rSub { size 8{ ital "IH"} } } {}

Point VIL size 12{V rSub { size 8{ ital "IL"} } } {} occurs when the NMOS is biased in saturation region and the PMOS is biased in nonsaturation region. The relationship between the input and output voltages is given by [link]. Taking the derivative with respect to vI size 12{v rSub { size 8{I} } } {} yields

2k N [ v I V ThN ] = k P [ 2 ( V DD v 0 ) 2 ( V DD v I + V ThP ) dv 0 dv I 2 ( V DD v 0 ) ( dv 0 dv I ) ] size 12{2k rSub { size 8{N} } \[ v rSub { size 8{I} } - V rSub { size 8{ ital "ThN"} } \] =k rSub { size 8{P} } \[ - 2 \( V rSub { size 8{ ital "DD"} } - v"" lSub { size 8{0} } \) - 2 \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{I} } +V rSub { size 8{ ital "ThP"} } \) { { ital "dv" rSub { size 8{0} } } over { ital "dv" rSub { size 8{I} } } } - 2 \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{0} } \) \( - { { ital "dv" rSub { size 8{0} } } over { ital "dv" rSub { size 8{I} } } } \) \] } {}

Setting the derivative equal to -1, we have

k N [ v I V ThN ] = k P [ ( V DD v 0 ) ( V DD v I + V ThP ) + ( V DD v 0 ) ] size 12{k rSub { size 8{N} } \[ v rSub { size 8{I} } - V rSub { size 8{ ital "ThN"} } \] = - k rSub { size 8{P} } \[ \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{0} } \) - \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{I} } +V rSub { size 8{ ital "ThP"} } \) + \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{0} } \) \] } {}

Solving for v0 produces

v 0 = 1 2 { ( 1 + k N k P ) v I + V DD ( k N k P ) V ThN V ThP } size 12{v rSub { size 8{0} } = { {1} over {2} } lbrace \( 1+ { {k rSub { size 8{N} } } over {k rSub { size 8{P} } } } \) v rSub { size 8{I} } +V rSub { size 8{ ital "DD"} } - \( { {k rSub { size 8{N} } } over {k rSub { size 8{P} } } } \) V rSub { size 8{ ital "ThN"} } - V rSub { size 8{ ital "ThP"} } rbrace } {}
k N [ v I V ThN ] = k P [ ( V DD v 0 ) ( V DD v I + V ThP ) + ( V DD v 0 ) ] size 12{k rSub { size 8{N} } \[ v rSub { size 8{I} } - V rSub { size 8{ ital "ThN"} } \] = - k rSub { size 8{P} } \[ \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{0} } \) - \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{I} } +V rSub { size 8{ ital "ThP"} } \) + \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{0} } \) \] } {}

Combining [link] and, [link], we see that voltage VIL is

v I = V IL = V ThN + ( V DD + V ThP V ThN ) ( k N k P 1 ) [ 2 k N k P k N k P + 3 1 ] size 12{v rSub { size 8{I} } =V rSub { size 8{ ital "IL"} } =V rSub { size 8{ ital "ThN"} } + { { \( V rSub { size 8{ ital "DD"} } +V rSub { size 8{ ital "ThP"} } - V rSub { size 8{ ital "ThN"} } \) } over { \( { {k rSub { size 8{N} } } over {k rSub { size 8{P} } } } - 1 \) } } \[ 2 sqrt { { { { {k rSub { size 8{N} } } over {k rSub { size 8{P} } } } } over { { {k rSub { size 8{N} } } over {k rSub { size 8{P} } } } +3} } - 1} \] } {}
CMOS inverter voltage transfer characteristics with defined noise margins

If kN=kP size 12{k rSub { size 8{N} } =k rSub { size 8{P} } } {}, [link] becomes indefinite, since a zero would exist in both the numerator and the denominator. However when kN=kP size 12{k rSub { size 8{N} } =k rSub { size 8{P} } } {}. [link] becomes

2v I + V DD V ThN V ThP v 0 = V OHU ( k N k P ) = 1 2 size 12{v rSub { size 8{0} } =V rSub { size 8{ ital "OHU" \( k rSub { size 6{N} } - k rSub { size 6{P} } \) } } = { {1} over {2} } lbrace 2v rSub {I} size 12{+V rSub { ital "DD"} } size 12{ - V rSub { ital "ThN"} } size 12{ - V rSub { ital "ThP"} } size 12{ rbrace }} {}

Substituting [link] into [link] yields a voltage VIL of

V DD V ThN + V ThP + 3 8 v I = V ILU ( k N k P ) = V ThN size 12{v rSub { size 8{I} } =V rSub { size 8{ ital "ILU" \( k rSub { size 6{N} } - k rSub { size 6{P} } \) } } =V rSub { ital "ThN"} size 12{+ { {3} over {8} } lbrace V rSub { ital "DD"} } size 12{ - V rSub { ital "ThN"} } size 12{+V rSub { ital "ThP"} } size 12{ rbrace }} {}

For kN=kP size 12{k rSub { size 8{N} } =k rSub { size 8{P} } } {}.

Point VIH size 12{V rSub { size 8{ ital "IH"} } } {} occurs when the NMOS is biased in the nonsaturation region and the PMOS is biased in the saturation region. The relationship between the input and output voltages is given by [link]. Taking the derivative with respect to vI size 12{v rSub { size 8{I} } } {} yields

k N [ 2 ( v I V ThN ) dv 0 dv I + 2v 0 2v 0 dv 0 dv I ] = 2k P ( V DD v I + V ThP ) ( 1 ) size 12{k rSub { size 8{N} } \[ 2 \( v rSub { size 8{I} } - V rSub { size 8{ ital "ThN"} } \) { { ital "dv" rSub { size 8{0} } } over { ital "dv" rSub { size 8{I} } } } +2v rSub { size 8{0} } - 2v rSub { size 8{0} } { { ital "dv" rSub { size 8{0} } } over { ital "dv" rSub { size 8{I} } } } \] =2k rSub { size 8{P} } \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{I} } +V rSub { size 8{ ital "ThP"} } \) \( - 1 \) } {}

Setting the derivative equal to -1, we find that

k N [ ( v I V ThN ) + v 0 + v 0 ] = k P ( V DD v I + V ThP ) size 12{k rSub { size 8{N} } \[ - \( v rSub { size 8{I} } - V rSub { size 8{ ital "ThN"} } \) +v rSub { size 8{0} } +v rSub { size 8{0} } \] = - k rSub { size 8{P} } \( V rSub { size 8{ ital "DD"} } - v rSub { size 8{I} } +V rSub { size 8{ ital "ThP"} } \) } {}

The output v0 is then

v 0 = V OLU = v I ( 1 + k N k P ) V DD ( k N k P ) V ThN V ThP 2 ( k N k P ) size 12{v rSub { size 8{0} } =V rSub { size 8{ ital "OLU"} } = { {v rSub { size 8{I} } \( 1+ { {k rSub { size 8{N} } } over {k rSub { size 8{P} } } } \) - V rSub { size 8{ ital "DD"} } - \( { {k rSub { size 8{N} } } over {k rSub { size 8{P} } } } \) V rSub { size 8{ ital "ThN"} } - V rSub { size 8{ ital "ThP"} } } over {2 \( { {k rSub { size 8{N} } } over {k rSub { size 8{P} } } } \) } } } {}

Combining [link] and [link], yields VIH as

v I = V IH = V ThN + V DD V ThN + V ThP ( k N k P 1 ) [ 2 k N k P 3 k N k P + 1 1 ] size 12{v rSub { size 8{I} } =V rSub { size 8{ ital "IH"} } =V rSub { size 8{ ital "ThN"} } + { {V rSub { size 8{ ital "DD"} } - V rSub { size 8{ ital "ThN"} } +V rSub { size 8{ ital "ThP"} } } over { \( { {k rSub { size 8{N} } } over {k rSub { size 8{P} } } } - 1 \) } } \[ { {2 { {k rSub { size 8{N} } } over {k rSub { size 8{P} } } } } over { sqrt {3 { {k rSub { size 8{N} } } over {k rSub { size 8{P} } } } +1} } } - 1 \] } {}

Again, if kN=kP size 12{k rSub { size 8{N} } =k rSub { size 8{P} } } {}, [link] becomes indefinite, since a zero would exist in both the numerator and the denominator. However, when kN=kP size 12{k rSub { size 8{N} } =k rSub { size 8{P} } } {}, [link] becomes

v 0 = V OLU ( k N k P ) = 1 2 2v I V DD V ThN V ThP size 12{v rSub { size 8{0} } =V rSub { size 8{ ital "OLU" \( k rSub { size 6{N} } - k rSub { size 6{P} } \) } } = { {1} over {2} } left lbrace 2v rSub {I} size 12{ - V rSub { ital "DD"} } size 12{ - V rSub { ital "ThN"} } size 12{ - V rSub { ital "ThP"} } right rbrace } {}

Substituting [link] into [link] yields a voltage VIH size 12{V rSub { size 8{ ital "IH"} } } {} of

v I = V IH ( k N k P ) = V ThN + 5 8 V DD V ThN + V ThP size 12{v rSub { size 8{I} } =V rSub { size 8{ ital "IH" \( k rSub { size 6{N} } - k rSub { size 6{P} } \) } } =V rSub { ital "ThN"} size 12{+ { {5} over {8} } left lbrace V rSub { ital "DD"} size 12{ - V rSub { ital "ThN"} } size 12{+V rSub { ital "ThP"} } right rbrace }} {}

v I = V IH ( k N k P ) = V ThN + 5 8 V DD V ThN + V ThP size 12{v rSub { size 8{I} } =V rSub { size 8{ ital "IH" \( k rSub { size 6{N} } - k rSub { size 6{P} } \) } } =V rSub { ital "ThN"} size 12{+ { {5} over {8} } left lbrace V rSub { ital "DD"} size 12{ - V rSub { ital "ThN"} } size 12{+V rSub { ital "ThP"} } right rbrace }} {}

CMOS LOGIC CIRCUITS

Large-scale integrated CMOS circuits are used extensively in digital systems, including watches, calculators, and microprocessors. We will look at the basic CMOS NOR and NAND gates, CMOS transmission gate, and will then analyze more advanced clocked CMOS logic circuits.

Basic CMOS Logic Gates

In the basic or classical CMOS basic circuits, the gates of a PMOS and an NMOS are connected together, and additional PMOS and NMOS transistors are connected in series or parallel to form specific logic circuits. [link]a shows a two-input CMOS NOR gate. The NMOS transistor are in parallel and the PMOS transistors are in series.

a) Two-input CMOS NOR logic circuit and b) truth table

If A = B = 0, then both MNA size 12{M rSub { size 8{ ital "NA"} } } {} and MNB size 12{M rSub { size 8{ ital "NB"} } } {} are cut off, and the current in the circuit is zero. The source-to-gate voltage of MPA size 12{M rSub { size 8{ ital "PA"} } } {} is VDD but the current is zero; therefore, vSD size 12{v rSub { size 8{ ital "SD"} } } {} of MPA size 12{M rSub { size 8{ ital "PA"} } } {} is zero. This means that the source-to-gate voltage of MPB size 12{M rSub { size 8{ ital "PB"} } } {} is also VDD size 12{V rSub { size 8{ ital "DD"} } } {}. However, since the current is zero, then vSD size 12{v rSub { size 8{ ital "SD"} } } {} of MPB size 12{M rSub { size 8{ ital "PB"} } } {} is zero. The output voltage is therefore v0=VDD=logic1 size 12{v rSub { size 8{0} } =V rSub { size 8{ ital "DD"} } ="log" ital "ic"1} {}.

If the input signals are A = logic 1 = VDD size 12{V rSub { size 8{ ital "DD"} } } {} and B = logic 0 = 0 V, then the source-to-gate voltage of MPA size 12{M rSub { size 8{ ital "PA"} } } {} is zero, and the current in the circuit is again zero. The gate-to-source voltage of MNA size 12{M rSub { size 8{ ital "NA"} } } {} is VDD but the current is zero, so vDS size 12{v rSub { size 8{ ital "DS"} } } {} of MNA size 12{M rSub { size 8{ ital "NA"} } } {} is zero and v0 size 12{v rSub { size 8{0} } } {} = 0 = logic 0. This result also holds for the other two possible input conditions, since at least one PMOS is cut off and at least one NMOS is in a conducting state. The NOR logic function is shown in the truth table of [link]b.

A two-input CMOS NAND logic gate is shown in [link]a. In this case, the NMOS transistors are in series and the PMOS transistors are in parallel. If A = B = logic 0, the two NMOS devices are cut off and the current in the circuit is zero. The source-to-gate voltage of each PMOS device is VDD size 12{V rSub { size 8{ ital "DD"} } } {}, which means that both PMOS transistors are in a conducting state. However, since the current is zero, vSD for both MPA size 12{M rSub { size 8{ ital "PA"} } } {} and MPB size 12{M rSub { size 8{ ital "PB"} } } {} is zero and v0=VDD size 12{v rSub { size 8{0} } =V rSub { size 8{ ital "DD"} } } {}. This result applies if at least one input is a logic 0.

a) Two-input CMOS NAND logic and b) truth table

If the input signals A = B = logic 1 = VDD size 12{V rSub { size 8{ ital "DD"} } } {}, then both PMOS transistors are cut off, and the current in the circuit is zero. With A = logic 1, MNA size 12{M rSub { size 8{ ital "NA"} } } {} is in conducting state; however, since the current is zero, then vDS size 12{v rSub { size 8{ ital "DS"} } } {} of MNA size 12{M rSub { size 8{ ital "NA"} } } {} is zero. This means that the gate-to-source voltage of MNB size 12{M rSub { size 8{ ital "NB"} } } {} is also VDD and MNB size 12{M rSub { size 8{ ital "NB"} } } {} is also in a conducting state. However, since the current is zero, then vDS size 12{v rSub { size 8{ ital "DS"} } } {} of MNB size 12{M rSub { size 8{ ital "NB"} } } {} is zero, and v0 size 12{v rSub { size 8{0} } } {} = logic 0 = 0 V. The NAND logic function is shown in the truth table in [link]b.

In both the CMOS NOR and NAND logic gates, the current in the circuit is essentially zero when the inputs are in any quiescent state. Only very small reverse-bias pn junction currents exist. The quiescent power dissipation is therefore essentially zero. Again, this is the primary advantage of CMOS circuits.

To obtain symmetrical switching times or propagation delay times for the high-to-low and low-to-high output transitions, the effective conduction parameters of the complete PMOS and composite NMOS devices must be equal. For the CMOS NOR logic gate shown in [link], we can write

k CN = k CP size 12{k rSub { size 8{ ital "CN"} } =k rSub { size 8{ ital "CP"} } } {}

where kCN size 12{k rSub { size 8{ ital "CN"} } } {} is the effective conduction parameter of the two parallel NMOS devices and kCP size 12{k rSub { size 8{ ital "CP"} } } {} is the effective conduction parameter of the two series PMOS transistors.

The effective channel width of the parallel NMOS devices is twice the individual width; similarly, the effective channel length of the series PMOS devices is twice the individual length. [link] is then

k N ' 2 ( 2W L ) N = k P ' 2 ( W 2L ) P size 12{ { {k rSub { size 8{N} } rSup { size 8{'} } } over {2} } \( { {2W} over {L} } \) rSub { size 8{N} } = { {k rSub { size 8{P} } rSup { size 8{'} } } over {2} } \( { {W} over {2L} } \) rSub { size 8{P} } } {}

Since kN'=2kP' size 12{k rSub { size 8{N} } rSup { size 8{'} } =2k rSub { size 8{P} } rSup { size 8{'} } } {}, [link] becomes

2 ( 2W L ) N = ( W 2L ) P size 12{2 \( { {2W} over {L} } \) rSub { size 8{N} } = \( { {W} over {2L} } \) rSub { size 8{P} } } {}

or

( 2W L ) N = 8 ( W 2L ) P size 12{ \( { {2W} over {L} } \) rSub { size 8{N} } =8 \( { {W} over {2L} } \) rSub { size 8{P} } } {}

This equation states that in the two-input CMOS NOR gate, the width-to-length ratio of the PMOS transistors must be approximately eight times that the NMOS devices in order to provide the current required for symmetrical switching.

[link] shows the voltage transfer and current characteristics of the two-input CMOS NOR logic gate from a PSpice analysis. [link]a shows the results when the two inputs are tied together; the circuit then behaves as a composite inverter. When the width-to-length ratios of the PMOS devices are eight times those of the NMOS devices, the transfer characteristics are symmetrical as expected.

Voltage transfer characteristics, two-input CMOS NOR logic cicuit for various width-to-length ratios: a) A = B = vI and b) A = 0, B = vI

Also shown are the voltage transfer and current characteristics if the p-channel width-to-length ratios are only twice as large as those of the n-channel devices. The resulting switching characteristics are not symmetrical, and the maximum current is significantly reduced, implying that the switching times would be longer for this case.

[link]b shows the transfer characteristics for input A held low and input B varied from zero to VDD size 12{V rSub { size 8{ ital "DD"} } } {}. This corresponds to only one input changing states while the other input remains constant. In this case, transistor MPA size 12{M rSub { size 8{ ital "PA"} } } {} is on and transistor MNA size 12{M rSub { size 8{ ital "NA"} } } {} is cut off. The resulting circuit is essentially equivalent to a simple CMOS inverter. When the width-to-length ratios of the PMOS devices are twice as large as those of the NMOS devices, the transfer characteristics are almost symmetrical, as we would expect for the CMOS inverter. When the PMOS width-to-length ratios are increased, the voltage transfer characteristic is no longer symmetrical. However, the maximum current is larger since the PMOS devices are lager, and this shortens the switching times. These results shown that we obtain good transfer characteristics when (W/L)P=8(W/L)N size 12{ \( {W} slash {L \) rSub { size 8{P} } =8 \( } {W} slash {L \) rSub { size 8{N} } } } {} for the two-input CMOS NOR circuit.

Clocked CMOS Logic

The CMOS NOR and NAND logic gates presented in the last section are called static circuits because periodic clock signals are not used. In practice, all systems employing sequential logic require clock signal for proper synchronized operation. Static CMOS NOR and NAND gates can be redesigned with an added clocked signal to eliminate many of the PMOS devices, while maintaining the low-power CMOS characteristics. In general, PMOS devices must be larger than NMOS transistors. Eliminating as many PMOS devices as possible reduces the required chip area as well as the input capacitance.

Clocked CMOS circuits are dynamic circuits that generally precharge the output node to a particular level when the clock is at a logic 0. Consider the circuit shown in [link]. When the clock signal is low, or CLK = logic 0, MN1 is cut off and the current in the circuit is zero. Transistor MP1 is in a conducting state, but since the current is zero, then v01 size 12{v rSub { size 8{"01"} } } {} charges to vDD size 12{v rSub { size 8{ ital "DD"} } } {}. A high input to the CMOS inverter means that v0=0 size 12{v rSub { size 8{0} } =0} {}. During this phase of the clock signal, the gate of MP2 size 12{M rSub { size 8{P2} } } {} is precharged.

Simple clocked CMOS logic circuit

During the next phase, when the clock signal goes high, or CLK = logic 1, transistor MP1 size 12{M rSub { size 8{P1} } } {} cuts off and MN1 size 12{M rSub { size 8{N1} } } {} is biased in a conducting state. If input A = logic 0, then MNA size 12{M rSub { size 8{ ital "NA"} } } {} is cut off and there is no discharge path for voltage v01 size 12{v rSub { size 8{"01"} } } {}; therefore, v01 size 12{v rSub { size 8{"01"} } } {} remains charged at v01=VDD size 12{v rSub { size 8{"01"} } =V rSub { size 8{ ital "DD"} } } {}. However, if CLK = logic 1 and A = logic 1, then both MN1 size 12{M rSub { size 8{N1} } } {} and MNA size 12{M rSub { size 8{ ital "NA"} } } {} are biased in a conducting state providing a discharge path for voltage v01 size 12{v rSub { size 8{"01"} } } {}. As v01 size 12{v rSub { size 8{"01"} } } {} is pulled out, output signal v0 size 12{v rSub { size 8{0} } } {} goes high.

The quiescent power dissipation in this circuit is essentially zero, as it is precharge output v0 size 12{v rSub { size 8{0} } } {}, if it has been pulled low during the previous halt clock cycle.

The single NMOS transistor MNA in [link] can be replaced by a more complex NMOS logic circuit. Consider the two circuits shown in [link]. When CLK = logic 0, then MN1 cuts off and MP1 is in its conducting state in both circuits; then v01=VDD size 12{v rSub { size 8{"01"} } =V rSub { size 8{ ital "DD"} } } {} and v0 size 12{v rSub { size 8{0} } } {} = 0. For the circuit shown in [link]b, when CLK = logic 1, voltage v01 is discharged to ground or pulled low only when A = B = logic 1. In this case, v0 size 12{v rSub { size 8{0} } } {} goes high. The circuit in [link]a performs the AND function. Similarly, the circuit in [link]b performs the OR function.

Clocked CMOS logic circuit: a) AND function and b) OR function

The advantage of the precharge technique is that it avoids the use of extensive pullup networks: only one PMOS and one NMOS transistor are required. This leads to an almost 50-percent saving in silicon area for larger circuits, and a reduction in capacitance resulting in higher speed. In addition, the static or quiescent power dissipation is essentially zero, so the circuit maintains the characteristics of CMOS circuits.

The AND and OR logic transistors MNA size 12{M rSub { size 8{ ital "NA"} } } {} and MNB size 12{M rSub { size 8{ ital "NB"} } } {} in [link]a and [link]b can be replaced by a generalized logic network as indicated in [link]. The box marked f is an NMOS pull-down network that performs a particular logic function f(X) of n-variables, where X = ( x1 size 12{x rSub { size 8{1} } } {}, x2 size 12{x rSub { size 8{2} } } {}, .... xn size 12{x rSub { size 8{n} } } {}). The NMOS circuit is a combination of series-parallel interconnections of n transistors. When the clock signal goes high, the CMOS inverter output is the logic function f(X).

The set of X inputs to the logic circuit f is derived from the outputs of other CMOS inverters and clocked logic circuits. This means that when CLK = logic 0, the outputs of all n-variables X = ( x1 size 12{x rSub { size 8{1} } } {}, x2 size 12{x rSub { size 8{2} } } {}, .... xn size 12{x rSub { size 8{n} } } {}) are a logic 0 during the precharge cycle. During this time, all NMOS transistors are cut off, which guarantees that output v01 size 12{v rSub { size 8{"01"} } } {} can be precharged to vDD size 12{v rSub { size 8{ ital "DD"} } } {}. There can be only one possible transition at each node during the evaluation phase. The output of the CMOS buffer may change from a 0 to 1.

Generalized CMOS clocked logic circuit

An example of a two-stage domino CMOS circuit is shown in [link]. During the precharge cycle, in which CLK = logic 0, nodes 1 and 3 are charged high and nodes 2 and 4 are low. Also during this time, the inputs A, B, and C are all a logic 0. During the evaluation phase, in which CLK = logic 1, if A = C = logic 1 and B = logic 0, then node 1 remains charged high, f1 size 12{f rSub { size 8{1} } } {} = logic 0, and node 3 discharges MNC size 12{M rSub { size 8{ ital "NC"} } } {} causing f2 size 12{f rSub { size 8{2} } } {} to go high. However, if, during the evaluation phase, A = B = logic 1 and C = logic 0, then node 1 is pulled low causing f1 size 12{f rSub { size 8{1} } } {} to go high, which in turn causes node 3 to go low and forces node 4 high. This chain of actions thus leads to the term domino circuit.

Two-stage clocked or domino CMOS logic circuit

Fanout

The term fanout refers to the number of load gates of similar design connected to the output of a driver gate. The maximum fanout is the maximum number of load gates that may be connected to the output. Since the CMOS logic gate will be driving other CMOS logic gates, the quiescent current required to drive the other CMOS gates is essentially zero. In terms of static characteristics, the maximum fanout is virtually limitless.

However, each additional load gate increased the load capacitance that must be charged and discharged as the driver gate changes state, and this places a practical limit on the maximum allowable number of load gates. [link] shows a constant current charging a load capacitance. The voltage across the capacitance is

v 0 = 1 C L I 0 dt = I 0 t C L size 12{v rSub { size 8{0} } = { {1} over {C rSub { size 8{L} } } } Int {I rSub { size 8{0} } ital "dt"= { {I rSub { size 8{0} } t} over {C rSub { size 8{L} } } } } } {}
Constant current source charging a load capacitor

The load capacitance CL size 12{C rSub { size 8{L} } } {} is proportional to the number N of load gates and to the input gate capacitance of each load. The current I0 size 12{I rSub { size 8{0} } } {} is proportional to the conduction parameter of the driver transistor. The switching time is therefore

t = N ( W × L ) L ( W L ) D size 12{t prop { {N \( W times L \) rSub { size 8{L} } } over { \( { {W} over {L} } \) rSub { size 8{D} } } } } {}

where the gate capacitance is directly proportional to the gate area of the load (WxL)L size 12{ \( ital "WxL" \) rSub { size 8{L} } } {}, and the conduction parameter of the driver transistor is proportional to the width-to-length ratio. [link] can be rewritten as

t = N ( L L L D ) ( W L W D ) size 12{t prop N \( L rSub { size 8{L} } L rSub { size 8{D} } \) \( { {W rSub { size 8{L} } } over {W rSub { size 8{D} } } } \) } {}

The propagation delay time, which is proportional to the switching time, increases as the fanout increases. The propagation delay time could be reduced by increasing the size of the driver transistor. However, in any given driver logic circuit and load logic circuit, the sizes of the devices are generally fixed. Consequently, the maximum fanout is limited by the maximum acceptable propagation delay time.

Propagation delay times are typically, measured with a specified load capacitance. The average propagation delay time of a two-input CMOS NOR gate (such as an SN74HC36) is 25 ns, measured with a load capacitance of CL size 12{C rSub { size 8{L} } } {} = 50 pF. Since the input capacitance is CI = 10 pF, a fanout of five would produce a 50 pF load capacitance. A fanout larger than five would increase the load capacitance, and would also increase the propagation delay time above the specified value.

TRANSMISSION GATES

Transistors can act as switches between driving circuits and load circuits. Transistors used to perform this function are called transmission gates. We will examine NMOS and CMOS transmission gates, which can also be configured to perform logic functions.

NMOS Transmission Gate

The NMOS enhancement-mode transistor shown in [link]a is a transmission gate connected to a load capacitance CL size 12{C rSub { size 8{L} } } {}, which could be the input gate capacitance of a MOS logic circuit. In this circuit, the transistor must be bilateral, which means it must be able to conduct current in either direction. This is a natural feature of MOSFETs. Terminals a and b are assumed to be equivalent, and the bias applied to the transistor determines which terminal acts as the drain and which terminal acts as the source. The substrate must be connected to the most negative potential in the circuit, which is usually ground. [link]b shows a simplified circuit symbol for the NMOS transmission gate that is used extensively.

a) NMOS transmission gate, showing substrate connection and b) simplified diagram

We assume that the NMOS transmission gate is to operate over a voltage range of zero-to- VDD size 12{V rSub { size 8{ ital "DD"} } } {}. If the gate voltage φ size 12{φ} {} is zero, then the n-channel transistor is cut off and the output is isolated from the input. The transistor is essentially an open switch.

If φ size 12{φ} {}= VDD size 12{V rSub { size 8{ ital "DD"} } } {}, vI=VDD size 12{v rSub { size 8{I} } =V rSub { size 8{ ital "DD"} } } {}, and v0 size 12{v rSub { size 8{0} } } {} is initially zero, then terminal a acts as the drain since its bias is VDD size 12{V rSub { size 8{ ital "DD"} } } {}, and terminal b acts as the source since its bias is zero. Current enters the drain from the input, changing up the capacitor. The gate-to-source voltage is

v GS = φ v 0 = V DD v 0 size 12{v rSub { size 8{ ital "GS"} } =φ - v rSub { size 8{0} } =V rSub { size 8{ ital "DD"} } - v rSub { size 8{0} } } {}

As the capacitor charges and v0 increase, the gate-to-source voltage decreases. The capacitor stops charging when the current goes to zero. This occurs when the gate-to-source voltage VGS becomes equal to the threshold voltage VTh size 12{V rSub { size 8{ ital "Th"} } } {}. The maximum output voltage occurs when vGS=VTh size 12{v rSub { size 8{ ital "GS"} } =V rSub { size 8{ ital "Th"} } } {}, therefore, from [link], we have

v GS ( min ) = V Th = V DD v 0 ( max ) size 12{v rSub { size 8{ ital "GS"} } \( "min" \) =V rSub { size 8{ ital "Th"} } =V rSub { size 8{ ital "DD"} } - v rSub { size 8{0} } \( "max" \) } {}

or

v 0 ( max ) = V DD V Th size 12{v rSub { size 8{0} } \( "max" \) =V rSub { size 8{ ital "DD"} } - V rSub { size 8{ ital "Th"} } } {}

where VTh size 12{V rSub { size 8{ ital "Th"} } } {} is the threshold voltage taking into account the body effect.

[link]b demonstrates one disadvantage of an NMOS transmission gate. A logic 1 level degrades, or attenuates, as it passes through the transmission gate. However, this may not be a serious problem for many applications.

Now consider the situation in which φ=VDD size 12{φ=V rSub { size 8{ ital "DD"} } } {}, vI=0 size 12{v rSub { size 8{I} } =0} {}, and v0=VDDVTh size 12{v rSub { size 8{0} } =V rSub { size 8{ ital "DD"} } - V rSub { size 8{ ital "Th"} } } {} initially. Terminal b then acts as the drain and terminal a acts as the source. The gate-to-source voltage is

v GS = φ v I = V DD 0 = V DD size 12{v rSub { size 8{ ital "GS"} } =φ - v rSub { size 8{I} } =V rSub { size 8{ ital "DD"} } - 0=V rSub { size 8{ ital "DD"} } } {}

The value of vGS size 12{v rSub { size 8{ ital "GS"} } } {} is a constant, and the capacitor discharges as current enters the NMOS transistor drain. The capacitor stops discharging when the current goes to zero. Since vGS size 12{v rSub { size 8{ ital "GS"} } } {} is a constant at VDD size 12{V rSub { size 8{ ital "DD"} } } {}, the drain current goes to zero when the drain-to-source voltage is zero, which means that the capacitor completely discharges to zero. This implies that a logic 0 is transmitted unattenuated through the NMOS transmission gate.

NMOS transmission gate with cross-section of NMOS transistor

Using an NMOS transmission gate in a MOS circuit may introduce a dynamic condition. [link] shows a cross-section of the NMOS transistor in the transmission gate configuration. If vI=φ=VDD size 12{v rSub { size 8{I} } =φ=V rSub { size 8{ ital "DD"} } } {}, then the load capacitor charges to v0=VDDVTh size 12{v rSub { size 8{0} } =V rSub { size 8{ ital "DD"} } - V rSub { size 8{ ital "Th"} } } {}. When φ=0 size 12{φ=0} {}, the NMOS device turns off and the input and output become isolated.

The capacitor voltage reverse biases the pn junction between terminal b and ground. A reverse-biased pn junction leakage current begins to discharge the capacitor, and the circuit does not remain in a static condition. This circuit is now dynamic in that the high output does not remain constant with time.

CMOS Transmission Gate

A CMOS transmission gate is shown in [link]a. The parallel combination of NMOS and PMOS transistors, with complementary gate signals, allows the input signal to be transmitted to the output without the threshold voltage attenuation. Both transistors must be bilateral, therefore, the NMOS substrate is connected to the most negative potential in the circuit and the PMOS substrate is connected to the most positive potential (usually, ground and VDD size 12{V rSub { size 8{ ital "DD"} } } {}, respectively). [link]b shows a frequently used simplified circuit symbol for the CMOS transmission gate.

a) CMOS transmission gate and b) simplified circuit symbol

We again assume that the transmission gate is to operate over a voltage range of zero-to- VDD size 12{V rSub { size 8{ ital "DD"} } } {}. If the control voltages are φ=0 size 12{φ=0} {} and φ=VDD size 12{ {φ} cSup { size 8{ - {}} } =V rSub { size 8{ ital "DD"} } } {}, then both the NMOS and PMOS transistors are cut off and the output is isolated from the input. In this state, the circuit is essentially an open switch.

If φ=VDD size 12{ {φ} cSup {} =V rSub { size 8{ ital "DD"} } } {}, φ=0 size 12{ {φ} cSup { size 8{ - {}} } =0} {}, vI=VDD size 12{v rSub { size 8{I} } =V rSub { size 8{ ital "DD"} } } {}, and v0 size 12{v rSub { size 8{0} } } {} is initially zero, then for the NMOS device, terminal a acts as the drain and terminal b acts as the source, whereas for the PMOS device, terminal c acts as the drain and terminal d acts as the source. Current enters the NMOS drain and the PMOS the PMOS source, as shown in [link]a, to charge the load capacitor. The NMOS gate-to-source voltage is

v GSN = φ v 0 = V DD v 0 size 12{v rSub { size 8{ ital "GSN"} } =φ - v rSub { size 8{0} } =V rSub { size 8{ ital "DD"} } - v rSub { size 8{0} } } {}

and the PMOS source-to-gate voltage is

v SGP = v I φ = V DD 0 = V DD size 12{v rSub { size 8{ ital "SGP"} } =v rSub { size 8{I} } - {φ} cSup { size 8{ - {}} } =V rSub { size 8{ ital "DD"} } - 0=V rSub { size 8{ ital "DD"} } } {}

As with the NMOS transmission gate, when v0=VDDVThN size 12{v rSub { size 8{0} } =V rSub { size 8{ ital "DD"} } - V rSub { size 8{ ital "ThN"} } } {}, the NMOS transistor cuts off and iDN=0 size 12{i rSub { size 8{ ital "DN"} } =0} {} since VGSN=VThN size 12{V rSub { size 8{ ital "GSN"} } =V rSub { size 8{ ital "ThN"} } } {}. However, since the source-to-gate voltage of the PMOS device is constant at VSGP=VDD size 12{V rSub { size 8{ ital "SGP"} } =V rSub { size 8{ ital "DD"} } } {}, the PMOS transistor continues to conduct. The drain current iDP goes to zero when the PMOS source-to-drain voltage goes to zero, or vSDP=0 size 12{v rSub { size 8{ ital "SDP"} } =0} {}. This means that the load capacitor CL size 12{C rSub { size 8{L} } } {} continues to charge through the PMOS device until the output and input voltages are equal, or in this case, v0=vi=5V size 12{v rSub { size 8{0} } =v rSub { size 8{i} } =5V} {}.

Currents and gate-source voltages in CMOS transmission gate for: a) input high and b) input low condition

Consider what happens if φ=VDD size 12{φ=V rSub { size 8{ ital "DD"} } } {}, φ=0,vI=0, size 12{ {φ} cSup { size 8{ - {}} } =0,v rSub { size 8{I} } =0,} {}and v0=VDD size 12{v rSub { size 8{0} } =V rSub { size 8{ ital "DD"} } } {} initially. For the NMOS device, terminal a acts as the source and terminal b acts as the drain, whereas for the PMOS device, terminal c acts as source and terminal d acts as the drain. Current enters the NMOS drain and the PMOS source, as shown in [link]b, to discharge the capacitor. The NMOS gate-to-source voltage is

v GSN = φ v I = V DD 0 = V DD size 12{v rSub { size 8{ ital "GSN"} } =φ - v rSub { size 8{I} } =V rSub { size 8{ ital "DD"} } - 0=V rSub { size 8{ ital "DD"} } } {}

and the PMOS source-to-gate voltage is

v SGP = v 0 φ = v 0 0 = v 0 size 12{v rSub { size 8{ ital "SGP"} } =v rSub { size 8{0} } - {φ} cSup { size 8{ - {}} } =v rSub { size 8{0} } - 0=v rSub { size 8{0} } } {}

When vSGP=v0=/VThP/ size 12{v rSub { size 8{ ital "SGP"} } =v rSub { size 8{0} } = lline V rSub { size 8{ ital "ThP"} } rline } {}, the PMOS device cuts off and iDP size 12{i rSub { size 8{ ital "DP"} } } {} goes to zero. However, since vGSN=VDD size 12{v rSub { size 8{ ital "GSN"} } =V rSub { size 8{ ital "DD"} } } {}, the NMOS transistor continues conducting and capacitor CL size 12{C rSub { size 8{L} } } {} completely discharges to zero.

CMOS transmission gate showing cross section of NMOS and PMOS transistors

Using a CMOS transmission gate in a MOS circuit may introduce a dynamic condition. [link] shows the CMOS transmission gate with simplified cross sections of the NMOS and PMOS transistors. If φ size 12{φ} {}= 0 and φ=VDD size 12{ {φ} cSup { size 8{ - {}} } =V rSub { size 8{ ital "DD"} } } {}, then the input and output are isolated. If v0=VDD size 12{v rSub { size 8{0} } =V rSub { size 8{ ital "DD"} } } {}, then the NMOS substrate-to-terminal b pn junction is reverse biased and capacitance CL size 12{C rSub { size 8{L} } } {} can discharge, as it did in the NMOS transmission gate. If, however, v0 size 12{v rSub { size 8{0} } } {} = 0, then the PMOS terminal c-to-substrate pn junction is reversed bias and capacitance CL size 12{C rSub { size 8{L} } } {} can charge to a positive voltage. This circuit is therefore dynamic in that the output high or low conditions do not remain constant with time.

CMOS Pass Networks

CMOS transmission gate may also be used in pass network logic design. CMOS pass networks use NMOS transistors to pass 0’s, PMOS transistors to pass 1’s and CMOS transmission gates to pass a variable to the output. An example is shown in [link]. One PMOS transistor is used to transmit a logic 1, while transmission gates are used to transmit a variable that may be either a logic 1 or a logic 0. We can show that for any combination of signals, a logic 1 or logic 0 is definitely passed to the output.

CMOS pass logic network

SHIFT REGISTER AND FLIP-FLOPS

In the logic circuits previously considered such as NOR or NAND logic gates, the output is directly related to the input by some logic combination. The circuits are therefore classified as combinational logic circuits.

Another class of circuits is called sequential logic circuits. The output depends not only on the inputs, but also on the previous values of the inputs. Shift registers and flip-flops are typical examples of such circuits. Sequential logic circuits have digital memory. These circuits usually store information for a short time until that information is transferred to another part of the system.

In this section, we introduce a basic shift register and the basic concept with logic diagrams. Additional information can be found in more advanced texts.

Dynamic Shift Registers

A shift register can be formed using transmission gates and inverters. [link] shows a combination of NMOS transmission gates and NMOS depletion-load inverters. The clock signals applied to the gates of the NMOS transmission gates must be complementary, nonoverlapping pulses. The effective capacitances at the gates of MD1 and MD2 are indicated by the dotted connections to CG1 and CG2.

If, for example, CG1 is initially uncharged when v01=0 size 12{v rSub { size 8{"01"} } =0} {} and if vI=VDD size 12{v rSub { size 8{I} } =V rSub { size 8{ ital "DD"} } } {} when φ1=VDD size 12{φ rSub { size 8{1} } =V rSub { size 8{ ital "DD"} } } {}, then a logic 1 = VDDVThN size 12{V rSub { size 8{ ital "DD"} } - V rSub { size 8{ ital "ThN"} } } {} voltage should exist at v01 size 12{v rSub { size 8{"01"} } } {} at the end of clock pulse φ1 size 12{φ rSub { size 8{1} } } {}. The capacitance CL1 size 12{C rSub { size 8{L1} } } {} charges through MN1 size 12{M rSub { size 8{N1} } } {}, and the driving circuit of v1 size 12{v rSub { size 8{1} } } {}. The effective R-C time constant must be sufficiently small to achieve this charging effect. As v01 size 12{v rSub { size 8{"01"} } } {} goes high, v02 size 12{v rSub { size 8{"02"} } } {} goes low, but the low is not transmitted through MN2 size 12{M rSub { size 8{N2} } } {} as long as φ2 size 12{φ rSub { size 8{2} } } {} remains low.

Dynamic shift register with NMOS inverters and transmission gates

[link] is used to determine the operation of this circuit and the voltages at various times. For simplicity, we assume that VDD size 12{V rSub { size 8{ ital "DD"} } } {} = 5 V and VTh size 12{V rSub { size 8{ ital "Th"} } } {} = 1 V for the NMOS drivers and transmission gate transistors.

NMOS shift register voltages at vrious times

At t = t1 size 12{t rSub { size 8{1} } } {}, vI=φ1=5V size 12{v rSub { size 8{I} } =φ rSub { size 8{1} } =5V} {}, v01 size 12{v rSub { size 8{"01"} } } {} charges to VDDVTh=4V size 12{V rSub { size 8{ ital "DD"} } - V rSub { size 8{ ital "Th"} } =4V} {}, and v02 size 12{v rSub { size 8{"02"} } } {} goes low. At this time, MN2 size 12{M rSub { size 8{N2} } } {} is still cut off, which means that the values of v03 size 12{v rSub { size 8{"03"} } } {} and v04 size 12{v rSub { size 8{"04"} } } {} depend on the previous history. At t = t2 size 12{t rSub { size 8{2} } } {}, φ1 size 12{φ rSub { size 8{1} } } {} is zero, MN1 size 12{M rSub { size 8{N1} } } {} is cut off, but v01 size 12{v rSub { size 8{"01"} } } {} remains charged. At t = t3 size 12{t rSub { size 8{3} } } {}, φ2 size 12{φ rSub { size 8{2} } } {} is high, and the logic 0 at v02 size 12{v rSub { size 8{"02"} } } {} is transmitted to v03 size 12{v rSub { size 8{"03"} } } {}, which forces v04 size 12{v rSub { size 8{"04"} } } {} to 5 V. The input signal vI size 12{v rSub { size 8{I} } } {}= 5 V at t = t1 size 12{t rSub { size 8{1} } } {} has thus been transmitted, or shifted, from the input to the output during one clock cycle, making this circuit one stage of a shift register.

At t = t4 size 12{t rSub { size 8{4} } } {}, vI size 12{v rSub { size 8{I} } } {} = 0, and φ1 size 12{φ rSub { size 8{1} } } {} = 5V, so that v01 size 12{v rSub { size 8{"01"} } } {} = 0 and v02 size 12{v rSub { size 8{"02"} } } {} = 5 V. Since φ2 size 12{φ rSub { size 8{2} } } {} = 0, MN2 is cut off, and v02 size 12{v rSub { size 8{"02"} } } {} and v03 size 12{v rSub { size 8{"03"} } } {} are isolated. At t = t5 size 12{t rSub { size 8{5} } } {}, φ2 size 12{φ rSub { size 8{2} } } {} = 5 V, so that v03 size 12{v rSub { size 8{"03"} } } {} charges to VDDVThN=4V size 12{V rSub { size 8{ ital "DD"} } - V rSub { size 8{ ital "ThN"} } =4V} {}, and v04 size 12{v rSub { size 8{"04"} } } {} goes low (logic 0). At t = t6 size 12{t rSub { size 8{6} } } {}, both NMOS transmission gates are cut off, and the two inverters remain in their previous states. It is important that φ1 size 12{φ rSub { size 8{1} } } {} and φ2 size 12{φ rSub { size 8{2} } } {} do not overlap, or the signal would propagate through the whole chain at once and we would no longer have a shift register.

In the dynamic condition of NMOS transmission gates the high output voltage across the output capacitance does not remain constant with time; it discharges through the transmission gate transistor. This same effect applies to the shift register shown in [link]. For example, from [link], at t = t2 size 12{t rSub { size 8{2} } } {}, v01 size 12{v rSub { size 8{"01"} } } {} = 4 V, φ1 size 12{φ rSub { size 8{1} } } {} = 0, and MN1 size 12{M rSub { size 8{N1} } } {} is cut off. Voltage v01 will start to decay and v02 will begin to increase. To prevent logic errors from being introduced into the system, the clock signal period T must be small compared to the effective R-C discharge time constant. The circuit shown in [link] is therefore called a dynamic shift register.

A dynamic shift register formed in a CMOS technology is shown in [link]. Operation of this circuit is very similar to the dynamic NMOS shift register, except for the voltage levels. For example, when vI=φ1=VDD size 12{v rSub { size 8{I} } =φ rSub { size 8{1} } =V rSub { size 8{ ital "DD"} } } {}, then v01=VDD size 12{v rSub { size 8{"01"} } =V rSub { size 8{ ital "DD"} } } {} and v02=0 size 12{v rSub { size 8{"02"} } =0} {}. When φ2 size 12{φ rSub { size 8{2} } } {} goes high, then v03 size 12{v rSub { size 8{"03"} } } {} goes to zero, v04=VDD size 12{v rSub { size 8{"04"} } =V rSub { size 8{ ital "DD"} } } {} , and the input signal is shifted to the output during one clock period.

CMOS dynamic shift register

R-S Flip-Flop

Flip-flops are bistable circuits usually formed by cross-coupling two NOR gates. [link] shown an R-S flip-flop using NMOS NOR logic gates with depletion loads. As shown, M1 size 12{M rSub { size 8{1} } } {}, M2 size 12{M rSub { size 8{2} } } {}, and M3 size 12{M rSub { size 8{3} } } {} form one NOR gate, and M4 size 12{M rSub { size 8{4} } } {}, M5 size 12{M rSub { size 8{5} } } {}, and M6 size 12{M rSub { size 8{6} } } {} form the second. The outputs of the two NOR circuits are connected back to the inputs of the opposite NOR gates.

NMOS R-S flip-flop

If we assume that S = logic 1 and R = logic 0, then M1 size 12{M rSub { size 8{1} } } {} is biased in its conducting state and output Q size 12{ {Q} cSup { size 8{ - {}} } } {} is forced low. The inputs to both M4 size 12{M rSub { size 8{4} } } {} and M5 size 12{M rSub { size 8{5} } } {} are low, so output goes high to a logic 1 = VDD size 12{V rSub { size 8{ ital "DD"} } } {}. Transistor M2 size 12{M rSub { size 8{2} } } {} is then also biased in a conducting state. The two outputs Q and Q size 12{ {Q} cSup { size 8{ - {}} } } {} are complementary and, by definition, the flip-flop is in the set state when Q = logic 1 and Q= size 12{ {Q} cSup { size 8{ - {}} } ={}} {}logic 0.

If S returns to logic 0, then M1 size 12{M rSub { size 8{1} } } {} turns off, but M2 size 12{M rSub { size 8{2} } } {} remains turned on so Q size 12{ {Q} cSup { size 8{ - {}} } } {} remains low and Q remains high. Therefore, when S goes low, nothing in the circuit can force a change and the flip-flop stores this particular logic state.

If both S and R inputs were to go high, then both outputs Q and Q size 12{ {Q} cSup { size 8{ - {}} } } {} would go low. However, this would mean that the output would be complementary. Therefore, a logic 1 at both S and R is considered to be a forbidden or nonallowed condition. If both inputs go low simultaneously, then the outputs will flip into one state or the other, as determined by slight imbalances in transistor characteristics.

[link] shows an R-S flip-flop using CMOS NOR logic gates. The outputs of the two NOR gates are connected back to the inputs of the opposite NOR gate to form the flip-flop.

If S = logic 1 and R = logic 0, then MN1 size 12{M rSub { size 8{N1} } } {} is turned o, MP1 size 12{M rSub { size 8{P1} } } {} is cut off, and Q size 12{ {Q} cSup { size 8{ - {}} } } {} goes low. With Q size 12{ {Q} cSup { size 8{ - {}} } } {}= R = logic 0, then both MN3 size 12{M rSub { size 8{N3} } } {} and MN4 size 12{M rSub { size 8{N4} } } {} are cut off, both MP3 size 12{M rSub { size 8{P3} } } {} and MP4 size 12{M rSub { size 8{P4} } } {} are biased in a conducting state so that the output Q goes high. With Q = logic 1, MN2 size 12{M rSub { size 8{N2} } } {} is biased on, MP2 size 12{M rSub { size 8{P2} } } {} is biased off, and the flip-flop is in a set condition. When S goes low, MN1 size 12{M rSub { size 8{N1} } } {} turns off, but MN2 size 12{M rSub { size 8{N2} } } {} remains conducting so the state of the flip-flop does not change.

When S = logic 0 and R = logic 1, then output Q is forced low, output Q size 12{ {Q} cSup { size 8{ - {}} } } {} goes high, and the flip-flop is in a reset condition. Again, a logic 1 at both S and R is considered to be a forbidden or a nonallowed condition, since the resulting outputs are not complementary.

CMOS R-S flip-flop

D Flip-Flop

A D-type flip-flop is used to provide a delay. The logic bit on D input is transferred to the output at the next clock pulse. This flip-flop is used in counters and shift registers. The basic circuit is similar to the CMOS dynamic shift register shown in [link], except that additional circuitry makes the D flip-flop a static circuit.

Consider the circuit shown in [link]. The CMOS inverter composed of MN2 size 12{M rSub { size 8{N2} } } {} and MP2 size 12{M rSub { size 8{P2} } } {} is driven by a CMOS transmission gate composed of MN1 size 12{M rSub { size 8{N1} } } {} and MP1 size 12{M rSub { size 8{P1} } } {}. A second CMOS inverter, MN3 size 12{M rSub { size 8{N3} } } {} and MP3 size 12{M rSub { size 8{P3} } } {}, is connected in a feedback configuration. If vI size 12{v rSub { size 8{I} } } {} = high, then v01 size 12{v rSub { size 8{"01"} } } {} goes high when the transmission gate is conducting, and output v0, which is the input to the feedback inverter, goes low.

When the CMOS transmission gate turns off, the pn junction in the MN1 size 12{M rSub { size 8{N1} } } {} transmission gate transistor is reverse biased. In this case, however, voltage v01 size 12{v rSub { size 8{"01"} } } {} is not simply across the gate capacitance of inverter MN2 size 12{M rSub { size 8{N2} } } {}- MP2 size 12{M rSub { size 8{P2} } } {}. Transistor MP3 size 12{M rSub { size 8{P3} } } {} is biased in a conducting state, so the reverse-biased pn junction leakage current IL size 12{I rSub { size 8{L} } } {} is supplied through MP3 size 12{M rSub { size 8{P3} } } {}, as indicated in [link]. Since this leakage current is small, the source-to-drain voltage of MP3 size 12{M rSub { size 8{P3} } } {} will be small, and v01 size 12{v rSub { size 8{"01"} } } {} will remain biased at essentially VDD. The circuit will therefore remain in this static condition.

Similarly, when v01 size 12{v rSub { size 8{"01"} } } {} is low and v0 size 12{v rSub { size 8{0} } } {} is high, the pn junction in the MP1 size 12{M rSub { size 8{P1} } } {} transmission gate transistor is reverse-biased and transistor MN3 size 12{M rSub { size 8{N3} } } {} is biased on. Transistor MN1 size 12{M rSub { size 8{N1} } } {} sinks the pn junction leakage current IL' size 12{I rSub { size 8{L} } rSup { size 8{'} } } {}, and the circuit remains in this static condition until charged by a new input signal through the transmission gate.

CMOS D-type flip-flop

The circuit shown in [link] is a master-slave configuration of a D flip-flop. When clock pulse φ size 12{φ} {} is high, transmission gate TG1 is conducting and data D goes through the first inverter, which means that Q'=D size 12{Q rSup { size 8{'} } = {D} cSup { size 8{ - {}} } } {}. Transmission gate TG2 is off, so data stops at Q’. When clock pulse φ size 12{φ} {} goes low, then TG3 turns on, and the master portion of flip-flop is a static configuration. Also when φ size 12{φ} {} goes low, TG2 turns on, the data are transmitted through the slave portion of the flip-flop, and the output is Q = Q' size 12{ {Q rSup { size 8{'} } } cSup { size 8{ - {}} } } {}= D. the data present when φ size 12{φ} {} is high are transmitted to the output of the flip-flop during the negative transition of the clock pulse. The various signals in the D flip-flop are shown in [link].

Additional circuitry can be added to the D flip-flop shown in [link] to provide a set and reset capability.

CMOS master-slave flip-flop
D flip-flop signals at various times

SUMMARY

In this chapter, NMOS and CMOS digital logic circuit were analyzed and designed. Basic NMOS and CMOS logic gates, and examples of shift registers and flip-flops were discussed. We also analyzed NMOS and CMOS transmission gates.

The NMOS inverter is the basic of NMOS logic circuits. We generated the voltage transfer characteristics of NMOS inverters with various load devices.

The CMOS inverter is the basis of CMOS logic circuits. We generated the voltage transfer characteristics of the CMOS inverter. For the CMOS circuit, quiescent power dissipation is essentially zero when the input is in either logic state; power is dissipated only when the output is switching logic states. Even with a switching frequency on the order of 1 MHz, the power dissipation in a CMOS inverter can be at least an order of magnitude less than that in an NMOS inverter. This is the principal advantage of CMOS logic circuits.

We than analyzed classical CMOS NOR and NAND gates. Since PMOS devices must be approximately twice as large as NMOS devices to produce equivalent conduction parameters, a large saving in chip area can be realized by eliminating as many PMOS transistors as possible. Clocked CMOS logic circuits achieve this goal. A generalized NMOS logic circuit is inserted between a PMOS and NMOS device. The power dissipation advantage of CMOS is thus maintained.

Transmission gates are used as switches and can steer logic signals through a digital system. We analyzed both NMOS and CMOS transmission gates. These transmission gates can also be used to form logic circuits.

Dynamic shift registers are formed by connecting two inverters through transmission gates. We analyzed examples of both NMOS and CMOS dynamic shift registers, as well as NMOS and CMOS R-S flip-flops. An R-S flip-flop is formed by cross-coupling the inputs and outputs of two NOR logic gates. Finally, we discussed a CMOS D-type flip-flop.

Đánh giá:
0 dựa trên 0 đánh giá

Tuyển tập sử dụng module này

Nội dung cùng tác giả
 
Nội dung tương tự