Analog Design Layout

65
1 Introduction to Analog Design Dr. S. L. Pinjare

Transcript of Analog Design Layout

Page 1: Analog Design Layout

1

Introduction to Analog Design

Dr. S. L. Pinjare

Page 2: Analog Design Layout

2

What is Analog VLSI Design?

• Implementation of analog circuits and systems using integrated circuit technology.

• Unique Features of Analog IC Design– Geometry

• an important part of the design

– Usually implemented as a mixed analog-digital circuit

• Typically Analog is 20% and digital 80% of the chip area

– Designed at the circuit level

– Customized design– Analog requires 80% of the design time

– Passes for success: 2-3 for analog, 1 for digital.

Page 3: Analog Design Layout

3

Analog Design Flow

• Electrical Design• Physical Design• Fabrication and Testing • Product

Page 4: Analog Design Layout

4

Analog Design FlowElectrical Design

Physical Design

Idea Concept

Define the Design

Implementation

Simulation

RedesignComparison with the Design Specification

Fabrication

Testing and Product Development

Page 5: Analog Design Layout

5

Analog Design FlowElectrical Design

Physical Design

Idea Concept

Define the Design

Implementation

Simulation

RedesignComparison with the Design Specification

Physical Implementation-Layout

Physical Verification-DRC,ERC,LVS,Antenna

Parasitic Extraction and Back Annotation

Fabrication

Testing and Product Development

Page 6: Analog Design Layout

6

Analog Design FlowElectrical Design

Physical Design

Idea Concept

Define the Design

Implementation

Simulation

RedesignComparison with the Design Specification

Fabrication Fabrication

Testing and Product Development

Physical Implementation-Layout

Physical Verification-DRC,ERC,LVS,Antenna

Parasitic Extraction and Back Annotation

Page 7: Analog Design Layout

7

Analog Design FlowElectrical Design

Physical Design

Idea Concept

Define the Design

Implementation

Simulation

RedesignComparison with the Design Specification

Fabrication Fabrication

TestingTesting and Product Development PRODUCT

Physical Implementation-Layout

Physical Verification-DRC,ERC,LVS,Antenna

Parasitic Extraction and Back Annotation

Page 8: Analog Design Layout

8

Skills Required for Analog IC Design

• In general, analog circuits are more complex than digital.– Requires an ability to use multiple concepts simultaneously.

– Must be able to make appropriate simplifications and assumptions.

– Must have good knowledge of both modeling and technology.

– Be able to learn from failure.

– Be able to use simulation correctly.• (Usage of a simulator)x(Common sense)=Constant

• Simulators are only as good as the models and the knowledge of those models.

– “all models are wrong, some are useful"

– Simulators are only good if you already know the answers.

Page 9: Analog Design Layout

9

Implications of Technology Advancement on IC Design

• The good:– Smaller geometries– Smaller parasitics– Higher transconductance– Higher bandwidths

• The bad:– Reduced voltages– Smaller channel resistances (lower gain)– More nonlinearity– Deviation from square-law behavior

• The ugly:– Increased substrate noise in mixed signal applications– Threshold voltages are not scaling with power supply– Reduced dynamic range– Suitable models for analog design

Page 10: Analog Design Layout

10

Analog Design components

• Active devices– Transistors

• Nmos and pmos

• Passives – Resistors

– Capacitors

– Inductors

• Using existing layers and masks and possibly adding a few extra layers

Page 11: Analog Design Layout

11

Layout consideration

• Design rules– Allowance Errors in patterning and etching

• Minimum width

• Minimum spacing

• Minimum enclosure

• Minimum extension

• Process variability– Parameter variation across the chip

Page 12: Analog Design Layout

12

Design rules

• Minimum width – The minimum width of polygon defines the limits of a fabrication process.

– A violation of the minimum width rules potentially results in an open circuit in the offending layer.

– An open circuit may be created during fabrication.

– A narrow path may be created during fabrication - large currents passing through a narrow path cause the path to act like a fuse.

Page 13: Analog Design Layout

13

Design rules

• Minimum spacing:– To avoid an unwanted short circuit between two polygons

during fabrication,

• S1 > Smin, where Smin is set by process.

Page 14: Analog Design Layout

14

Design rules

• Minimum enclosure:– Apply to polygons on different layers.

– Misalignment between polygons may result in either unwanted open or short circuit connections.

Page 15: Analog Design Layout

15

Design rules

• Minimum extension:– Some geometries must extend beyond the edge of others by a

minimum value.

• Eg. Gate poly must have a minimum extension beyond the active area to ensure proper transistor action at the edge.

Page 16: Analog Design Layout

16

Design Rules• Example of the design rules applying to the POLY layerC3.4 POLY: Gate Structures and resistors are defined by the poly layer. Minimum design rules are used for the polylayer. i.e. this is the minimum feature size for this process.• A ≥ 1.5 µm,(minimum polywidth /Length). • B ≥ 1.5 µm,(minimum poly to poly distance).• C ≥ 1.5 µm,(minimum poly-over-oxide overlap).

Page 17: Analog Design Layout

17

Layout - Matching

• In analog electronics it is often necessary to have matched pairs of devices with identical electrical properties, e.g. input transistors of a differential stage, and current mirror– In theory two device with the same size have the same

electrical properties.

• In reality there is always process variations

• Matching:– Layout techniques to minimize the errors introduced by these

process variations.

Page 18: Analog Design Layout

18

Unit Matching

• Two electrically equivalent components.• Draw them identically

– both item and surrounding

– A and B have same shape in area and perimeter

– identical item?

– Do they have the same surrounding?

Page 19: Analog Design Layout

19

Unit Matching

• Two electrically equivalent components.• Draw them identically

– both item and surrounding

– A and B have same shape in area and perimeter

– identical item?

– Do they have the same surrounding?-No

– Use Dummies to have identical surroundings

Page 20: Analog Design Layout

20

Common-centroid layout

• Process variations can locally be approximated with a linear gradient.(a): A1 + A2 < B1 + B2

(b): A1 + A2 = B1 + B2 (common-centroid)

Page 21: Analog Design Layout

21

Resistors

• All materials have a resistivity• Typical resistivities

– Metal layer : 0.1 Ohm/square

– n/p-plus contacts and polysilicon: 10-100 Ohm/square

– n-well: 1000 Ohm/square

– low doped poly silicon: 10 k Ohm/square

• more well defined than n-well, i.e. higher accuracy

Page 22: Analog Design Layout

22

Poly-Resistors

• Poly Resistors– Silicidated poly resistors: 1 − 10 Ohm/sq.

• ≈±30%

– Non-silicidated poly resistors: 50-1000 Ohms per unit area .

• Small parasitic capacitances to substrate.

• Superior linearity.

• High cost due to the extra mask needed to block silicide layer.

• ≈±20%

Page 23: Analog Design Layout

23

Diffusion Resistors

• 1k Ohm/sq– N-well

• Large parasitic capacitance between n-well and substrate.

• Resistance is strongly terminal voltage-dependent and highly nonlinear.

– Depletion width varies with terminal voltages.The cross-section area varies with terminal voltages

• Large error : ≈±40%

• noisy as all disturbances/noise from substrate can be coupled directly onto the resistors

Page 24: Analog Design Layout

24

Resistor Layout• Standard Resistors: Avoid 90 degree angle. 45 degree is recommended

Recommended resistor layout

1. Resistance at the corners cannot be estimated accurately

2. Current flow at the corner is not uniform

Page 25: Analog Design Layout

25

Resistor Layout

• Dummy resistors are added to minimizes the effect of process variation

Page 26: Analog Design Layout

26

Shielded Resistors

• Shielding resistors are connected to a constant voltage source to prevent self-coupling of the resistor R/inter-coupling with others.

• Widely used in analog/RF design.

• Caution - a mutual capacitance between the resistor and its shield exist.

Layout of shielded resistors

(S = shielding resistors)

Page 27: Analog Design Layout

27

Layout of Large Resistors

• Use n-well resistors – have a large sheet resistance.

• Enclosed by a substrate shielding ring, also known as guard ring, to isolate the resistors from neighboring devices.

Page 28: Analog Design Layout

28

Layout of Matched Resistors

• Inter-Digitized Layout – minimizes the effect of process variation in x-direction.

• Dummy resistors are added to ensure both resistors have the exactly same environment.

Page 29: Analog Design Layout

29

Matched Resistors with Temperature Consideration

• Keep away from power devices

Page 30: Analog Design Layout

30

Resistor layout guidelines-Matched resistors

• Use same material• Identical geometry, same orientation• Close proximity, interdigitate arrayed resistors• Use dummy elements• Place resistors in Low stress area• Place resistors away from power devices• Use electrostatic shielding• Use proper endings

Page 31: Analog Design Layout

31

Capacitors

• Between each layer of metal, poly silicon or silicon there are naturally capacitors.

• Dielectrics between different metal layers have a thickness of 0.5-1 micron, which gives a rather large area for a given capacitance.

• Key Parameters– Linearity

– Parasitic capacitance to substrate

– Series resistance - resistance of capacitor plates

– Capacitance per unit area

• Larger specific capacitance (capacitance per unit area) gives smaller area

Page 32: Analog Design Layout

32

Types of IC Capacitors• Poly-diffusion capacitors

– Nonlinear bottom-plate parasitic capacitance.≈20% of inter-plate capacitance.– .6-.8 fF/µm2(≈±5%). Matching 0.2%

• MOS capacitors – stable capacitance in strong inversion – Non-negligible channel resistance lowers the quality factor (Q) of the capacitor– 0.6 - 0.8 fF/µm2; (≈±5%). Matching 0.5%

• Poly-poly capacitors– Not available in standard CMOS processes– 0.3 - 0.5 fF/µm2; (≈±10%). Matching 0.5%

• Metal-poly capacitors – Capacitance is small, area consuming. – 0.03-0.05 fF/µm2. (≈±25%). Matching 0.5%

• Metal-metal capacitors – Capacitance is small, area consuming – 0.02-0.04 fF/µm2; (≈±25%). Matching 0.1%

Page 33: Analog Design Layout

33

NON-IDEAL EFFECTS- UNDER-CUT

• Non-uniform undercut &/or edge fringing field effects change the value of designed capacitors.

• The area and perimeter ratio is preserved if we use layout using unit capacitors.

Case 1

Case 2

Ideal case: no undercut

Case 1 Case 2

Area 1:4 1:4

Perimeter 1:2 1:4

Typical case: 0.05 undercut

Case 1 Case 2

Area 1:4.46 1:4

P erimeter 1:2.1 1:4

Page 34: Analog Design Layout

34

NON-IDEAL EFFECTS-Corner Rounding

• Etching always causes corner rounding to some extent.

• This means that– 90° corners will be eroded and

– 270° corners will be have incomplete removal of material

• In order to overcome this effect use an equal number of 90° & 270° corners

Page 35: Analog Design Layout

35

Layout of MOS Capacitors

• Single finger structure – Large source/substrate & drain/substrate capacitances

– Large gate series resistance

Minimize Gate Series Resistance & Channel Resistance

Page 36: Analog Design Layout

36

Layout of MOS Capacitors

• Minimize Gate Series Resistance & Channel Resistance

• Use Multi-Finger Structure

Multi-finger structure minimizes source/substrate & drain/substrate parasitic capacitances.

Page 37: Analog Design Layout

37

Layout of Matched Capacitors

• Minimize the Effect of Oxide Thickness in both x and y-directions.– Common Centroid Structure.

– Dummy capacitors are needed to ensure the same environment for C1 and C2.

Page 38: Analog Design Layout

38

Layout of Matched Capacitors

• C1 and C2 are 2-poly capacitors.

• n-well is employed as a charge collector to shield the interaction between the bottom plate and substrate.

• n-well is biased at multiple points and connected to a constant voltage source.

Page 39: Analog Design Layout

39

Layout of MOS Transistors

• Criteria for MOS Transistor Layout– Minimize gate series resistance.

– Minimize source/drain resistances.

– Minimize source/substrate & drain/substrate parasitic capacitances.

Page 40: Analog Design Layout

40

Layout of MOS Transistors• Large gate series resistance

– 7.8±2.5Ohm/sq for typical 0.18μ CMOS processes.

• Large distributed resistance of source/drain

– 6.8±2.5Ohm/sq for n+ and 7.2±2.5Ohm/sq for p+ in typical 0.18μ CMOS processes.

• Large source/substrate and drain/substrate parasitic capacitances.

• Non-uniform gate/source/drain voltages.

• Non-uniform current flow

– M1 carries the most current and Mn carries the least current).

Most of the current will be shrunk to this side

Page 41: Analog Design Layout

41

Layout of MOS Transistors• Minimize Source/Drain Resistances

– Multiple contacts at source/drain• Better contact at source/drain → high reliability & smaller contact resistance (R

= Rc/N, where N=number of contacts).– Smaller source/drain resistances (series resistance is negligible but lateral

resistance still exists).– Large source/substrate and drain/substrate parasitic capacitances.

– Large gate series resistance- Gate is too long.• Contacts are not allowed on the gate above the channel (high temperature

required to form contacts may destroy the thin gate oxide).

Current is spread

Page 42: Analog Design Layout

42

Layout of MOS Transistors

Folding reduces gate resistance

No of fingers: Gate resistance < 0.1 to .5(1/gm)

Results in increase of parasitic capacitance

Poly contact at both ends

Page 43: Analog Design Layout

43

Layout of MOS Transistors

• Minimize Source/Substrate and Drain/Substrate Parasitic Capacitances – Shared sources/drains.

– Reduced silicon area.

Another layout

Page 44: Analog Design Layout

44

Antenna Effect

There will be charge accumulation on Metal1 during plasma etching (of metal1) causing damage to thin gate oxide (Large metal area)

Avoids antenna effect

Page 45: Analog Design Layout

45

Layout of a Cascode circuit

a.

b. c.

Page 46: Analog Design Layout

46

Layout of Wide transistors • Wide transistors need to be split• Parallel connection of n elements (n = 4 for this example)• Contact space is shared among transistors• Parasitic capacitances are reduced (important for high speed )

Note that parasitic capacitors are lesser at the drain

Page 47: Analog Design Layout

47

Layout of Matched Transistors

• Matched transistors are used extensively in both analog and digital CMOS circuits.

Page 48: Analog Design Layout

48

Photo-lithographic invariance (PLI)

• Lithography effects different in different direction• C and D are better

Page 49: Analog Design Layout

49

Photo-lithographic invariance (PLI)

• Effect of shadowing – S/D implant often has an angle.

– Drain/Source can be mirrored

Page 50: Analog Design Layout

50

Photo-lithographic invariance (PLI)

• Effect of shadowing :– Gate aligned

– Parallel gate:

• Two drains have different surroundings

• Two sources have different surroundings

Orientation is important in analog circuits for matching purposes

Page 51: Analog Design Layout

51

Layout of Matched Transistors

• Add dummy transistors to improve symmetry

• Presence of Metal line over M2 destroys symmetry • Replicate Metal line over

M1 improves symmetry

Page 52: Analog Design Layout

52

Layout of Matched Transistors

• Gradient along x-axis destroys symmetry

Page 53: Analog Design Layout

53

Matching - Summary

• To achieve both common-centroid and PLI matched transistors has to be split into 4 fingers.

Page 54: Analog Design Layout

54

Effect of wiring resistance

Page 55: Analog Design Layout

55

Page 56: Analog Design Layout

56

Matched Transistors• Matched transistors require elaborated layout techniques• Use inter-digitized layout style• Averages the process variations among transistors• Common terminal is like a serpentine• Uneven total drain area between M1 and M2.

– This is undesirable for ac conditions: capacitors and other parameters may not be equal • A more robust approach is needed (Use dummies if needed

Page 57: Analog Design Layout

57

Common Centroid Layouts

Page 58: Analog Design Layout

58

Common Centroid Layouts

• Split into parallel connections of even parts

• Half of them will have the drain at the right side and half at the left

• Be careful how you route the common terminal

Page 59: Analog Design Layout

59

Analog layout Issues

• Issues that are important in digital circuits are still important in analog layout. – Eg. parasitic aware layout.

• It is important to minimize series resistance in digital circuits because it slows switching speed.

– Series resistance also slows analog circuits, plus it introduces unwanted noise.

• Parasitic capacitance is avoided in digital circuits because it slows switching speed and/or increases dynamic power dissipation.

– Stray capacitance has the same effect in analog circuits

» Bias current must be increased to maintain bandwidth and/or slew rate when extra load capacitance is present .

» Extra load capacitance can lead to instability in high gain feedback systems.

Page 60: Analog Design Layout

60

Analog layout Issues

• Matching of Devices:Matching is important because most analog circuit designs use a ratio based design technique(e.g. current mirrors). Some common techniques that help improve device matching are – MULTI-GATE FINGER LAYOUT and

– COMMON-CENTROID LAYOUT.

• Noise:Noise is important in all analog circuits because it limits dynamic range.

• In general there are two types of noise, – random noise and

– environmental noise.

Page 61: Analog Design Layout

61

Analog layout Issues

• Random noise refers to noise generated by resistors and active devices in an integrated circuit;

• MULTI-GATE FINGER LAYOUT

– reduces the gate resistance of the poly-silicon and the neutral body region, which are both random noise sources.

• Generous use of SUBSTRATE PLUGS

– will help to reduce the resistance of the neutral body region, and thus will minimize the noise contributed by this resistance.

Page 62: Analog Design Layout

62

Analog layout Issues• Enivironmental noise

– Crosstalk; Ground bounce etc.– Generally appears as a common-mode signal.

• Use ‘fully-differential’ circuit design, – Substrate noise occurs when a large amount digital circuits are

present on a chip. The switching of a large number of circuits discharges large dynamic currents to the substrate, which cause the substrate voltage to ‘bounce’.

• The modulation of the substrate voltage can then couple into analog circuits via the body effect or parasitic capacitances.

• SUBSTRATE PLUGGING – minimizes substrate noise because it provides a low

impedance path to ground for the noise current.

Page 63: Analog Design Layout

63

Summary

• Use large area to reduce random error• Common Centroid layout to reduce linear gradient

errors• Use unit element arrays• Interdigitize for matching• Use of symmetry (photolithographic invariance)• Dummy device for similar vicinity• Guard rings for isolation

Page 64: Analog Design Layout

64

• References• A. Hastings, The Art of Analog Layout, Prentice-

Hall,2002.• B. Razavi, Design of Analog CMOS Integrated Circuits,• McGraw-Hill, 2001.

Page 65: Analog Design Layout

65

Thank You