Professional Documents
Culture Documents
L2 Print PDF
L2 Print PDF
CMOS VLSI
Design
Outline
z A Brief History
z MOS transistors
z CMOS Logic
z CMOS Fabrication and Layout
z Design Flow
z System Design
z Logic Design
z Physical Design
z Design Verification
z Fabrication, Packaging and Testing
1
CMOS Fabrication
z CMOS transistors are fabricated on a thin silicon
wafer that serve as both a mechanical support
and electrical common point called substrate
z Lithography process similar to printing press
z On each step, different materials are deposited or
etched
z Easiest to understand by viewing both top and
cross-section of wafer in a simplified
manufacturing process
3
Inverter Cross-section
z Typically use p-type substrate for nMOS
transistors
z Requires n-well for body of pMOS transistors
2
Well and Substrate Taps
z Substrate must be tied to GND and n-well to VDD
z Metal to lightly-doped semiconductor forms poor
connection called Shottky Diode
z Use heavily doped well and substrate contacts /
taps
GND VDD
3
Detailed Mask Views
n well
z Six masks
z n-well
z Polysilicon
Polysilicon
z n+ diffusion
n+ Diffusion
z p+ diffusion
z Contact
p+ Diffusion
z Metal
Contact
Metal
7
Fabrication Steps
z Start with blank wafer
z Build inverter from the bottom up
z First step will be to form the n-well
z Cover wafer with protective layer of SiO2 (oxide)
z Remove layer where n-well should be built
z Implant or diffuse n dopants into exposed wafer
z Strip off SiO2
p substrate
4
Photoresist
z Spin on photoresist
z Photoresist is a light-sensitive organic polymer
z Softens where exposed to light
Photoresist
SiO2
p substrate
Lithography
Photoresist
SiO2
p substrate
10
5
Etch
Photoresist
SiO2
p substrate
11
n-well
z n-well is formed with diffusion or ion implantation
z Diffusion
z Place wafer in furnace with arsenic gas
z Heat until As atoms diffuse into exposed Si
z Ion Implanatation
z Blast wafer with beam of As ions
z Ions blocked by SiO2, only enter exposed Si
SiO2
n well
12
6
Strip Oxide
n well
p substrate
13
Polysilicon
z Deposit very thin layer of gate oxide
z < 20 Å (6-7 atomic layers)
z Chemical Vapor Deposition (CVD) of silicon layer
z Place wafer in furnace with Silane gas (SiH4)
z Forms many small crystals called polysilicon
z Heavily doped to be good conductor
Polysilicon
Thin gate oxide
n well
p substrate
14
7
Polysilicon Patterning
z Use same lithography process to pattern polysilicon
Polysilicon
Polysilicon
Thin gate oxide
n well
p substrate
15
Self-Aligned Process
n well
p substrate
16
8
N-diffusion
z Pattern oxide and form n+ regions
z Self-aligned process where gate blocks diffusion
z Polysilicon is better than metal for self-aligned gates
because it doesn’t melt during later processing
n+ Diffusion
n well
p substrate
17
N-diffusion cont.
n+ n+ n+
n well
p substrate
18
9
N-diffusion cont.
n+ n+ n+
n well
p substrate
19
P-Diffusion
p+ Diffusion
p+ n+ n+ p+ p+ n+
n well
p substrate
20
10
Contacts
z Now we need to wire together the devices
z Cover chip with thick field oxide
z Etch oxide where contact cuts are needed
Contact
21
Metalization
z Sputter on aluminum over whole wafer, filling the contacts
as well
z Pattern to remove excess metal, leaving wires
M etal
Metal
Thick field oxide
p+ n+ n+ p+ p+ n+
n well
p substrate 22
11
Layout
z Chips are specified with set of masks
z Minimum dimensions of masks determine
transistor size (and hence speed, cost, and
power)
z Feature size f = distance between source and
drain
z Set by minimum width of polysilicon
z Feature size improves 30% every 3 years or so
z Normalize for feature size when describing
design rules
z Express rules in terms of λ = f/2
z E.g. λ = 0.3 µm in 0.6 µm process 23
24
12
Design Rules Summary
25
Gate Layout
Layout can be very time consuming
Design gates to fit together nicely
Build a library of standard cells
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
26
13
Inverter Layout
Transistor dimensions specified as W / L ratio
- Minimum size is 4λ / 2λ, sometimes called 1 unit
- In f = 0.6 µm process, this is 1.2 µm wide,
0.6 µm long
27
28
14
Example: 3-input NAND Standard Cell Layout
29
Stick Diagrams
z Stick diagrams help plan layout quickly
z Need not be to scale
z Draw with color pencils or dry-erase markers
30
15
Wiring Tracks
z A wiring track is the space required for a wire
z 4 λ width, 4 λ spacing from neighbor = 8 λ pitch
z Transistors also consume one wiring track
31
Well spacing
z Wells must surround transistors by 6 λ
z Implies 12 λ between opposite transistor flavors
z Leaves room for one wire track
32
16
Area Estimation
z Estimate area by counting wiring tracks
z Multiply by 8 to express in λ
33
Design Challenges
17
Design Abstraction Levels
35
18
Design Flow
Architecture: User’s perspective, what does it do?
Instruction set, MIPS, x86, Alpha, PIC, ARM, …
Microarchitecture
Single cycle, multi cycle, pipelined, superscalar?
Logic: how are functional blocks constructed ?
Ripple carry, carry look ahead, carry select adders
Circuit: how are transistors used ?
Static CMOS, pass transistors, domino logic, …
Physical: chip layout
Datapaths, memories, random logic
37
38
19
Architecture: MIPS example
Instruction Set
Instruction encoding formats
39
40
20
Microarchitecture: MIPS example
41
42
21
Logic Design: MIPS top level block diagram
43
44
22
Logic Design using HDLs
45
Circuit Design
How should logic be implemented?
NANDs and NORs vs. ANDs and ORs?
Fan-in and fan-out?
How wide should transistors be?
These choices affect speed, area, power
Logic synthesis makes these choices for you
Good enough for many applications
But when a system has critical requirement
Hand-crafted circuits are still better 46
23
Example: Full Adder
VERILOG:
assign cout = (a&b) | (a&c) | (b&c);
48
24
Gate-level Netlist
module carry(input a, b, c,
output cout) g1
a x
wire x, y, z; b
g2 g4
a y
cout
and g1(x, a, b); c
g3
and g2(y, a, c); b z
and g3(z, b, c); c
or g4(cout, x, y, z);
endmodule
49
Transistor-Level Netlist
module carry(input a, b, c, output cout)
endmodule
50
25
SPICE Netlist
.SUBCKT CARRY A B C COUT VDD GND
MN1 I1 A GND GND NMOS W=1U L=0.18U AD=0.3P AS=0.5P
MN2 I1 B GND GND NMOS W=1U L=0.18U AD=0.3P AS=0.5P
MN3 CN C I1 GND NMOS W=1U L=0.18U AD=0.5P AS=0.5P
MN4 I2 B GND GND NMOS W=1U L=0.18U AD=0.15P AS=0.5P
MN5 CN A I2 GND NMOS W=1U L=0.18U AD=0.5P AS=0.15P
MP1 I3 A VDD VDD PMOS W=2U L=0.18U AD=0.6P AS=1 P
MP2 I3 B VDD VDD PMOS W=2U L=0.18U AD=0.6P AS=1P
MP3 CN C I3 VDD PMOS W=2U L=0.18U AD=1P AS=1P
MP4 I4 B VDD VDD PMOS W=2U L=0.18U AD=0.3P AS=1P
MP5 CN A I4 VDD PMOS W=2U L=0.18U AD=1P AS=0.3P
MN6 COUT CN GND GND NMOS W=2U L=0.18U AD=1P AS=1P
MP6 COUT CN VDD VDD PMOS W=4U L=0.18U AD=2P AS=2P
CI1 I1 GND 2FF
CI3 I3 GND 3FF
CA A GND 4FF
CB B GND 4FF
CC C GND 2FF
CCN CN GND 4FF
CCOUT COUT GND 2FF
.ENDS
51
Physical Design
Floorplan
Standard cells
Place & route
Datapaths
Slice planning
Area estimation
52
26
MIPS floorplan
53
MIPS layout
54
27
Taxonomy of On-Chip structures
z Random logic
z Data paths
z Arrays
z Analog
z Input/output (I/O)
55
56
28
Hand-Crafted MIPS Datapath
57
Standard Cells
58
29
Synthesized MIPS
59
Area Estimation
z Need area estimates to make floorplan
z Compare to another block you already designed
z Or estimate from transistor counts
z Budget room for large wiring tracks
30
Design Verification
Fabrication is slow & expensive
MOSIS 0.6µm masks: $1000, 3 months
State of art masks (130nm): $1M, 1 month
Debugging chips is very hard
Limited visibility into operation
Prove design is right before building!
System simulation (C/C++)
Logic simulation (HDL testbench)
Circuit simulation / formal verification
Layout vs. schematic comparison
Design & electrical rule checks
Verification is > 50% of effort on most chips !
61
Fabrication
Tapeout final layout
Formats for mask descriptions:
CIF (academia) and GDS II (industry)
Fabrication
6, 8, 12” wafers (bare wafer costs $1000-$5000)
Optimized for throughput, not latency (turnaround times up to 10
weeks !)
Cut into individual dice
Fabs cost billions of dollars and become obsolete in a few years
Fabless semiconductor companies
Manufacturing Companies: TSMS, UMC, IBM
62
31
Packaging
63
Testing
64
32
Summary
Summary cont.
66
33