1. Lecture 04
CMOS Layout (1)
Integrated Circuits Laboratory (ICL)
Electronics and Communications Eng. Dept.
Faculty of Engineering
Ain Shams University
Dr. Hesham A. Omran
Digital IC Design
ً
يلِ
لَق ا
َّلِ
إِ
مْلِ
عْلا َ
نِ
م ْمُ
يتِ
توُأاَ
مَ
و
6 January 2022 3
جمادى
الثانية
1443
This lecture is mainly based on “CMOS VLSI Design”, 4th edition, by N. Weste and D. Harris and
its accompanying lecture notes
3. Layout vs Cross-Section
04: CMOS Layout (1) 3
n+
p substrate
p+
n well
A
Y
GND VDD
n+
p+
substrate tap
well
tap
n+ p+
GND VDD
Y
A
substrate tap well tap
nMOS transistor pMOS transistor
4. Detailed Mask Views
❑ Six masks
1. N-well
2. Polysilicon
3. n+ diffusion
4. p+ diffusion
5. Contact
6. Metal
❑ The transistor is formed by the
intersection of polysilicon and
diffusion
04: CMOS Layout (1) 4
Metal
Polysilicon
Contact
n+ Diffusion
p+ Diffusion
n well
5. Layout Design Rules (DRs)
❑ The contract between the designer and the process engineer
❑ Same layer: min width and min spacing
❑ Different layers: min spacing, min enclosure (overlap), and min extension
❑ What happens to transistor if min extension of poly is not observed?
04: CMOS Layout (1) 5
[H. Kaeslin, 2008]
6. 04: CMOS Layout (1) 6
Layout DRs cont'd
❑ Real-life layout DRs are very complicated
▪ Checked by a software CAD tool
▪ DRC: Design rule check
▪ Mentor Calibre is the industry standard DRC tool
▪ Checks the layout using a “rule file” (a.k.a. rule deck) and generates a list of DRC errors
7. 04: CMOS Layout (1) 7
Layout DRs cont’d
❑ Generally, the foundry will not accept any design with DRC errors
▪ All errors must be fixed
▪ Sometimes the errors are not real and can be ignored (you must check with the
foundry)
▪ In special cases, minor DRC errors can be accepted by the foundry (but you must
request an official DRC error waiver)
8. λ-Based Layout DRs
❑ Simplified scalable conservative rules to get you started
❑ Feature size f = 2l =distance between source and drain
▪ Set by minimum width of polysilicon
❑ Feature size improves 30% every 3 years or so
❑ Normalize layout design rules in terms of l = f/2
▪ E.g. l = 0.3 mm in 0.6 mm process
04: CMOS Layout (1) 8
9. 04: CMOS Layout (1) 9
λ-Based Layout DRs cont'd
❑ Simplified scalable conservative rules to get you started
❑ Real-life DRs are in microns and are much more complex
10. 04: CMOS Layout (1) 10
Inverter Layout
❑ Transistor dimensions specified as Width / Length
▪ Minimum size is 4l / 2l, sometimes called 1 unit
▪ In f = 0.6 mm process, this is 1.2 mm wide, 0.6 mm long
11. 04: CMOS Layout (1) 11
Systematic Layout
❑ Layout can be very time consuming
▪ Design gates to fit together nicely
▪ Build a library of standard cells
❑ Line of diffusion style
▪ Simple and straightforward layout style for standard cells
▪ Four horizontal strips:
1. metal ground at the bottom
2. n-diffusion
3. p-diffusion
4. metal power at the top
▪ Polysilicon lines run vertically to form transistor gates
▪ Metal wires connect the transistors appropriately
12. A
VDD
GND
B C
Y
metal1
poly
ndiff
pdiff
contact
NAND3
04: CMOS Layout (1) 12
Stick Diagrams
❑ Stick diagrams help plan layout quickly
▪ Need not be to scale
▪ Draw with color pencils or dry-erase markers
❑ Transistor = intersection of poly and diffusion
❑ Note source and drain sharing
c
A
VDD
GND
Y
INV
13. 04: CMOS Layout (1) 13
Stick Diagrams cont'd
❑ Metal1 GND rail at bottom
❑ Horizontal N-diffusion and p-diffusion strips
❑ Metal1 VDD rail at top
❑ Vertical polysilicon gates
❑ Metal1 makes connections
A
VDD
GND
B C
Y
metal1
poly
ndiff
pdiff
contact
NAND3
c
A
VDD
GND
Y
INV
14. Area Estimation (Using λ-Based DRs)
❑ A wiring track (WT) is the space required for a wire
▪ 4 l width, 4 l spacing from neighbor = 8 l pitch
❑ Transistors also consume one WT (if W is min)
❑ Wells must surround transistors by 6 l
▪ Implies 12 l between opposite transistor flavors
▪ Leaves room for one WT → total equivalent to 3 WT (if W is min)
04: CMOS Layout (1) 14
15. Area Estimation cont'd
❑ Estimate area by counting wiring tracks (WT)
▪ Multiply by 8 to express in l
❑ For the inverter: 2 WT by 5 WT → 16 l by 40 l
❑ For the NAND3: 4 WT by 5 WT → 32 l by 40 l
04: CMOS Layout (1) 15
A
VDD
GND
B C
Y
metal1
poly
ndiff
pdiff
contact
NAND3
c
A
VDD
GND
Y
INV
16. INV and NAND3 Cells
❑ INV area: 16 l by 40 l → exactly as estimated!
❑ NAND3 area: 32 l by 40 l → exactly as estimated!
❑ Note source and drain sharing
❑ Practically: Use MANY substrate and well taps
04: CMOS Layout (1) 16
17. Example
❑ Find the logic expression for the following gate.
04: CMOS Layout (1) 17
A
VDD
GND
B C
Y
D
18. Example
❑ Estimate the cell width and height of the cell using min size transistors
04: CMOS Layout (1) 18
A
VDD
GND
B C
Y
D
19. Example: O3AI
❑ Estimate the cell width and height of the cell using min size transistors
04: CMOS Layout (1) 19
A
VDD
GND
B C
Y
D
6 tracks =
48 l
5 tracks =
40 l
20. Standard Cell Design
❑ Standard cell design methodology
▪ VDD and GND supply rails in M1 (uniform cell
height)
▪ nMOS at bottom and pMOS at top (uniform well
height)
▪ Adjacent gates should satisfy design rules
▪ All gates include well and substrate contacts
▪ Cells connected by abutment
04: CMOS Layout (1) 20
22. Antenna Rules
❑ Antenna effect:
▪ Metal wires charge up when it is plasma-etched
▪ May damage thin gate oxide (plasma-induced gate-oxide damage)
❑ Antenna rules define max metal area to gate oxide area to avoid damage
04: CMOS Layout (1) 22
23. Antenna Rules cont'd
❑ Ways to fix it:
1) Jump to upper metal layer just before the gate
2) Add a reverse-biased diode (bleeds off the charges during the high-temperature
plasma-etch process)
3) Use M1 only: D/S diffusion is already a reverse-biased diode
04: CMOS Layout (1) 23
24. Layer Density Rules
❑ Each layer must have adequate density to ensure uniform etching and proper CMP
❑ A metal layer may have to satisfy minimum density (e.g., 30%) and maximum density (e.g.,
70%)
❑ There are both global (whole chip) and local (e.g., 100µmx100µm area) density rules
❑ If not already satisfied by the design dummy structures (and holes) must be added to fix
the errors
❑ Foundries usually provide a “metal-fill” script to add dummy structures (and holes)
automatically
▪ May add parasitic capacitances or cause mismatch
▪ Should be disabled over sensitive analog circuitry (by using “fill-stop” layout layer)
04: CMOS Layout (1) 24
25. Metal Slotting Rules
❑ Wide metal wires are usually used for global wires
(e.g., power routing) to decrease resistance
❑ Slots must be added parallel to the current flow to
provide stress relief and ensure proper fabrication
❑ Foundries usually provide a script to automate this
process
04: CMOS Layout (1) 25
26. Latchup
❑ Ordinarily, both parasitic bipolar transistors are OFF.
❑ If substantial current flows in the substrate:
▪ Vsub turning ON the npn transistor
▪ Vwell turning ON the pnp-transistor
❑ A positive feedback loop is triggered with a large current flowing between VDD and GND
04: CMOS Layout (1) 26
Find the mistake
27. Latchup
❑ Latchup prevention is easily accomplished by minimizing Rsub
and Rwell
▪ Use MANY substrate/well taps close to each transistor
❑ I/O pads are more prone to latchup because external
voltages can ring below GND or above VDD
▪ Current may flow into the substrate
▪ Guard rings should be used (a low resistance path to
collect stray currents)
❑ Latchup is not important for:
▪ SOI processes (no parasitic BJT)
▪ DSM nodes with VDD < 1.4 (no enough voltage to turn on
two BJTs)
04: CMOS Layout (1) 27
28. Electromigration
❑ Electromigration refers to the gradual displacement of the metal atoms of a conductor as a
result of the current flowing through that conductor.
04: CMOS Layout (1) 28
[http://eesemi.com/emig.htm] [https://en.wikipedia.org/wiki/Electromigration]
29. Transistor Layout
❑ The transistor is formed by the
intersection of polysilicon and diffusion
❑ Add “good” contacts to drain, source, and
substrate/well.
04: CMOS Layout (1) 29
[F. Maloberti, Layout of Analog CMOS IC]
BAD GOOD
30. Multiple or Single Contact/Via?
❑ Curvature in the metal layer can cause fractures
02: CMOS Layout 30
[F. Maloberti, Layout of Analog CMOS IC]
31. Multi-finger Transistor Layout
❑ Transistors often have large W/L ratio
❑ Multi-finger layout is commonly used
▪ Compact layout
▪ Smaller parasitic capacitances
▪ Smaller gate resistance
02: CMOS Layout 31
[F. Maloberti, Layout of Analog CMOS IC]
33. Multifinger Transistor Layout
❑ Transistors often have large W/L ratio
❑ Multifinger layout is commonly used
▪ Smaller parasitic capacitances
▪ Smaller gate resistance
04: CMOS Layout (1) 33
[F. Maloberti, Layout of Analog CMOS IC]
34. FinFET Layout
04: CMOS Layout (1) 34
[King Liu, Berkeley]
❑ Fin width, height, and pitch (Pfin) are
fixed by technology
❑ The channel width is quantized
❑ FinFET orientation is limited by DRs
38. Interdigitated Devices
❑ Matching is extremely important for analog
❑ Current should be flowing in same direction
❑ Use interdigitated structures
▪ Each of A and B is 4 fingers
▪ AABBAABB
▪ ABBAABBA
04: CMOS Layout (1) 38
1
2 3
A B
[F. Maloberti, Layout of Analog CMOS IC]
39. Common Centroid Layout
❑ Matched devices are laid out such that they have the same axis of symmetry
❑ First order process gradients are compensated
❑ Metal and poly connections are more complex
04: CMOS Layout (1) 39
[F. Maloberti, Layout of Analog CMOS IC]
40. Dummy Structures
❑ Structures at the ends have different boundary
conditions compared to structures in the middle
❑ Dummy structures MUST be used
❑ Applies for transistors, resistors, and capacitors
04: CMOS Layout (1) 40
[F. Maloberti, Layout of Analog CMOS IC]