Docsity

Electronics Output stages Chapter 15, Slides of Electronics

Partial preview of the text

Download Electronics Output stages Chapter 15 and more Slides Electronics in PDF only on Docsity!

CHAPTER 15 CMOS DIGITAL LOGIC CIRCUITS

Chapter Outline

15.1 CMOS Logic-Gate Circuits

15.2 Digital Logic Inverters

15.3 The CMOS Inverter

15.4 Dynamic Operation of the CMOS Inverter

15.5 Transistor Sizing

15.6 Power Dissipation

15.1 CMOS Logic-Gate Circuits

Switch-Level Transistor Model

 NMOS and PMOS transistors as switches

 Switch on: small resistance R

on

or r

DS

 Switch off: open circuit

The CMOS Inverter

 Invert the logic value of the input

 Represented by Boolean expression

 When X = 1 (V

X

= V

DD

 Y = 0 (V

Y

= 0V)

 When X = 0 (V

X

= 0V)

 Y = 1 (V

Y

= V

DD

Y  X

Two-Input Logic Gates

 Two-input NOR gate, two-input NAND gate and Exclusive-OR gate

NOR gate NAND gate XOR gate

Synthesis Method for PUN and PDN

 The PDN can be directly synthesized by expressing the inverted Boolean function in

uncomplemented variables (inverters are needed if complemented variables appear in the

expression)

 The PUN can be directly synthesized by expressing the nonverted Boolean function in

complemented variables (inverters are needed if uncomplemented variables appear in the

expression)

 The PUN can be also obtained from the PDN (and vice versa) using the duality property

15.2 Digital Logic Inverters

The Voltage-Transfer Characteristic (VTC)

 The function of the inverter is to invert the logic value of its input signal

 The voltage-transfer characteristic is used to evaluate the quality of inverter operation

 VTC parameters

 V

OH

: output high level

 V

OL

: output low level

 V

IH

: the minimum value of input interpreted by the inverter as a logic 1

 V

IL

: the maximum value of input interpreted by the inverter as a logic 0

 Transition region: input level between V

IL

and V

IH

Noise Margins

 The VTC is generally non-linear

 V

IH

and V

IL

are defined as the points at which the slope of the VTC is -

 Robustness (noise margin at a high level): NM

H

= V

OH

V

IH

 Robustness (noise margin at a low level): NM

L

= V

IL

V

OL

 Static inverter characteristics for ideal VTC:

 V

OH

= V

DD

 V

OL

 V

IH

= V

IL

= V

DD

 NM

H

= NM

L

= V

DD

Ideal VTC

Inverter Implementation

 Simplest implementation of the inverter with a MOSFET and a load

 Inverter implementation with complementary switches

 Inverter implementation with a double-throw switch

15.3 The CMOS Inverter

Circuit Operation

 A CMOS inverter consists of an n-channel and a p-channel MOSFET

 The n-channel device turns on and the p-channel device turns off as the input level goes high

 The p-channel device turns on and the n-channel device turns off as the input level goes low

 The turn-on device is modeled by a resistance:

 V

OH

= V

DD

and V

OL

= 0 for any CMOS inverter

1 ' / ( )

  DSN n n DD tn

r k W L V V    

1 ' / ( | |)

  DSP p p DD tp

andr k W L V V

Static Characteristics of the CMOS Inverter

 Ratioless logic: V

OH

and V

OL

are independent of ratio of the transistors

 V

OH

= V

DD

 V

OL

 Static power dissipation is zero for both states

 Noise margins can be determined by the VTC

 The switching voltage (when v

I

= v

O

) is defined by

where

 V

M

increases with r (not a strong function)

 NM

L

increases and NM

H

decreases as r increases

 NM

L

decreases and NM

H

increases as r decreases

r

rV V V

V

DD tp tn

M

n n

p p

n

p

W L
W L

k

k

r

( / )

The Matched Inverter

 A matched inverter has equivalent pull-up and pull-down device with k

n

= k

p

and V

tn

= |V

tp

| = V

t

 The VTC is symmetric

 Determine V

IL

from the VTC in Region II:

 Determine V

IH

from the VTC in Region IV:

 Noise margins: NM

H

= NM

L

= (3V

DD

+2V

t

 Switching voltage: V

M

= V

DD

2 2 ( )

I t DD I t DD O DD O

v V V v V V v V v

2 2 ( )

2

I t o O DD I t

v V v  v  V v V

I

O

DD O

I

O

I t DD O DD I t dv

dv

V v

dv

dv

v V (V v )(V v  V) (  )

IL DD t

V  V  V

DD I t

I

O

O

I

O

O I t

V v V

dv

dv

v

dv

dv

v  v  V    

IH DD t

V  V  V

 An alternative approach:

 Modeling the turn-on device as a resistance

 Use RC charge/discharge behavior to evaluate the propagation delay

 The empirical values of the resistors are given by

 t

PHL

= 0.69R

N

C and t

PLH

= 0.69R

P

C

 Step function at input may underestimate propagation delay  t

PHL

 R

N

C and t

PLH

 R

P

C

 k

W L

R

n

N

 k

W L

R

p

P

and

Determining the Equivalent Load Capacitance

 Components accountable for the equivalent load capacitance

 Transistor parasitic capacitances from Q

1

and Q

2

(intrinsic component)

 Input capacitance of the following stages (extrinsic component)

 Wiring capacitance or interconnect capacitance (extrinsic component)

1 2 1 2 3 4 int ext

C ( 2 C 2 C C C ) (C C C ) C C

gd gd db db g g w

Transistor Sizing

The (W/L) ratios are chosen for a worst-case gate delay equal to

that of the basic inverter (assuming C is constant)

The derivation of equivalent (W/L) ratio is based on the equivalent

resistance of the transistors

Effects of Fan-In and Fan-Out

Each additional input to a CMOS gate requires two additional transistors

Increases the chip area and the propagation delay due to excess capacitive loading

The number of NAND gate is typically limited to 4

Redesign the logic design may be required for a higher number of inputs

Advantages of using CMOS logic: static power dissipation, ratioless design, noise margin

Disadvantage of using CMOS logic: area, complexity, capacitive loading, propagation delay

1

1 2

SeriesConnection ( / )

W L W L
W L

eq

1 ( / )

 r  W L DS

Parallel Connection ( / ) ( / ) ( / ) ... 1 2

 W L  W L  W L 

eq

Driving a Large Capacitance

 A large capacitive load drastically increases the propagation delay

 Use a large inverter to drive the load could alleviate the propagation delay

 The input capacitance increases accordingly equivalently shifting the burden forward

 Chain of scaled inverters in cascade to alleviate the problem with large capacitive load