64
Layout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

  • Upload
    lekiet

  • View
    281

  • Download
    8

Embed Size (px)

Citation preview

Page 1: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Layout of Analog Circuits

Jyotirmoy Ghosh

Asudeb Dutta

Advanced VLSI Design Lab

Page 2: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab
Page 3: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab
Page 4: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

MOSFET (NMOS) StructureMOSFET (NMOS) Structure

p-substrate

n+ n+

OxidePolyS

GD

Leff

Ldrawn

LD

W

Page 5: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab
Page 6: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab
Page 7: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab
Page 8: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab
Page 9: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab
Page 10: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab
Page 11: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

MOS Device Layout

NMOS Layout

PMOS Layout

Page 12: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Stick Diagram (Symbolic Layout)In stick diagram the lines represents the corresponding layers in layout .i.e. rather than drawing a rectangle to draw poly you are just drawing a line. this simplify designer's work in drawing layout "on paper" 1 Dimensionless layout entities with legend for each layer 2 Only topology is important

Stick Diagram of Inverter Actual Layout of Inverter

Page 13: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab
Page 14: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab
Page 15: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab
Page 16: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab
Page 17: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Layout Steps

•Floor planningDivision of the entire die area among subcomponents to facilitate interconnection and effectively utilize the area.

•PlacementPlacing the modules in the layout.

•RoutingConnecting the modules with different metal layers.

Page 18: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Issues of Analog Layout

• Use of more number vias

• Fingering and proper orientation

• Device matching

• Symmetrical and common centriod layout design

• Use of Guard ring and substrate trapping

Page 19: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Resistors:1) RPD (P+ Diffusion) -> R (sheet)= 83 ohm/�

Metal 1P - diffusion

salex

Passive devicesResistance (cont’d)

Page 20: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

P+ Diffusion (RPD)

Equivalent Model

Passive devicesResistance (cont’d)

Page 21: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Resistors:1) RND (N+ Diffusion) -> R (sheet) = 32 ohm/�

N - diffusionMetal 1

salex

Passive devicesResistance (cont’d)

Page 22: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

N+ Diffusion (RND)

Equivalent Model

Passive devicesResistance (cont’d)

Page 23: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Resistors:1) RPP (P+ Poly) -> R (sheet) = 175 ohm/�

Metal 1Poly

salex

P+

Passive devicesResistance (cont’d)

Page 24: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Equivalent Model

Passive devicesResistance (cont’d)

P+

Page 25: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Resistors:1) RNP (N+ Poly) -> R (sheet) = 125 ohm/�

Metal 1Poly

salex

Passive devicesResistance (cont’d)

N+

Page 26: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Equivalent Model

Passive devicesResistance (cont’d)

N+

Page 27: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Choice of Resistances:Parasitic effect

Process variation,

Temperature variation,

Operating frequency

Area of resistance

There are many others resistors : RWA, PHVPP,RHVNP etc

Passive devicesResistance (cont’d)

Page 28: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Passive devicesCapacitance

Page 29: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Capacitor:CPP (over the substrate) : 0.86*10-3 F/m2

poly

substrate

oxide Field Oxide (FOX)Lower plateUpper plate

Passive devicesCapacitance (cont’d)

Page 30: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Ca =0.8629e-3 Cf = 0.8629e-3 (F/m^2)

Passive devicesCapacitance (cont’d)

Page 31: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Capacitor:CPP (over the Nwell) : 0.86*10-3 F/m2

poly

substrate

oxide Field Oxide (FOX)Lower plateUpper plate

nwell

Passive devicesCapacitance (cont’d)

Page 32: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Ca =0.8629e-3 Cf = 0.8629e-3 (F/m^2)

Passive devicesCapacitance (cont’d)

Nwell

Page 33: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Capacitor:Accumulation capacitor : 6.166*10-3 F/m2

substrate

oxide

nwell

N+ implant

poly

Upper plateLower plate

Passive devicesCapacitance (cont’d)

Page 34: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

There are many others capacitors :COMB cap, Interdigtized Cap, MOS Varactor cap

Passive devicesCapacitance (cont’d)

Page 35: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Capacitor:

•Good matching accuracy

•Low voltage coefficient

•Less parasitic capacitance

•High capacitance per area

•Low temp. coefficient

Passive devicesCapacitance (cont’d)

Page 36: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Interconnection

Page 37: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

One Via resistance = 4- 5 ohm

Interconnection (cont’d)

Page 38: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

p-substrate

n+ n+

GS D

p+

B

NMOS & PMOS (CMOS) on same substrate

p+ n+ n+

GDSB

p-substrate

n-well

BDG

S

p+ p+ n+

B G DS

n-substrate

p+ p+n+

Page 39: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Latch up problem

p+ n+ n+

GDSB

p-substrate

n-well

BDG

S

p+ p+ n+

Vdd

Vss

Vss

Vdd

Permanent current flow between Vdd and Vss

Page 40: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Substrate Coupling

Page 41: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Substrate Coupling

Page 42: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Metal 1

N+

POLY

Composite

Guard ring

Page 43: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Guard ring and Substrate Contact

Many MOSs may in a single ring.The purpose of the ring is to bias the bulk also.

It removes the latch up problem also.It is used around the passive devices also. It reduces the interference from the adjacent blocks.Width of the ring should not be bigger than a limit to ensure proper biasing.

Page 44: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Proper ground connection

•All the modules of the chip should be properly grounded.

•Use star ground.

•Ground metal should be wider.

•Vdd metal should also be wider.

•Try to avoid same Vdd line for a noisy and sensitive blocks.

•Use different pins for the noisy and sensitive blocks.

Page 45: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Star Ground

Page 46: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Things to remember

•Keep sufficient spacing between power blocks and sensitive blocks.

•Two high frequency carrying pins should not be side by side.

•Use ground pin to avoid magnetic coupling between two pins.

Page 47: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Matching of the devices

Page 48: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Why Special attention on Matching ?

A large variety of analog circuits rely on matching of transistors. Circuits like differential pair rely on gate to source voltage matching while current mirrors rely on current matching.

Most integrated resistors and capacitors have a tolerance of about 20% to 30%. But ratio of two similar components can be controlled to a tolerance of 15 or even 0.1% by proper matching of the components.

Page 49: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Reasons of Mismatch

Systematic mismatches which are caused by :

Process biases

Mechanical stress

Temperature gradients

Polysilicon etch rates etc.

Mismatch in integrated circuits are generally of two types :

Random mismatches due to microscopic fluctuations in dimensions, doping, oxide thickness and other parameters that influence component values.

Page 50: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

How does mismatch affect the performance of the circuit ?

I1 I2I1 = ½ µnCoxWL

(VGS-Vt1)2

1

I2 = ½ µnCoxWL

(VGS-Vt2)2

2

Defining average and mismatch quantities, we have

I = (I1+I2)/2 , ∆I = I1-I2 , W/L = [(W/L)1 + (W/L)2]/2

Vt = (Vt1+Vt2)/2 , ∆Vt = Vt1-Vt2

Current Mirror

Page 51: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Substituting these expressions and neglecting higher order terms we obtain :

∆ΙI =

∆(W/L)

W/L

∆Vt

( VGS – Vt)/2-

Thus from the above equation we can see that the mismatch in the current depend upon

1) Mismatch in the (W/L) values of the transistors.

2) Mismatch in the threshold values of the transistors which increases as the overdrive voltage ( VGS-Vt) is reduced.

How does mismatch affect the performance of the circuit ? (cont’d)

Page 52: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Input Offset voltage of a differential pair

VOS = ∆Vt + ( VGS – Vt)

2- ∆ RL

RL- ∆( W/L)

W/L

Thus we see that the offset voltage depends upon two parameters :

The first component is the threshold voltage mismatch of the transistors . This depends upon the layout and it can be reduced by careful layout.

The second component of the offset scales with the overdrive voltage and is related to mismatch in the load elements and mismatch in the W/L values.

Page 53: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Rules for MOS transistor matching

Place transistors in close proximity.

Orient transistors in the same direction.

Keep the layout of the transistors as compact as possible

Whenever possible use Common centroid layouts.

Place transistors segments in the areas of low stress gradients.

Place transistors well away from the power devices.

For current matching keep overdrive voltage large.

For voltage matching keep overdrive voltage smaller.

Page 54: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Rules for resistor and capacitor matching

Construct matched resistors of same type.

Make matched resistors of the same width.

Orient matched resistors in the same direction.

Place matched resistors in close proximity.

Place the matched resistors in such a way that their centroids coincide i.e. interdigitate arrayed resistors.

Place dummies on either end of the resistor array.

Connect matched resistors to cancel thermoelectric effects.

Page 55: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Common Centroid Layout

Gradient-induced mismatches can be minimized by reducing the distance between the centroids of the matched devices. The layouts which actually reduce the distance between centroids of the matched pair to zero are called common centroid layouts.

A B B AD SD SD SD SD

Common Centroid Layout of two MOS

Page 56: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Interdigitation can also be done in 2 dimensions

DASDBSDBSDAS

DBSDASDASDBS

DASDBS

DBSDAS

Common Centroid Layout for Resistors

R1 R2 R2 R1

Common Centroid Layout (cont’d)

Page 57: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Layout of Matched Resistors

r2

Page 58: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Fingering of MOS and Common-centroid Layout example

Fingering of MOS and Common-centroid Layout example

Page 59: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Layout of Multi-finger Transistors

G

Fingering

Drawback of Fingering

Reduces gate resistance. Improves noise and delay

Increases drain and source side-wall capacitance.

Page 60: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Example of MOS Layout with fingers

•Power MOSFET layout with large W/L ratio (in the order of 105-106)

Page 61: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Layout of Standard blocksCascode Transistors

Differential Pair

Page 62: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Layout of Standard blocks (cont’d)

2-D Common-centriod

Page 63: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

PAD, PIN & PACKAGE

Pad cap ~80f-2pF

Bondwire Inductor=1nH/mm

Pin Inductor=1-2nH

Pin Cap=300fF

Page 64: Layout of Analog Circuits - MiXeDsIgNaL · PDF fileLayout of Analog Circuits Jyotirmoy Ghosh Asudeb Dutta Advanced VLSI Design Lab

Thank You