Você está na página 1de 74

C H A P T E R 14 CMOS Digital Logic Circuits

Introduction
CMOS is by far the most popular technology for the implementation of digital systems. The small size, ease of fabrication, and low power consumption of MOSFET enable extremely high levels of integration of both logic and memory circuit. Digital electronics normally based on logic circuits. These circuits composed of logic gates depend on pulses of electricity to make the circuit work. A logic gate performs a logical operation on one or more logic inputs and produces a single logic output. The logic normally performed is Boolean logic and is most commonly found in digital circuits.

Figure 14.1 A logic inverter operating from a dc supply VDD.

Logic-Circuit Characterization
The followings are major parameters usually used to characterize the performance of a logic-circuit family. Noise Margins Propagation Delay Power Dissipation Delay-Power Product Silicon Area Fan-in and Fan-out

Figure 14.3 Voltage transfer characteristic of an inverter. The VTC is approximated by three straight-line segments. Note the four parameters of the VTC (VOH, VOL, VIL, and VIH) and their use in determining the noise margins (NMH and NML).

Figure 14.4

Noise Margins (1)


The noise margin is an indicator of the ability to reject noise for a logic-circuit family and it is defined as

Typical voltage transfer characteristic (VTC) of a logic inverter

Figure 14.6 The VTC of an ideal inverter.

Figure 14.7

Figure 14.8 A more elaborate implementation of the logic inverter utilizing two complementary switches. This is the basis of the CMOS inverter that we shall study in Section 14.2.

Figure 14.9

Figure 14.10 The resistively loaded MOS inverter and its VTC (Example

14.1).

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Figure 14.11 (a) Enhancement-load MOS inverter; (b) load curve; (c) construction to determine VTC; (d) the VTC.

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

14.1.6 Power Dissipation

Edissipation=CVDD2-1/2CVDD2

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Power Dissipation
For power dissipation The need to minimize the power dissipation is motivated by the desire to pack an ever-increasing number of gates on a chip. It should be kept as low as possible, particularly for portable, battery-operated equipment. 2 types of power dissipation in a logic gate. Static power dissipation: it refers to dissipation in the absence of switching action. Dynamic power dissipation occurs only when the gate is switched. For an inverter operated from a power supply VDD, and driving a load capacitance C, the dynamic power dissipation is

The advanced chip operated at VDD ~1V with 100 million transistors packed produces more than 100 W dynamic power dissipation when the operation frequency is above 1 GHz.
16

Figure 14.13 An inverter fed with the ideal pulse in (a) provides at its output the pulse in (b). Two delay times are defined as indicated.

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Propagation Delay
The dynamic performance of a logic-circuit family is characterized by the propagation delay of its basic inverter.

Figure 14.15 Definitions of propagation delays and transition times of the logic inverter.

19

Delay-Power Product
High speed performance combined with low power dissipation is always desirable. However, the 2 requirements are often in conflict. Delay-Power product (DP) is a figure-of-merit for comparing logic circuit families and it defines as

The unit of DP is joules! The lower DP figure of a logic family, the more effective it is.

20

Silicon Area and Fan-In/Fan-Out


For Si area consideration, smaller area requirement enables the fabrication of a large number of gates per chip. There are 3 ways to reduce the area: Through advances in processing technology. Through circuit-design techniques. Through careful chip layout. For fan-in of a gate, it is the number of its inputs. For fan-out, it is the maximum number of similar gates that a gate can drive while maintaining guaranteed specifications. Increasing the fan-out of the inverter will reduce VOH and hence NMH (example 5.10).

21

Digital IC Technologies and Logic-Circuit Family

Technologies

Members of each family are made with the same technology, have a similar circuit structure, and exhibit the same basic features.

22

CMOS Technology (1)


CMOS has replaced NMOS, a dominant device employed in the early days of VLSI, because of the much lower power dissipation. CMOS has also replaced bipolar (BJT) in digital system due to CMOS logic circuits dissipate much less power than bipolar ones and thus more circuits can be packed on a chip. The high impedance of the MOS transistors allows the designer to use charge storage as a means for temporary storage of information. The feature size of the MOS transistors has decreased dramatically and permits very tight circuit packing.

23

Bipolar Technology
2 logic-circuit families based on BJT are TTL and ECL. The new version of TTL (transistor-transistor logic) operates BJT in non-saturating mode and therefore enjoys a higher speed the conventional one. However, the application of TTL declines with the advent of VLSI era. ECL (emitter-coupled logic) is the fastest logic among commercially available logic-circuit families. ECL is also used in VLSI circuit design if high speed is required and the designer is willing to accept high power dissipation and increased Si area.

24

BiCMOS and GaAs Technology


BiCMOS combines the high operating speeds possible with BJTs (due to higher transconductance) with the low power dissipation in CMOS. It is used in special applications where the high performance justifies the more complex process technology it requires.

GaAs (Gallium Arsenide) has higher carrier mobility and results in very high speed of operation. However, it remains the emerging technology and not commercially available.
25

Figure 14.17 The CMOS inverter.

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Figure 14.18

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

28

Circuit Structure of A CMOS Inverter


The inverter can be represented by a pair of switches operated in complementary fashion. Each switch is modeled by a finite on resistance, which is the source-drain resistance of the respective transistor.

29

Figure 14.19

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Figure 6.29. Ip and In as a function of Vout. The intercepts of Ip and In (circled) represent the steady-state operation points of the CMOS inverter.11 The curves are labeled by the input voltages: 0 = Vin0 < Vin1 < Vin2 < Vin3 < Vin4 = VDD.

Figure 6.30. Transfer curve of a CMOS inverter.11 Points labeled A, B, C, and D correspond to those points labeled in Fig. 29.

Matching of Devices
The term matching indicates the following conditions for QN and QP

Matching of QN and QP provides equal transconductance equal current-driving capability in both pull-up and pull down directions equal propagation delays for tPLH and tPHL. symmetrical transfer characteristic

33

Figure 14.20 The voltage-transfer characteristic of the CMOS inverter when QN and QP are matched.

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Static Operation of A CMOS Invertetr


The voltage transfer characteristic of the CMOS inverter for matched QN and QP is shown below.

The symmetry of VTC results in equal noise margins.

(14.58),

r=(Kp/Kn)0.5 (14.59)
35

36

Figure 14.21

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Vo: Vdd -> 0.5 Vdd Sat -> triode A calculation in complex and details can obtain

Figure 14.22 Dynamic operation of a capacitively loaded CMOS inverter: (a) circuit; (b) input and output waveforms; (c) equivalent circuit during the capacitor discharge; (d) trajectory of the operating point as the input goes high and C discharges through QN.

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Dynamic Operation of A CMOS Inverter


A simple approximate but exact method for analyzing the dynamic operation of a CMOS inverter.

(14.64) Vtn~ 0.2 VDD

39

Figure 14.23 Equivalent circuits for determining the propagation delays (a) tPHL and (b) tPLH of the inverter. Microelectronic Circuits, Sixth Edition Sedra/Smith Copyright 2011 by Oxford University Press, Inc.

What contributes to the capacitor between the output node and ground? Internal capacitance from QN and QP. Interconnect wire between inverter output node and the input of next stage. Input capacitance of load gates.

Figure 14.24 Circuit for analyzing the propagation delay of the inverter formed by Q1 and Q2, which is driving a similar inverter formed by Q3 and Q4.

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Figure 14.25 The Miller multiplication of the feedback capacitance Cgd1.

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Ipeak is at Vi= 0.5 Vdd, while both Qn and Qp are in Sat

Figure 14.26 The current in the CMOS inverter versus the input voltage.

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Baisc Structure of CMOS Logic-Gate Sructure


A CMOS logic circuit is in effect an extension of the CMOS inverter. The CMOS logic gate consists of 2 networks: pull-down network (PDN) and pull-up network (PUN). The PDN will conduct for all input combinations that require a low output and then pull the output down to ground Synthesizing PDN can be done by Expressing Y The input combinations that call for a high output will cause the PUN to conduct and pull the output up to VDD. Synthesizing PUN can be done by expressing Y.
Figure 14.27 Representation of a three-input CMOS logic gate. The PUN comprises PMOS transistors, and the PDN comprises NMOS transistors. Microelectronic Circuits, Sixth Edition Sedra/Smith Copyright 2011 by Oxford University Press, Inc.

Examples of Pull-Down Networks

Figure 14.28 Examples of pull-down networks.

usual and alternative circuit symbols


Microelectronic Circuits, Sixth Edition Sedra/Smith Copyright 2011 by Oxford University Press, Inc.

Examples of Pull-Up Networks

Figure 14.29 Examples of pull-up networks.

usual and alternative circuit symbols


Microelectronic Circuits, Sixth Edition Sedra/Smith Copyright 2011 by Oxford University Press, Inc.

Figure 14.30 Usual and alternative circuit symbols for MOSFETs.

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

The Two-Input NOR Gate


How to realize the two-input NOR function Y= A+B ? Y= A+B = A B Y= A+B

Figure 14.31 A two-input CMOS NOR gate.

48

Figure 14.32 A two-input CMOS NAND gate.

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

A Complex Gate

Note that PDN and PUN are dual networks: where a series branch exists in one, a parallel branch exists in the other. Duality can be always be used for PUN or PDN, however, the 2 networks are NOT necessarily duals.

Figure 14.33 CMOS realization of a complex gate.

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

The Exclusive-OR Function (1)


Exclusive-OR gates output a "high" (1) logic level if the inputs are at different logic levels, either 0 and 1 or 1 and 0. Conversely, they output a "low" (0) logic level if the inputs are at the same logic levels. The Exclusive-OR (sometimes called XOR) gate has both a symbol and a truth table pattern that is unique:

Source: Lessons in Electric Circuits-Volume 4- Digital

51

The Exclusive-OR Function (2)


How to realize the gate with more complex function Y= A B + A B ?

If Y is not a function of the complemented variables only, additional inverters are required.

The type of exclusive-OR requires 12 transistors for realization.


Figure 14.34 Realization of the exclusive-OR (XOR) function: (a) The PUN synthesized directly from the expression in Eq. (14.86). (b) The complete XOR realization utilizing the PUN in (a) and a PDN that is synthesized directly from the expression in Eq. (14.87). Note that two inverters (not shown) are needed to generate the complemented variables. Also note that in this XOR realization, the PDN and the PUN are not dual networks; however, a realization based on dual networks is possible (see Problem 14.33).

52

Summary of the Synthesized Method


The PDN can be most directly synthesized by expressing Y as a function of the un-complemented variables. If complemented variables appear, additional inverter will be required. The PUN can be most directly synthesized by expressing Y as a function of the complemented variables. If un-complemented variables appear, additional inverter will be required. The PDN can be obtained from PUN (and vice versa) using duality property.

53

DeMorgans Therorem
A mathematician named DeMorgan developed a pair of important rules regarding group complementation in Boolean algebra. Example

Source: Lessons in Electric Circuits-Volume 4- Digital

54

Some Boolean Rules for Simplification (1)

Source: Lessons in Electric Circuits-Volume 4- Digital

55

Some Boolean Rules for Simplification (2)

Source: Lessons in Electric Circuits-Volume 4- Digital

56

Transistor Sizing (1)


The W/L ratios for all devices are usually selected to provide the gate with current-driving capability equal to that of a basic inverter. The PDN (PUN) should be able to provide a capacitor discharging (charging) current at least equal to that of an NMOS (PMOS) transistor with W/L=n (W/L=p). This will guarantee a worst-case gate delay equal to that of the basic inverter. For a basic inverter design, n is usually 1.5~2 and, for a matched design, p = (n / p) n. The derivation of equivalent W/L ratio is based on the on resistance. For transistors connected in series,

For transistors connected in parallel,

57

Transistor Sizing (2)


Proper sizing of a 4-input NOR and NAND gate. The NOR gate will require much larger area than the NAND gate. This is why NAND gates are preferred for implementing combinational logic functions in CMOS.

Figure 14.35 Proper transistor sizing for a four-input NOR gate. Note that n and p denote the W/L ratios of QN and QP, respectively, of the basic inverter.

Figure 14.36 Proper transistor sizing for a four-input NAND gate. Note that n and p denote the W/L ratios of QN and QP , respectively, of the basic inverter.

58

Transistor Sizing (3)


How to provide the proper transistor W/L for the following case? 1.5p 3p 3p 3p

2n

2n

2n

Figure 14.37 Circuit for Example 14.7.

59

Effect of Fan-In and Fan-Out on Propagation Delay


Each additional input to a CMOS gate requires two additional transistors, one NMOS and one PMOS. The additional transistors result in Chip area increase Total effective capacitance per gate increase Propagation delay increases (also for increased fan-out) Thus tp will increase with fan-in, a fact that imposes a practical limit on the fan-in of the NAND gate is about 4. Boolean function with gates of no more than 4 input is preferred.

60

Figure 14.38 The MOSFET channel length has been reduced by a factor of 2 every about 5 years. This phenomenon, known as Moores law is continuing.

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Figure 14.39

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Figure 14.40

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Figure 14.41

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Figure 14.42

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Figure 14.43

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Figure 14.44 The power-supply line in a deep submicron IC has non-zero resistance. The IR drops along the VDD line cause the voltages delivered to various circuits to differ.

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Figure 14.45 The interconnect (wire) between two circuit blocks, A and B, on an IC chip has finite resistance and a capacitance to ground.

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Table 14.3 Summary of Important Characteristics of the CMOS Logic Inverter

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Table 14.3 (Continued)

Microelectronic Circuits, Sixth Edition

Sedra/Smith

Copyright 2011 by Oxford University Press, Inc.

Figure 10.38 Capture schematic of the CMOS inverter in Example 10.5.

71

Figure 10.39 Inputoutput voltage transfer characteristic (VTC) of the CMOS inverter in Example 10.5 with mp/mn = 1 and mp/mn = 4.

72

Figure 10.40 (a) Output voltage, and (b) supply current versus input voltage for the CMOS inverter in Example 10.5 with mp/mn = 1 and mp/mn = 4.

73

Figure 10.41 Transient response of the CMOS inverter in Example 10.5 with mp/mn = 1 and mp/mn = 4.

74

Você também pode gostar