unit 1 traditional cmos design

26
TRADITIONAL CMOS DESIGN 25/12/2016 Imran Ullah Khan JAP/IU 1

Upload: imran-khan

Post on 11-Jan-2017

100 views

Category:

Engineering


5 download

TRANSCRIPT

Page 1: Unit 1 Traditional CMOS Design

TRADITIONAL CMOS DESIGN

25/12/2016 Imran Ullah Khan JAP/IU 1

Page 2: Unit 1 Traditional CMOS Design

Outline

CMOS Gate Design Pass Transistors CMOS Latches & Flip-Flops Stick Diagrams

25/12/2016 Imran Ullah Khan JAP/IU 2

Page 3: Unit 1 Traditional CMOS Design

CMOS Gate Design

A 4-input CMOS NOR gate

A

B

C

DY

25/12/2016 Imran Ullah Khan JAP/IU 3

Page 4: Unit 1 Traditional CMOS Design

Complementary CMOS Complementary CMOS logic gates

• nMOS pull-down network• pMOS pull-up network

X (crowbar)0Pull-down ON

1Z (float)Pull-down OFFPull-up ONPull-up OFF

25/12/2016 Imran Ullah Khan JAP/IU 4

pMOS pull-up network

nMOS pull-down network

Page 5: Unit 1 Traditional CMOS Design

Series and Parallel

nMOS: 1 = ON

pMOS: 0 = ON

Series: both must be ON

Parallel: either can be ON

(a)

a

b

a

b

g1

g2

0

0

a

b

0

1

a

b

1

0

a

b

1

1

OFF OFF OFF ON

(b)

a

b

a

b

g1

g2

0

0

a

b

0

1

a

b

1

0

a

b

1

1

ON OFF OFF OFF

(c)

a

b

a

b

g1 g2 0 0

OFF ON ON ON

(d) ON ON ON OFF

a

b

0

a

b

1

a

b

11 0 1

a

b

0 0

a

b

0

a

b

1

a

b

11 0 1

a

b

g1 g2

25/12/2016 Imran Ullah Khan JAP/IU 5

Page 6: Unit 1 Traditional CMOS Design

Conduction ComplementComplementary CMOS gates always produce 0 or 1

Ex: NAND gate Series nMOS: Y=0 when both inputs are 1 Thus Y=1 when either input is 0 Requires parallel pMOS

Rule of Conduction Complements Pull-up network is complement of pull-down Parallel -> series, series -> parallel

A

B

Y

25/12/2016 Imran Ullah Khan JAP/IU 6

Page 7: Unit 1 Traditional CMOS Design

Compound Gates Compound gates can do any inverting function Ex: AND-AND-OR-INV (AOI22)

A

B

C

D

A

B

C

D

A B C DA B

C D

B

D

YA

CA

C

A

B

C

D

B

D

Y

(a)

(c)

(e)

(b)

(d)

(f)

)()( DCBAY

25/12/2016 Imran Ullah Khan JAP/IU 7

Page 8: Unit 1 Traditional CMOS Design

Example:

A B

Y

C

D

DC

B

A

DCBAY )(

25/12/2016 Imran Ullah Khan JAP/IU 8

Page 9: Unit 1 Traditional CMOS Design

Pass Transistors Transistors can be used as switches

g

s d

g

s d

25/12/2016 Imran Ullah Khan JAP/IU 9

Page 10: Unit 1 Traditional CMOS Design

Pass Transistors

Transistors can be used as switchesg

s d

g = 0s d

g = 1s d

0 strong 0Input Output

1 degraded 1

g

s d

g = 0s d

g = 1s d

0 degraded 0Input Output

strong 1

g = 1

g = 1

g = 0

g = 0

25/12/2016 Imran Ullah Khan JAP/IU 10

Page 11: Unit 1 Traditional CMOS Design

Transmission Gates Pass transistors produce degraded outputs Transmission gates pass both 0 and 1 well

g = 0, gb = 1a b

g = 1, gb = 0a b

0 strong 0

Input Output

1 strong 1

g

gb

a b

a bg

gb

a bg

gb

a bg

gb

g = 1, gb = 0

g = 1, gb = 0

25/12/2016 Imran Ullah Khan JAP/IU 11

Page 12: Unit 1 Traditional CMOS Design

Tristates

Tristate buffer produces Z when not enabled

111001Z10Z00YAEN

25/12/2016 Imran Ullah Khan JAP/IU 12

Page 13: Unit 1 Traditional CMOS Design

Multiplexers 2:1 multiplexer chooses between two inputs

1X11

0X01

11X0

00X0

YD0D1S

25/12/2016 Imran Ullah Khan JAP/IU 13

Page 14: Unit 1 Traditional CMOS Design

Transmission Gate Mux Nonrestoring mux uses two transmission gates

Only 4 transistors

S

S

D0

D1YS

25/12/2016 Imran Ullah Khan JAP/IU 14

Page 15: Unit 1 Traditional CMOS Design

D Latch When CLK = 1, latch is transparent

Q follows D (a buffer with a Delay) When CLK = 0, the latch is opaque

Q holds its last value independent of D a.k.a. transparent latch or level-sensitive latch

D

CLK

Q

25/12/2016 Imran Ullah Khan JAP/IU 15

Page 16: Unit 1 Traditional CMOS Design

Gate Layout Layout can be very time consuming

Design gates to fit together nicely Build a library of standard cells Must follow a technology rule

Standard cell design methodology VDD and GND should abut (standard height) Adjacent gates should satisfy design rules nMOS at bottom and pMOS at top All gates include well and substrate contacts

25/12/2016 Imran Ullah Khan JAP/IU 16

Page 17: Unit 1 Traditional CMOS Design

Example: Inverter

25/12/2016 Imran Ullah Khan JAP/IU 17

Page 18: Unit 1 Traditional CMOS Design

Inverter, contd..

Layout using Electric

25/12/2016 Imran Ullah Khan JAP/IU 18

Page 19: Unit 1 Traditional CMOS Design

Example: NAND3 Horizontal N-diffusion and p-diffusion strips Vertical polysilicon gates Metal1 VDD rail at top Metal1 GND rail at bottom 32 by 40

25/12/2016 Imran Ullah Khan JAP/IU 19

Page 20: Unit 1 Traditional CMOS Design

NAND (using Electric), contd.

25/12/2016 Imran Ullah Khan JAP/IU 20

Page 21: Unit 1 Traditional CMOS Design

Stick Diagrams Stick diagrams help plan layout quickly

Need not be to scale Draw with color pencils or dry-erase markers

25/12/2016 Imran Ullah Khan JAP/IU 21

Page 22: Unit 1 Traditional CMOS Design

Stick Diagrams Stick diagrams help plan layout quickly

Need not be to scale Draw with color pencils or dry-erase markers

VinVout

VDD

GND

25/12/2016 Imran Ullah Khan JAP/IU 22

Page 23: Unit 1 Traditional CMOS Design

Wiring Tracks A wiring track is the space required for a wire

4 width, 4 spacing from neighbor = 8 pitch Transistors also consume one wiring track

25/12/2016 Imran Ullah Khan JAP/IU 23

Page 24: Unit 1 Traditional CMOS Design

Area Estimation Estimate area by counting wiring tracks

Multiply by 8 to express in

25/12/2016 Imran Ullah Khan JAP/IU 24

Page 25: Unit 1 Traditional CMOS Design

Example: Sketch a stick diagram for O3AI and estimate area

DCBAY )(

25/12/2016 Imran Ullah Khan JAP/IU 25

Page 26: Unit 1 Traditional CMOS Design

Example:

Sketch a stick diagram for O3AI and estimate area DCBAY )(

25/12/2016 Imran Ullah Khan JAP/IU 26