Académique Documents
Professionnel Documents
Culture Documents
Acknowledgement
This lecture note has been summarized from lecture note on Introduction to VLSI Design, VLSI Circuit Design all over the world. I cant remember where those slide come from. However, Id like to thank all professors who create such a good work on those lecture notes. Without those lectures, this slide cant be finished.
January 9, 2012
VLSI Overview CMOS Processing & Fabrication Components: Transistors, Wires, & Parasitics Design Rules & Layout Combinational Circuit Design & Layout Sequential Circuit Design & Layout Standard-Cell Design with CAD Tools Systems Design using Verilog HDL Design Project: Complete Chip
January 9, 2012 3
Determine placement of layout objects Color coding specifies layers Layout objects:
Grid types
P substrate wafer
January 9, 2012
Mask Generation
Mask Design using Layout Editor user specifies layout objects on different layers output: layout file Pattern Generator Reads layout file Generates enlarged master image of each mask layer Image printed on glass Step & repeat camera Reduces & copies image onto mask One copy for each die on wafer Note importance of mask alignment
January 9, 2012 5
Key idea: Reduce layers to those that describe design Generate physical layers as needed Magic Layout Editor: "Abstract Layers metal1 (blue) - 1st layer metal (equiv. to physical layer) Poly (red) - polysilicon (equivalent to physical layer) ndiff (green) - n diffusion (combination of active, nselect) ntranistor (green/red crosshatch) - combined poly, ndiff pdiff (brown) - p diffusion (combination of active, pselect) ptransistor (brown/red crosshatch) - combined poly, pdiff contacts: combine layers, cut mask
January 9, 2012
About Magic
Grid distance: Plambda) Value is process-dependent: P= 0.5 X minimum transistor length Paint squares on grid for each mask layer Layers to interact to form components (e.g. transistors)
Painting metaphor
January 9, 2012
Poly (red) N Diffusion (green) P Diffusion (brown) Metal (blue) Metal 2 (purple) Well (cross-hatching) Contacts (X)
January 9, 2012
Magic User-Interface
Cursor
accepts text commands Box :paint poly : paint red :paint ndiff :paint green Paint :write (poly) prints error & status messages
January 9, 2012
Paint
(ntransistor)
Paint
(pdiff)
Transistors - where poly, diffusion cross poly crosses ndiffusion - ntransistor poly crosses pdiffusion - ptransistor Vias - where layers connect Metal 1 connecting to Poly - polycontact Metal 1 connecting to P-Diffusion (normal) - pdc Metal 1 connecting to P-Diffusion (substrate contact) psc Metal 1 connecting to N-Diffusion (normal) - ndc Metal 1 connecting to N-Diffusion (substrate contact) nsc Metal 1 connecting to Metal 2 - via
January 9, 2012 10
pdc
January 9, 2012
11
Masks are tooling for manufacturing. Manufacturing processes have inherent limitations in accuracy. Design rules specify geometry of masks which will provide reasonable yields. Design rules are determined by experience.
January 9, 2012
12
Manufacturing problems
Photoresist shrinkage, tearing. Variations in material deposition. Variations in temperature. Variations in oxide thickness. Impurities. Variations between lots. Variations across a wafer.
January 9, 2012
13
Transistor problems
January 9, 2012
14
Wiring problems
Diffusion: changes in doping -> variations in resistance, capacitance. Poly, metal: variations in height, width -> variations in resistance, capacitance. Shorts and opens:
January 9, 2012
15
Oxide problems
January 9, 2012
16
Via problems
Via may not be cut all the way through. Undesize via has too much resistance. Via may be too large and create short.
January 9, 2012
17
Designed to scale across a wide range of technologies. Designed to support multiple vendors. Designed for educational use. Ergo, fairly conservative.
January 9, 2012
18
P is the size of a minimum feature. Specifying P particularizes the scalable rules. Parasitics are generally not specified in Punits
January 9, 2012
19
Design Rules
Typical rules: Minumum size Minimum spacing Alignment / overlap Composition Negative features
January 9, 2012
20
Scalable Design Rules (e.g. SCMOS) Based on scalable coarse grid - P (lambda) Idea: reduce P value for each new process, but keep rules the same Key advantage: portable layout Key disadvantage: not everything scales the same Not used in real life Absolute Design Rules Based on absolute distances (e.g. 0.75m) Tuned to a specific process (details usually proprietary) Complex, especially for deep submicron Layouts not portable
January 9, 2012 21
Intended to be Scalable
January 9, 2012
22
Line size and spacing: metal1: Minimum width=3P, Minimum Spacing=3P metal2: Minimum width=3P, Minimum Spacing=4P poly: Minimum width= 2P, Minimum Spacing=2P ndiff/pdiff: Minimum width= 3P, Minimum Spacing=3P minimum ndiff/pdiff seperation=10P wells: minimum width=10P, min distance form well edge to source/drain=5P Transistors: Min width=3P Min length=2P Min poly overhang=2P
January 9, 2012 23
Contacts (Vias) Cut size: exactly 2P X 2P Cut separation: minimum 2P Overlap: min 1P in all directions Magic approach: Symbolic contact layer min. size 4P X 4P Contacts cannot stack (i.e., metal2/metal1/poly) Other rules cut to poly must be 3P from other poly cut to diff must be 3P from other diff metal2/metal1 contact cannot be directly over poly negative features must be at least 2P in size CMP Density rules (AMI/HP subm): 15% Poly, 30% Metal
January 9, 2012 24
Design violations displayed as error paint Find which rule is violated with ":drc why
Poly must overhang transistor by at least 2 (MOSIS rule #3.3)
January 9, 2012
25
Effects of scaling down are positive See book, p. 78-79 - if everything scales, scaling circuit by 1/x increases performance by x Problem: not everything scales proportionally
January 9, 2012
26
MOSIS - MOS Implementation Service Rapid-prototyping for small chips Multi-project chip idea - several designs on the same wafer Reduced mask costs per design Accepts layout designs via email Brokers fabrication by foundries (e.g. AMI, Agilent, IBM, TSMC) Packages chips & ships back to designers Our designs will use AMI 1.5m process (more about this later)
January 9, 2012 27
Some Typical MOSIS Prices (from www.mosis.org) AMI 1.5m Tiny Chip (2.2mm X 2.2mm) $1,080 AMI 1.5m 9.4mm X 9.7mm $17,980 AMI 0.5m 0-5mm2 $5,900 TSMC 0.25m 0-10mm2 $15,550 TSMC 0.18m 0-7mm2 $24,500 TSMC 100-159mm2 $63,250 + $900 X size MOSIS Educational Program (what we use) AMI 1.5m Tiny Chip (2.2mm X 2.2mm) FREE* AMI 0.5mm Tiny Chip (1.5mm X 1.5mm) FREE*
*sponsored by Semiconductor Industry Assn., Semiconductor Research Corp., | AMI, Inc., DuPont Photomasks, and MOSIS
January 9, 2012
28
Layout Considerations
Break layout into interconnected cells Use hierarchy to control complexity Connect cells by
Abutment Added wires Minimize size of overall layout Meet performance constraints Meet design time deadlines
January 9, 2012 29
Key goals:
Hierarchy in Layout
Leaf cells - bottom of hierarchy Root cells - contains overall cell Pad frame - ring that contains I/O pads Core - contains logic organized as subcells
Shift register FSM Other cells
January 9, 2012
30
Hierarchy Example
Pad Frame
Core
Pad 1
Pad 2
...
Pad N
Shift Register
FSM
Other Cells
January 9, 2012
31
Wires
6 3 3 3 2
204424 Digital Design Automation
Transistors
2 3 2 3 1 5
January 9, 2012
33
Vias
4 1 2
January 9, 2012
34
Metal 3 via
January 9, 2012
35
Tub tie
4 1
January 9, 2012
36
Spacings
January 9, 2012
37
Overglass
Cut in passivation layer. Minimum bonding pad: 100 Qm. Pad overlap of glass opening: 6 Minimum pad spacing to unrelated metal2/3: 30 Minimum pad spacing to unrelated metal1, poly, active: 15
January 9, 2012
38
A stick diagram is a cartoon of a layout. Does show all components/vias (except possibly tub ties), relative placement. Does not show exact placement, transistor sizes, wire lengths, wire widths, tub boundaries.
January 9, 2012
39
Key idea: "Stick figure cartoon" of a layout Useful for planning layout
relative placement of transistors assignment of signals to layers connections between cells cell hierarchy
January 9, 2012
40
Layers Metal (BLUE) Polysilicion (RED ) N-Diffusion (Green) P -Diffusion (Brown) Contact / Via
Connection Rules poly n-diff p-diff metal poly n-diff p-diff metal S N S P X S NC NC NC S
January 9, 2012
41
Circuit Diagram.
January 9, 2012
42
Vdd
Vdd A
In
Out
Out
Gnd Inverter
January 9, 2012
43
in
out
VSS phi
204424 Digital Design Automation
phi
January 9, 2012 44
Vdd
A A A B B
A
A Out A A
B A A
Out
January 9, 2012
45
Define cells by outlines & use in a hierarchy to build more complex cells
Vdd A B Vdd Vdd A NAND B Vdd
Out
Out
Gnd
Gnd
Gnd
Gnd
January 9, 2012
46
External connection - wire cells together Abutment - design cells to connect when adjacent Reflection, mirroring - use to make abutment possible
January 9, 2012
47
First cut:
Vdd A
A S OUT B S
Vdd A Vdd Out
NAND
B Gnd
Gnd
Vdd A
Vdd Out
NAND
Out
Vdd A
Vdd Out
B Gnd
Gnd
NAND
B Gnd Gnd
January 9, 2012
48
out b a
January 9, 2012
49
NAND sticks
VDD a
out
VSS
204424 Digital Design Automation January 9, 2012 50
Use NAND cell as black box Arrange easy power connections Vertical connections for allow multiple bits
select
Vdd A B Vdd A Out Vdd
select
Vdd A Out Vdd Vdd A Out Out Vdd
NAND
Gnd B Gnd Gnd
NAND
B Gnd Gnd
NAND
B Gnd Gnd
January 9, 2012
51
m2(one-bit-mux)
VDD oi VSS
o2
a1 b1
ai bi
select
select
m2(one-bit-mux)
select select
o1
a0 b0
ai bi
m2(one-bit-mux)
o0
January 9, 2012
52
Multiple-Bit Mux
select
Vdd A0 A0 Vdd A Out Vdd
select
Vdd A Out Vdd Vdd A Out Out0 Vdd
NAND
Gnd B Gnd Gnd
NAND
B Gnd Gnd
NAND
B Gnd Gnd
Vdd A1 B1
Vdd A
Vdd Out
Vdd A
Vdd Out
Vdd A
NAND
Gnd B Gnd Gnd
NAND
B Gnd Gnd
NAND
B Gnd Gnd
January 9, 2012
53
NAND
Gnd B Gnd Gnd
NAND
B Gnd Gnd
NAND
B Gnd Gnd
B1 A1 Vdd
January 9, 2012
54
Use minimum-size transistors Assume power supply lines pass through cell from left to right at top and bottom of cell Assume inputs are on left side of cell Assume output is on right side of cell Optimize cell to minimize width Optimize cell to minimize overall area
January 9, 2012
55
Layout Example
Vdd!
A B
Vdd!
A
A
OUT
Gnd!
Gnd!
Circuit Diagram.
Exterior of Cell
January 9, 2012
56
Overall Layout: 52 X 16
January 9, 2012
57
Architecture
major resources, connections
Register-Transfer
logic blocks, FSMs, connections
Logic
gates, flip-flops, latches, connections
Circuit
transistors, parasitics, connections
Layout
mask layers, polygons
58
January 9, 2012
Circuit level - transistors, wires, parasitics Layout level - mask objects Logic level - individual gates, latches, flip-flops Register- transfer level - Verilog HDL Behavior level - Specifications
January 9, 2012
59
Start: higher level (spec) Finish: lower level (implementation) Must meet design criteria and constraints
Design time - how long did it take to ship a product? Performance - how fast is the clock? Cost - NRE + unit cost
January 9, 2012
60
Layout Editors Design Rule Checkers (DRC) Circuit Extractors Layout vs. Schematic (LVS) Comparators Automatic Layout Tools
January 9, 2012
61
Layout Editors
Absolute grid (MAX, LASI, LEdit, Mentor ICStation, other commercial tools) Magic: lambda-based grid - easier to learn, but less powerful Absolute mask (one layer for each mask) Magic: symbolic masks (layers combine to generate actual mask patterns)
January 9, 2012 62
Mask description:
Goal: identify design rule violations Often a separate tool (built in to Magic) General approach: scanline algorithm Computationally intensive, especially for large chips
January 9, 2012
63
Circuit Extractors
January 9, 2012
64
Compare transistors, connections (ignore parasitics) Issue error if two netlists are not equivalent Important for large designs
January 9, 2012
65
Simple: Procedural specification of layout (see book Fig. 2-33, p. 95) Complex: Netlist - places & wires individual transistors Standard Cells - use predefined cells as "cookie cutters" Gate Arrays - configurable pre-manufactured gates (only change metal masks) FPGAs - electrically configurable array of gates
January 9, 2012 66
Layout editors are interactive tools. Design rule checkers are generally batch--identify DRC errors on the layout. Circuit extractors extract the netlist from the layout. Connectivity verification systems (CVS) compare extracted and original netlists.
January 9, 2012
67
Automatic layout
Cell generators (macrocell generators) create optimized layouts for ALUs, etc. Standard cell/sea-of-gates layout creates layout from predesigned cells + custom routing.
January 9, 2012
68
routing area
routing area
January 9, 2012
69