outline the cmos inverter: a first glance · j. rabaey et. al. “digital integrated circuits: a...

21
Topic 3 - 1 Introduction to Digital Integrated Circuit Design Combinational Logic Topic 3 Combinational Logic Peter Y. K. Cheung Department of Electrical & Electronic Engineering Imperial College London URL: http://www.ee.ic.ac.uk/pcheung E-mail: [email protected] Topic 3 - 2 Introduction to Digital Integrated Circuit Design Combinational Logic Based on slides/material by… J. Rabaey http://bwrc.eecs.berkeley.edu/Classes/IcBook/instructors.html “Digital Integrated Circuits: A Design Perspective”, Prentice Hall D. Harris http://www.cmosvlsi.com/coursematerials.html Weste and Harris, “CMOS VLSI Design: A Circuits and Systems Perspective”, Addison Wesley Recommended Reading: J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS VLSI Design: A Circuits and Systems Perspective”: Chapter 2 (2.5), Chapter 6 (6.1, 6.2) Topic 3 - 3 Introduction to Digital Integrated Circuit Design Combinational Logic Outline CMOS Inverter response delays Logic gates Static CMOS Conventional Static CMOS Logic Ratioed Logic Pass Transistor/Transmission Gate Logic Dynamic CMOS Domino np-CMOS Tristates and Multiplexers Topic 3 - 4 Introduction to Digital Integrated Circuit Design Combinational Logic The CMOS Inverter: A First Glance V DD V in V out C L

Upload: others

Post on 16-Jul-2020

3 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Outline The CMOS Inverter: A First Glance · J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS

Topic 3 - 1Introduction to Digital Integrated Circuit DesignCombinational Logic

Topic 3

Combinational Logic

Peter Y. K. CheungDepartment of Electrical & Electronic Engineering

Imperial College London

URL: http://www.ee.ic.ac.uk/pcheungE-mail: [email protected]

Topic 3 - 2Introduction to Digital Integrated Circuit DesignCombinational Logic

Based on slides/material by…

J. Rabaey http://bwrc.eecs.berkeley.edu/Classes/IcBook/instructors.html“Digital Integrated Circuits: A Design Perspective”, Prentice Hall

D. Harris http://www.cmosvlsi.com/coursematerials.htmlWeste and Harris, “CMOS VLSI Design: A Circuits and Systems Perspective”, Addison Wesley

Recommended Reading:J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6

Weste and Harris, “CMOS VLSI Design: A Circuits and Systems Perspective”: Chapter 2 (2.5), Chapter 6 (6.1, 6.2)

Topic 3 - 3Introduction to Digital Integrated Circuit DesignCombinational Logic

Outline

CMOS Inverter• response• delays

Logic gates• Static CMOS

Conventional Static CMOS LogicRatioed LogicPass Transistor/Transmission Gate Logic

• Dynamic CMOSDominonp-CMOS

Tristates and Multiplexers

Topic 3 - 4Introduction to Digital Integrated Circuit DesignCombinational Logic

The CMOS Inverter: A First Glance

VDD

Vin Vout

CL

Page 2: Outline The CMOS Inverter: A First Glance · J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS

Topic 3 - 5Introduction to Digital Integrated Circuit DesignCombinational Logic

CMOS Inverters

Polysilicon

InOut

Metal1

VDD

GND

PMOS

NMOS

1.2 μm=2λ

Topic 3 - 6Introduction to Digital Integrated Circuit DesignCombinational Logic

Inverter DC Response

DC Response: Vout vs. Vin for a gateInverter• When Vin = 0 -> Vout = VDD

• When Vin = VDD -> Vout = 0In between, Vout depends on transistor size and currentBy KCL, must settle such that Idsn = |Idsp|Transfer function can be found by solving equations, but graphical solution gives more insightCurrent depends on region of transistor behavior (cutoff, linear, saturation)

Idsn

Idsp Vout

VDD

Vin

Topic 3 - 7Introduction to Digital Integrated Circuit DesignCombinational Logic

nMOS Operation

Vgsn > Vtn

Vin > Vtn

Vdsn > Vgsn – Vtn

Vout > Vin - Vtn

Vgsn > Vtn

Vin > Vtn

Vdsn < Vgsn – Vtn

Vout < Vin - Vtn

Vgsn < Vtn

Vin < Vtn

SaturatedLinearCutoff

Idsn

Idsp Vout

VDD

Vin

Vgsn = Vin

Vdsn = Vout

Topic 3 - 8Introduction to Digital Integrated Circuit DesignCombinational Logic

pMOS Operation

Vgsp < Vtp

Vin < VDD + Vtp

Vdsp < Vgsp – Vtp

Vout < Vin - Vtp

Vgsp < Vtp

Vin < VDD + Vtp

Vdsp > Vgsp – Vtp

Vout > Vin - Vtp

Vgsp > Vtp

Vin > VDD + Vtp

SaturatedLinearCutoff

Idsn

Idsp Vout

VDD

Vin

Vgsp = Vin - VDD

Vdsp = Vout - VDD

Vtp < 0

Page 3: Outline The CMOS Inverter: A First Glance · J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS

Topic 3 - 9Introduction to Digital Integrated Circuit DesignCombinational Logic

Operating Regions

CVout

0

Vin

VDD

VDD

A B

DE

Vtn VDD/2 VDD+VtpCutoffLinearE

SaturationLinearD

SaturationSaturationC

LinearSaturationB

LinearCutoffA

pMOSnMOSRegion

Topic 3 - 10Introduction to Digital Integrated Circuit DesignCombinational Logic

Load Line Analysis

Current vs Vout, VinFor a given Vin:• Plot Idsn, Idsp vs. Vout

• Vout must be where |currents| are equal inIdsn

Idsp Vout

VDD

Vin

Topic 3 - 11Introduction to Digital Integrated Circuit DesignCombinational Logic

DC Transfer Curve

Transcribe points onto Vin vs. Vout plot

Vin5

Vin4

Vin3

Vin2Vin1

Vin0

Vin1

Vin2

Vin3Vin4

VoutVDD

CVout

0

Vin

VDD

VDD

A B

DE

Vtn VDD/2 VDD+Vtp

Topic 3 - 12Introduction to Digital Integrated Circuit DesignCombinational Logic

Beta Ratio

Exact switching point depends on βp / βn

If βp / βn ≠ 1, switching point will move from VDD/2Otherwise:

Vout

0

Vin

VDD

VDD

0.51

2

10p

n

ββ

=

0.1p

n

ββ

=

Page 4: Outline The CMOS Inverter: A First Glance · J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS

Topic 3 - 13Introduction to Digital Integrated Circuit DesignCombinational Logic

Noise Margins

How much noise can a gate input see before it does not recognize the input?

IndeterminateRegion

NML

NMH

Input CharacteristicsOutput Characteristics

VOH

VDD

VOL

GND

VIH

VIL

Logical HighInput Range

Logical LowInput Range

Logical HighOutput Range

Logical LowOutput Range

Topic 3 - 14Introduction to Digital Integrated Circuit DesignCombinational Logic

Logic Levels

To maximize noise margins, select logic levels at • unity gain point of DC transfer characteristic

VDD

Vin

Vout

VOH

VDD

VOL

VIL VIHVtn

Unity Gain PointsSlope = -1

VDD-|Vtp|

βp/βn > 1

Vin Vout

0

Topic 3 - 15Introduction to Digital Integrated Circuit DesignCombinational Logic

Transient Response

DC analysis tells us Vout if Vin is constantTransient analysis tells us Vout(t) if Vin(t) changes• Requires solving differential equations

Input is usually considered to be a step or ramp• From 0 to VDD or vice versa

Topic 3 - 16Introduction to Digital Integrated Circuit DesignCombinational Logic

Inverter Step Response

Ex: find step response of inverter driving load cap

0

0

( )( )

( )

(

(

)

)

DD

DD

loa

d

ou

i

d

t

o

n

ut sn

VV

u t t Vt t

V tV

ddt C

t

I t

= −=

= −

<

( )0

22

0

2)

)( ( )

( DD DD t

DD

out

outout out D t

n

t

ds

D

I V

t t

V V V V

V V V VV

tV t V t

β

β

⎧≤⎪

⎪= − > −⎨⎪ ⎛ ⎞− − < −⎪ ⎜ ⎟

⎝ ⎠⎩

Vout(t)

Vin(t)

t0t

Vin(t) Vout(t)Cload

Idsn(t)

Page 5: Outline The CMOS Inverter: A First Glance · J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS

Topic 3 - 17Introduction to Digital Integrated Circuit DesignCombinational Logic

Ideal Inverter

Vin

Vout

g=−∞

Ri = ∞

Ro = 0

Topic 3 - 18Introduction to Digital Integrated Circuit DesignCombinational Logic

Voltage Transfer Characteristic of Real Inverter

0.0 1.0 2.0 3.0 4.0 5.0Vin (V)

1.0

2.0

3.0

4.0

5.0

Vou

t (V

)

VMNMH

NML

Topic 3 - 19Introduction to Digital Integrated Circuit DesignCombinational Logic

Outline

CMOS Inverter• response• delays

Logic gates• Static CMOS

Conventional Static CMOS LogicRatioed LogicPass Transistor/Transmission Gate Logic

• Dynamic CMOSDominonp-CMOS

Tristates and Multiplexers

Topic 3 - 20Introduction to Digital Integrated Circuit DesignCombinational Logic

Delay Definitions

tpHL tpLH

t

t

Vin

Vout

50%

50%

tr

10%

90%

tf

Page 6: Outline The CMOS Inverter: A First Glance · J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS

Topic 3 - 21Introduction to Digital Integrated Circuit DesignCombinational Logic

Impact of Rise Time on Delay

t pH

L(ns

ec)

0.35

0.3

0.25

0.2

0.15

trise (nsec)10.80.60.40.20

Topic 3 - 22Introduction to Digital Integrated Circuit DesignCombinational Logic

Simulated Inverter Delay

Solving differential equations by hand is too hardSPICE simulator solves the equations numerically• Uses more accurate I-V models too!

But simulations take time to write

(V)

0.0

0.5

1.0

1.5

2.0

t(s)0.0 200p 400p 600p 800p 1n

tpdf = 66ps tpdr = 83psVin Vout

Topic 3 - 23Introduction to Digital Integrated Circuit DesignCombinational Logic

Delay Estimation

Need to easily estimate delay• Not as accurate as simulation• But easier to ask “What if?”

The step response usually looks like a 1st order RC response with a decaying exponential.Use RC delay models to estimate delay• C = total capacitance on output node• Use effective resistance R• So that tpd = RC

Characterize transistors by finding their effective R• Depends on average current as gate switches

Topic 3 - 24Introduction to Digital Integrated Circuit DesignCombinational Logic

RC Delay Models

Use equivalent circuits for MOS transistors• Ideal switch + capacitance and ON resistance• Unit nMOS has resistance R, capacitance C• Unit pMOS has resistance 2R, capacitance C

Capacitance proportional to widthResistance inversely proportional to width

kgs

dg

s

d

kCkC

kCR/k

kgs

dg

s

d

kC

kC

kC

2R/k

Page 7: Outline The CMOS Inverter: A First Glance · J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS

Topic 3 - 25Introduction to Digital Integrated Circuit DesignCombinational Logic

Computing the Capacitances

VDD VDD

VinVout

M1

M2

M3

M4Cdb2

Cdb1

Cgd12

Cw

Cg4

Cg3

Vout2

Fanout

Interconnect

VoutVin

CLSimplified

Model

Topic 3 - 26Introduction to Digital Integrated Circuit DesignCombinational Logic

Computing the Capacitances

Topic 3 - 27Introduction to Digital Integrated Circuit DesignCombinational Logic

Delay as a function of VDD

0

4

8

12

16

20

24

28

2.00 4.001.00 5.003.00

Nor

mal

ized

Del

ay

VDD (V)

Topic 3 - 28Introduction to Digital Integrated Circuit DesignCombinational Logic

Outline

CMOS Inverter• response• delays

Logic gates• Static CMOS

Conventional Static CMOS LogicRatioed LogicPass Transistor/Transmission Gate Logic

• Dynamic CMOSDominonp-CMOS

Tristates and Multiplexers

Page 8: Outline The CMOS Inverter: A First Glance · J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS

Topic 3 - 29Introduction to Digital Integrated Circuit DesignCombinational Logic

Digital Gates Fundamental Parameters

FunctionalityReliability, RobustnessAreaPerformance• Speed (delay)• Power Consumption• Energy

Topic 3 - 30Introduction to Digital Integrated Circuit DesignCombinational Logic

Fan-in and Fan-out

N

M

(a) Fan-out N

(b) Fan-in M

Topic 3 - 31Introduction to Digital Integrated Circuit DesignCombinational Logic

Combinational vs. Sequential Logic

Logic

Circuit

Logic

CircuitOut

OutInIn

(a) Combinational (b) Sequential

State

Output = f(In) Output = f(In, Previous In)

Topic 3 - 32Introduction to Digital Integrated Circuit DesignCombinational Logic

Outline

CMOS Inverter• response• delays

Logic gates• Static CMOS

Conventional Static CMOS LogicRatioed LogicPass Transistor/Transmission Gate Logic

• Dynamic CMOSDominonp-CMOS

Tristates and Multiplexers

Page 9: Outline The CMOS Inverter: A First Glance · J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS

Topic 3 - 33Introduction to Digital Integrated Circuit DesignCombinational Logic

Static CMOS Circuit

At every point in time (except during the switching transients) each gate output is connected to either Vdd or Vss via a low-resistive path. The outputs of the gates assume at all times the value of the Boolean function, implemented by the circuit (ignoring, once again, the transient effects during switching periods). This is in contrast to the dynamic circuit class, which relies on temporary storage of signal values on the capacitance of high impedance circuit nodes.

Topic 3 - 34Introduction to Digital Integrated Circuit DesignCombinational Logic

Static CMOS

VDD

VSS

PUN

PDN

In1In2In3

F = G

In1In2In3

PUN and PDN are Dual Networks

PMOS Only

NMOS Only

Topic 3 - 35Introduction to Digital Integrated Circuit DesignCombinational Logic

NMOS Transistors in Series/Parallel Connection

Transistors can be thought as a switch controlled by its gate signalNMOS switch closes when switch control input is high

X Y

A B

Y = X if A and B

X Y

A

B Y = X if A OR B

NMOS Transistors pass a “strong” 0 but a “weak” 1

Topic 3 - 36Introduction to Digital Integrated Circuit DesignCombinational Logic

PMOS Transistors in Series/Parallel Connection

X Y

A B

Y = X if A AND B = A + B

X Y

A

B Y = X if A OR B = AB

PMOS Transistors pass a “strong” 1 but a “weak” 0

PMOS switch closes when switch control input is low

Page 10: Outline The CMOS Inverter: A First Glance · J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS

Topic 3 - 37Introduction to Digital Integrated Circuit DesignCombinational Logic

Complementary CMOS Logic Style Construction

Topic 3 - 38Introduction to Digital Integrated Circuit DesignCombinational Logic

NAND Gate

Topic 3 - 39Introduction to Digital Integrated Circuit DesignCombinational Logic

NOR Gate

Topic 3 - 40Introduction to Digital Integrated Circuit DesignCombinational Logic

Complex Gates

VDD

AB

C

D

DA

B C

OUT = D + A• (B+C)

Page 11: Outline The CMOS Inverter: A First Glance · J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS

Topic 3 - 41Introduction to Digital Integrated Circuit DesignCombinational Logic

4-input NAND Gate

In3

In1

In2

In4

In1 In2 In3 In4

VDD

Out

In1 In2 In3 In4

Vdd

GND

Out

Topic 3 - 42Introduction to Digital Integrated Circuit DesignCombinational Logic

Standard Cell Layout Methodology

VDD

VSS

Well

signalsRouting Channel

metal1

polysilicon

Topic 3 - 43Introduction to Digital Integrated Circuit DesignCombinational Logic

Two Versions of (a+b).c

a c b a b c

xx

GND

VDDVDD

GND

(a) Input order {a c b} (b) Input order {a b c}

Topic 3 - 44Introduction to Digital Integrated Circuit DesignCombinational Logic

Logic Graph

VDD

c

a

x

b

ca

b

GND

x

VDDx

c

b a

i

j

i

jPDN

PUN

Page 12: Outline The CMOS Inverter: A First Glance · J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS

Topic 3 - 45Introduction to Digital Integrated Circuit DesignCombinational Logic

Consistent Euler Path

GND

x

VDDx

c

b a

i

j

{ a b c}

Topic 3 - 46Introduction to Digital Integrated Circuit DesignCombinational Logic

Example: x = ab+cd

GND

x

a

b c

d

VDDx

GND

x

a

b c

d

VDDx

(a) Logic graphs for (ab+cd) (b) Euler Paths {a b c d}

a c d

x

VDD

GND

(c) stick diagram for ordering {a b c d}b

Topic 3 - 47Introduction to Digital Integrated Circuit DesignCombinational Logic

Properties of Complementary CMOS Gates

High noise margins: VOH and VOL are at VDD and GND, respectively.

No static power consumption:There never exists a direct path between VDD and VSS (GND) in steady-state mode.

Comparable rise and fall times:(under the appropriate scaling conditions)

Topic 3 - 48Introduction to Digital Integrated Circuit DesignCombinational Logic

Transistor Sizing

VDD

AB

C

D

DA

B C

12

22

6

612

12

F

• for symmetrical response (dc, ac)• for performance

Focus on worst-case

Input Dependent

Page 13: Outline The CMOS Inverter: A First Glance · J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS

Topic 3 - 49Introduction to Digital Integrated Circuit DesignCombinational Logic

Propagation Delay Analysis - The Switch Model

VDDVDDVDD

CL

F CL

CL

F

F

RpRp Rp Rp

Rp

Rn

Rn

Rn Rn Rn

AA

A

AA

A

B B

B

B

(a) Inverter (b) 2-input NAND (c) 2-input NOR

tp = 0.69 Ron CL

(assuming that CL dominates!)

= RON

Topic 3 - 50Introduction to Digital Integrated Circuit DesignCombinational Logic

What is the Value of Ron?

Topic 3 - 51Introduction to Digital Integrated Circuit DesignCombinational Logic

Analysis of Propagation Delay

VDD

CL

F

Rp Rp

Rn

Rn

A

A B

B

2-input NAND

1. Assume Rn=Rp= resistance of minimum sized NMOS inverter

2. Determine “Worst Case Input” transition(Delay depends on input values)

3. Example: tpLH for 2input NAND- Worst case when only ONE PMOS Pulls

up the output node- For 2 PMOS devices in parallel, the

resistance is lower

4. Example: tpHL for 2input NAND- Worst case : TWO NMOS in series

tpLH = 0.69RpCL

tpHL = 0.69(2Rn)CLTopic 3 - 52Introduction to Digital Integrated Circuit DesignCombinational Logic

Design for Worst Case

VDD

CL

F

A

A B

B

2

2

1 1

VDD

AB

C

D

DA

B C1

2

22

2

24

4

F

Here it is assumed that Rp = Rn

Page 14: Outline The CMOS Inverter: A First Glance · J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS

Topic 3 - 53Introduction to Digital Integrated Circuit DesignCombinational Logic

Influence of Fan-In and Fan-Out on Delay

VDD

A B

A

B

C

D

C D

tp a1FI a2FI2 a3FO+ +=

Fan-Out: Number of Gates Connected2 Gate Capacitances per Fan-Out

FanIn: Quadratic Term due to:

1. Resistance Increasing2. Capacitance Increasing(tpHL)

Topic 3 - 54Introduction to Digital Integrated Circuit DesignCombinational Logic

tp as a function of Fan-In

1 3 5 7 9fan-in

0.0

1.0

2.0

3.0

4.0

t p (n

sec)

tpHL

tp

tpLHlinear

quadratic

AVOID LARGE FAN-IN GATES! (Typically not more than FI < 4)

Topic 3 - 55Introduction to Digital Integrated Circuit DesignCombinational Logic

Fast Complex Gate - Design Techniques

• Transistor Sizing: As long as Fan-out Capacitance dominates

• Progressive Sizing:

CL

In1

InN

In3

In2

Out

C1

C2

C3

M1 > M2 > M3 > MN

M1

M2

M3

MN

Distributed RC-line

Can Reduce Delay with more than 30%!

Topic 3 - 56Introduction to Digital Integrated Circuit DesignCombinational Logic

Fast Complex Gate - Design Techniques (2)

In1

In3

In2

C1

C2

CL

M1

M2

M3

In3

In1

In2

C3

C2

CL

M3

M2

M1

(a) (b)

• Transistor Ordering

critical pathcritical path

Page 15: Outline The CMOS Inverter: A First Glance · J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS

Topic 3 - 57Introduction to Digital Integrated Circuit DesignCombinational Logic

Fast Complex Gate - Design Techniques (3)

• Improved Logic Design

Topic 3 - 58Introduction to Digital Integrated Circuit DesignCombinational Logic

Fast Complex Gate - Design Techniques (4)

• Buffering: Isolate Fan-in from Fan-out

CLCL

Topic 3 - 59Introduction to Digital Integrated Circuit DesignCombinational Logic

Ratioed Logic

VDD

VSS

PDNIn1In2In3

F

RLLoad

VDD

VSS

In1In2In3

F

VDD

VSS

PDNIn1In2In3

FVSS

PDN

Resistive DepletionLoad

PMOSLoad

(a) resistive load (b) depletion load NMOS (c) pseudo-NMOS

VT < 0

Goal: to reduce the number of devices over complementary CMOS

Topic 3 - 60Introduction to Digital Integrated Circuit DesignCombinational Logic

Pseudo-NMOS

The pull-up p-channel transistor is always conducting. • Disadvantages: high d.c. dissipation & slow rise time.

Page 16: Outline The CMOS Inverter: A First Glance · J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS

Topic 3 - 61Introduction to Digital Integrated Circuit DesignCombinational Logic

Pseudo-NMOS NAND Gate

VDD

GND

Topic 3 - 62Introduction to Digital Integrated Circuit DesignCombinational Logic

Improved Loads

VDD

VSS

PDN1

Out

VDD

VSS

PDN2

Out

AABB

M1 M2

Dual Cascode Voltage Switch Logic (DCVSL)

Topic 3 - 63Introduction to Digital Integrated Circuit DesignCombinational Logic

Pass-Transistor Logic

Inpu

ts Switch

Network

OutOut

A

B

B

B

• N transistors• No static consumption

Topic 3 - 64Introduction to Digital Integrated Circuit DesignCombinational Logic

NMOS-only switch

A = 5 V

B

C = 5 V

CL

A = 5 V

C = 5 V

BM2

M1

Mn

Threshold voltage loss causesstatic power consumption

VB does not pull up to 5V, but 5V - VTN

Page 17: Outline The CMOS Inverter: A First Glance · J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS

Topic 3 - 65Introduction to Digital Integrated Circuit DesignCombinational Logic

Pass Transistor Logic with feedback

Topic 3 - 66Introduction to Digital Integrated Circuit DesignCombinational Logic

Complementary Pass Transistor Logic

A

B

A

B

B B B B

A

B

A

B

F=AB

F=AB

F=A+B

F=A+B

B B

A

A

A

A

F=A⊕ΒÝ

F=A⊕ΒÝ

OR/NOR EXOR/NEXORAND/NAND

F

F

Pass-TransistorNetwork

Pass-TransistorNetwork

AABB

AABB

Inverse

(a)

(b)

Topic 3 - 67Introduction to Digital Integrated Circuit DesignCombinational Logic

4 Input NAND in CPL

Topic 3 - 68Introduction to Digital Integrated Circuit DesignCombinational Logic

Transmission Gate

A B

C

C

A B

C

C

BCL

C = 0 V

A = 5 V

C = 5 V

Page 18: Outline The CMOS Inverter: A First Glance · J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS

Topic 3 - 69Introduction to Digital Integrated Circuit DesignCombinational Logic

Pass Transistor XOR gate

Topic 3 - 70Introduction to Digital Integrated Circuit DesignCombinational Logic

Outline

CMOS Inverter• response• delays

Logic gates• Static CMOS

Conventional Static CMOS LogicRatioed LogicPass Transistor/Transmission Gate Logic

• Dynamic CMOSDominonp-CMOS

Tristates and Multiplexers

Topic 3 - 71Introduction to Digital Integrated Circuit DesignCombinational Logic

Dynamic Logic

Mp

Me

VDD

PDN

φ

In1In2In3

OutMe

Mp

VDD

PUN

φ

In1In2In3

φ

φ

Out

CL

CL

φp networkφn network

2 phase operation:• Evaluation

• Precharge

Topic 3 - 72Introduction to Digital Integrated Circuit DesignCombinational Logic

Example

Mp

Me

VDD

φOut

φ

A

B

C

• N + 1 Transistors

• Ratioless

• No Static Power Consumption

• Noise Margins small (NML)

• Requires Clock

Page 19: Outline The CMOS Inverter: A First Glance · J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS

Topic 3 - 73Introduction to Digital Integrated Circuit DesignCombinational Logic

Dynamic 4 Input NAND Gate

In1In2In3In4

Out

VDD

GNDφ

Topic 3 - 74Introduction to Digital Integrated Circuit DesignCombinational Logic

Cascading Dynamic Gates

Mp

Me

VDD

φ

φ

Mp

Me

VDD

φ

φ

In

Out1 Out2

φ

Out2

Out1

In

V

t

ΔV

VTn

(a) (b)

Only 0→1 Transitions allowed at inputs!

Topic 3 - 75Introduction to Digital Integrated Circuit DesignCombinational Logic

Domino Logic

Mp

Me

VDD

PDN

φ

In1In2In3

Out1

φ

Mp

Me

VDD

PDN

φ

In4

φ

Out2

Mr

VDD

Static Inverterwith Level Restorer

Topic 3 - 76Introduction to Digital Integrated Circuit DesignCombinational Logic

Domino Logic - Characteristics

• Only non-inverting logic

• Very fast - Only 1->0 transitions at input of invertermove VM upwards by increasing PMOS

• Adding level restorer reduces leakage andcharge redistribution problems

• Optimize inverter for fan-out

Page 20: Outline The CMOS Inverter: A First Glance · J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS

Topic 3 - 77Introduction to Digital Integrated Circuit DesignCombinational Logic

np-CMOS

Mp

Me

VDD

PDN

φ

In1In2In3

φ

Me

Mp

VDD

PUN

φ

In4

φOut1

Out2

Only 1→0 transitions allowed at inputs of PUN

Topic 3 - 78Introduction to Digital Integrated Circuit DesignCombinational Logic

CMOS Circuit Styles - Summary

Topic 3 - 79Introduction to Digital Integrated Circuit DesignCombinational Logic

Outline

CMOS Inverter• response• delays

Logic gates• Static CMOS

Conventional Static CMOS LogicRatioed LogicPass Transistor/Transmission Gate Logic

• Dynamic CMOSDominonp-CMOS

Tristates and Multiplexers

Topic 3 - 80Introduction to Digital Integrated Circuit DesignCombinational Logic

Tristates

Tristate buffer produces Z when not enabled

111

001

Z10

Z00

YAEN

A Y

EN

A Y

EN

EN

Page 21: Outline The CMOS Inverter: A First Glance · J. Rabaey et. al. “Digital Integrated Circuits: A Design Perspective”: Chapter 5 (5.1 – 5.3), Chapter 6 Weste and Harris, “CMOS

Topic 3 - 81Introduction to Digital Integrated Circuit DesignCombinational Logic

Multiplexers

2:1 multiplexer chooses between two inputs

1X11

0X01

11X0

00X0

YD0D1S

0

1

S

D0

D1Y

Topic 3 - 82Introduction to Digital Integrated Circuit DesignCombinational Logic

Gate Level Mux Design

How many transistors are needed? 20

1 0 (too many transistors)Y SD SD= +

44

D1

D0S Y

4

2

22 Y

2

D1

D0S

Topic 3 - 83Introduction to Digital Integrated Circuit DesignCombinational Logic

Transmission Gate Mux

Mux uses two transmission gates• Only 4 transistors

S

S

D0

D1YS

Topic 3 - 84Introduction to Digital Integrated Circuit DesignCombinational Logic

Summary

Inverter response and delays• Three main operating regions (cutoff, linear, saturation)• Noise margins• tpHL, tpLH, tf, tr

Logic design styles• Static (ignores transient effects during switching)

Conventional static CMOS (PUP, PDN networks)Ratioed logic (resistive load on top of PDN network)Pass transistors/transmission gates (one transistor per input/good 0 and 1 values)

• Dynamic (temporary stores signal values on capacitances of circuit nodes) Domino (cascaded dynamic gates connected through inverters) np-CMOS (cascaded dynamic gates with alternating networks)