14
1 1 Lecture24-Digital Circuits-CMOS Inverters EE105 – Fall 2014 Microelectronic Devices and Circuits Prof. Ming C. Wu [email protected] 511 Sutardja Dai Hall (SDH) 2 Lecture24-Digital Circuits-CMOS Inverters The Ideal Inverter The ideal inverter has the following voltage transfer characteristic (VTC) and is described by the following symbol V + and V - are the supply rails, and V H and V L describe the high and low logic levels at the output

EE105 – Fall 2014 Microelectronic Devices and Circuitsee105/fa14/lectures/Lecture24-Digital Circuits-CMOS...EE105 – Fall 2014 Microelectronic Devices and Circuits Prof. Ming C

  • Upload
    others

  • View
    9

  • Download
    0

Embed Size (px)

Citation preview

Page 1: EE105 – Fall 2014 Microelectronic Devices and Circuitsee105/fa14/lectures/Lecture24-Digital Circuits-CMOS...EE105 – Fall 2014 Microelectronic Devices and Circuits Prof. Ming C

1

1 Lecture24-Digital Circuits-CMOS Inverters

EE105 – Fall 2014 Microelectronic Devices and Circuits

Prof. Ming C. Wu

[email protected]

511 Sutardja Dai Hall (SDH)

2 Lecture24-Digital Circuits-CMOS Inverters

The Ideal Inverter

The ideal inverter has the following voltage transfer characteristic (VTC) and is described by the following symbol

V+ and V- are the supply rails, and VH and VL describe the high and low logic levels at the output

Page 2: EE105 – Fall 2014 Microelectronic Devices and Circuitsee105/fa14/lectures/Lecture24-Digital Circuits-CMOS...EE105 – Fall 2014 Microelectronic Devices and Circuits Prof. Ming C

2

3 Lecture24-Digital Circuits-CMOS Inverters

Logic Level Definitions

•  An inverter operating with power supplies at V+ and 0 V can be implemented using a switch with a resistive load

•  The switch could be a mechanical device such as a wall switch or relay, a vacuum tube, or an MOS or bipolar transistor

4 Lecture24-Digital Circuits-CMOS Inverters

NMOS Inverter with a Resistive Load

•  Resistor R is used to “pull” the output high.

•  MS is the switching transistor used to force the output low.

•  The size of R and the W/L ratio of MS are the design factors that need to be chosen.

MS “Off”

MS “On”

Page 3: EE105 – Fall 2014 Microelectronic Devices and Circuitsee105/fa14/lectures/Lecture24-Digital Circuits-CMOS...EE105 – Fall 2014 Microelectronic Devices and Circuits Prof. Ming C

3

5 Lecture24-Digital Circuits-CMOS Inverters

NMOS Inverter with a Resistive Load Load Line Visualization

Q-pts for VL and VH on the NMOS device output (iD -vDS) characteristics.

Load line equation:

RiVv DDDDS −=

VL VH

6 Lecture24-Digital Circuits-CMOS Inverters

Logic Level Definitions Voltage Levels (cont.)

Note that for the voltage transfer characteristic (VTC) of the nonideal inverter, there is now an undefined logic state.

Noise Margin: NMH = VOH – VIH NML = VIL - VOL

Page 4: EE105 – Fall 2014 Microelectronic Devices and Circuitsee105/fa14/lectures/Lecture24-Digital Circuits-CMOS...EE105 – Fall 2014 Microelectronic Devices and Circuits Prof. Ming C

4

7 Lecture24-Digital Circuits-CMOS Inverters

Logic Level Definitions Voltage Levels

•  VL – The nominal voltage corresponding to a low-logic

state at the output of a logic gate for vi = VH

•  VH – The nominal voltage corresponding to a high-logic

state at the output of a logic gate for vi = VL

•  VIL – The maximum input voltage that will be recognized

as a low input logic level

•  VIH – The maximum input voltage that will be recognized

as a high input logic level

•  VOH – The output voltage corresponding to an input

voltage of VIL

•  VOL – The output voltage corresponding to an input

voltage of VIH

8 Lecture24-Digital Circuits-CMOS Inverters

Logic Gate Design Goals

•  An ideal logic gate is highly nonlinear and attempts to quantize the input signal to two discrete states. In an actual gate, the designer should attempt to minimize the undefined input region while maximizing noise margins.

•  The input should produce a well-defined output, and changes at the output should have no effect on the input.

•  Voltage levels at the output of one gate should be compatible with the input levels of a following gate.

•  The gate should have sufficient fan-out and fan-in capabilities.

•  The gate should consume minimal power (and area for ICs) and still operate under the design specifications.

Page 5: EE105 – Fall 2014 Microelectronic Devices and Circuitsee105/fa14/lectures/Lecture24-Digital Circuits-CMOS...EE105 – Fall 2014 Microelectronic Devices and Circuits Prof. Ming C

5

9 Lecture24-Digital Circuits-CMOS Inverters

Dynamic Response of Logic Gates Propagation Delay

•  Propagation delay describes the amount of time between the input reaching the 50% point and the output reaching the 50% point.

•  The high-to-low propagation delay, τPHL, and the low-to-high propagation delay, τPLH, are usually not equal, but can be combined as an average value:

τP =τPHL + τPLH

2

V50% =VH +VL

2

10 Lecture24-Digital Circuits-CMOS Inverters

Dynamic Response of Logic Gates Power-Delay Product

•  The power-delay product (PDP) is a metric that describes the amount of energy (Joules) required to perform a basic logic operation and is given by the following equation where P is the average power dissipated by the logic gate:

PτPPDP =

Page 6: EE105 – Fall 2014 Microelectronic Devices and Circuitsee105/fa14/lectures/Lecture24-Digital Circuits-CMOS...EE105 – Fall 2014 Microelectronic Devices and Circuits Prof. Ming C

6

11 Lecture24-Digital Circuits-CMOS Inverters

Review of Boolean Algebra

A Z

0 1

1 0

A B Z

0 0 0

0 1 1

1 0 1

1 1 1

A B Z

0 0 0

0 1 0

1 0 0

1 1 1

NOT Truth Table

OR Truth Table

AND Truth Table

A B Z

0 0 1

0 1 0

1 0 0

1 1 0

A B Z

0 0 1

0 1 1

1 0 1

1 1 0

NOR Truth Table

NAND Truth Table

Z = A

Z = A + B Z = AB Z = A +B Z = AB

12 Lecture24-Digital Circuits-CMOS Inverters

Logic Gate Symbols and Boolean Expressions

Page 7: EE105 – Fall 2014 Microelectronic Devices and Circuitsee105/fa14/lectures/Lecture24-Digital Circuits-CMOS...EE105 – Fall 2014 Microelectronic Devices and Circuits Prof. Ming C

7

13 Lecture24-Digital Circuits-CMOS Inverters

CMOS Technology

•  Complementary MOS, or CMOS, needs both PMOS and NMOS devices for the logic gates to be realized

•  The concept of CMOS was introduced in 1963 by Wanlass and Sah, but it did not become common until the 1980’s as NMOS microprocessors were dissipating as much as 50 W and an alternative design technique was needed

•  CMOS dominates digital IC design today

14 Lecture24-Digital Circuits-CMOS Inverters

CMOS Inverter Circuit

•  When vI is pulled high (to VDD), the PMOS transistor is turned off, while the NMOS device is turned on pulling the output down to VSS

•  When vI is pulled low (to VSS), the NMOS transistor is turned off, while the PMOS device is turned on pulling the output up to VDD

Page 8: EE105 – Fall 2014 Microelectronic Devices and Circuitsee105/fa14/lectures/Lecture24-Digital Circuits-CMOS...EE105 – Fall 2014 Microelectronic Devices and Circuits Prof. Ming C

8

15 Lecture24-Digital Circuits-CMOS Inverters

CMOS Inverter Fabrication

•  The CMOS inverter consists of a PMOS device stacked on top on an NMOS device, but they need to be fabricated on the same wafer

•  To accomplish this, the technique of “n-well” implantation was developed as shown in this cross-section of a CMOS inverter

16 Lecture24-Digital Circuits-CMOS Inverters

CMOS Inverter Static Characteristics: vI = VL

•  For vI = VL ≤ VTN, MN is off, and MP is on. Therefore VH = VDD, ID = 0, and there is no static power dissipation.

Page 9: EE105 – Fall 2014 Microelectronic Devices and Circuitsee105/fa14/lectures/Lecture24-Digital Circuits-CMOS...EE105 – Fall 2014 Microelectronic Devices and Circuits Prof. Ming C

9

17 Lecture24-Digital Circuits-CMOS Inverters

CMOS Inverter Static Characteristics: vI = VH

•  For vI = VH = VDD, VL = 0 V, and ID = 0 A which means that there is no static power dissipation

18 Lecture24-Digital Circuits-CMOS Inverters

CMOS Inverter Voltage Transfer Characteristics

The VTC shown is for a CMOS inverter that is symmetrical (Kp = Kn).

Page 10: EE105 – Fall 2014 Microelectronic Devices and Circuitsee105/fa14/lectures/Lecture24-Digital Circuits-CMOS...EE105 – Fall 2014 Microelectronic Devices and Circuits Prof. Ming C

10

19 Lecture24-Digital Circuits-CMOS Inverters

CMOS Inverter Noise Margins (cont.)

VIH =2KR VDD −VTN +VTP( )KR −1( ) 1+ 3KR

−VDD −KRVTN +VTP( )

KR −1

VOL =KR +1( )VIH −VDD −KRVTN −VTP

2KR

VIL =2 KR VDD −VTN +VTP( )

KR −1( ) KR + 3−VDD −KRVTN +VTP( )

KR −1

VOH =KR +1( )VIL +VDD −KRVTN −VTP

2

KR =KN

KP

NML =VIL −VOL NMH =VOH −VIH

20 Lecture24-Digital Circuits-CMOS Inverters

CMOS Inverter Propagation Delay Estimate

•  The two modes of capacitive charging/discharging that contribute to propagation delay

Page 11: EE105 – Fall 2014 Microelectronic Devices and Circuitsee105/fa14/lectures/Lecture24-Digital Circuits-CMOS...EE105 – Fall 2014 Microelectronic Devices and Circuits Prof. Ming C

11

21 Lecture24-Digital Circuits-CMOS Inverters

CMOS Inverter Rise and Fall Times

RC charging (or discharging) is exponential:

Δv(t) = ΔV exp −tRC

#

$%

&

'(

At 10%, 0.1= exp −t1RC

#

$%

&

'(

At 90%, 0.9 = exp −t2RC

#

$%

&

'(

Fall time: t f = t2 − t1 = RC ln 0.90.1#

$%

&

'(= 2.2RC

At 50%, 0.5= exp −τ PHLRC

#

$%

&

'( ⇒ τ PHL = 0.69RC

Therefore, t f ≅ 3τ PHLSimilarly, tr ≅ 3τ PLH

τ PHL

t1 t2

t f

22 Lecture24-Digital Circuits-CMOS Inverters

CMOS Inverter Propagation Delay Estimate (cont.)

•  If it is assumed the inverter in “symmetrical” with (W/L)P = 2.5(W/L)N, then τPLH = τPHL

τPHL = RonNC ln 4 VH −VTNVH +VL

$

% &

'

( ) −1

*

+ ,

-

. / +

2VTNVH −VTN

0 1 2

3 2

4 5 2

6 2

RonN =1

Kn VH −VTN( )

τ p =τPHL + τPLH

2= τPHL =1.2RonNC

Page 12: EE105 – Fall 2014 Microelectronic Devices and Circuitsee105/fa14/lectures/Lecture24-Digital Circuits-CMOS...EE105 – Fall 2014 Microelectronic Devices and Circuits Prof. Ming C

12

23 Lecture24-Digital Circuits-CMOS Inverters

τ P =W / L( )W / L( ) '

×CL 'CLref

"

#$$

%

&''×τ Pr ef or W

L"

#$

%

&'

'

=WL

"

#$

%

&'×

τ Pr ef

τ P

"

#$

%

&'×

CL 'CLref

"

#$$

%

&''

CMOS Inverter Performance Scaling

•  State-of-the-art short gate length technologies are hard to analyze

•  Scaling can be used to properly set W/L for a given load capacitance relative to reference gate simulation with a reference load.

•  Scaling allows us to calculate a new geometry (W/L)' in terms of a target load and delay.

24 Lecture24-Digital Circuits-CMOS Inverters

CMOS Logic Dynamic Power Dissipation

•  There are two components that add to dynamic power dissipation:

–  Capacitive load charging at a frequency f given by: PD = CVDD

2 f –  The current that

occurs during switching which can be seen in the figure

Page 13: EE105 – Fall 2014 Microelectronic Devices and Circuitsee105/fa14/lectures/Lecture24-Digital Circuits-CMOS...EE105 – Fall 2014 Microelectronic Devices and Circuits Prof. Ming C

13

25 Lecture24-Digital Circuits-CMOS Inverters

CMOS Logic Power-Delay Product

•  The power-delay product is given as:

•  The figure shows a symmetrical inverter switching waveform

PDP = Pavτ P

Pav =CVDD2 f =CVDD

2 1T

( )

55

58.0

22

8.0

2

22DD

PP

DD

PPr

bfar

CVCVPDP

tttttT

=≥

===+++≥

ττ

ττ

26 Lecture24-Digital Circuits-CMOS Inverters

CMOS Logic NOR Gate

Reference Inverter

CMOS NOR gate implementation

Basic CMOS logic gate structure

Y = A+B

2 PMOS in series à double (W/L) to obtain similar RON,P

(W/L)PMOS = 2.5x (W/L)NMOS to make up for lower

hole mobility

A B Y0 0 1 0 1 0 1 0 0 1 1 0

Page 14: EE105 – Fall 2014 Microelectronic Devices and Circuitsee105/fa14/lectures/Lecture24-Digital Circuits-CMOS...EE105 – Fall 2014 Microelectronic Devices and Circuits Prof. Ming C

14

27 Lecture24-Digital Circuits-CMOS Inverters

CMOS Logic NAND Gates

CMOS NAND gate implementation

Reference Inverter

Y = AB

(W/L)PMOS is usually 2.5x (W/L)NMOS to make up for lower

hole mobility

2 NMOS in series à double (W/L) to obtain similar RON,N

A B Y 0 0 1 0 1 1 1 0 1 1 1 0

28 Lecture24-Digital Circuits-CMOS Inverters

Complex CMOS Logic Gate Design Example (cont.)

•  From the PMOS graph, the PMOS network can now be drawn for the final CMOS logic gate while once again considering the longest PMOS path for sizing

Two equivalent forms of the final circuit