Upload
bhawna
View
219
Download
0
Embed Size (px)
Citation preview
8/18/2019 Lecture04-2005 Drc Rules
1/69
Lecture 4 Design Rules,Layout and
Stick Diagram
Pradondet Nilagupta
Department of Computer Engineering
Kasetsart University
8/18/2019 Lecture04-2005 Drc Rules
2/69
"
Acknowledgement
'his lecture note has (een summari)ed fromlecture note on *ntroduction to +,-* Design!+,-* Circuit Design all over the orld. * can/t
remem(er here those slide come from.0oever! */d like to thank all professors hocreate such a good ork on those lecturenotes. 1ithout those lectures! this slide can/t
(e finished.
8/18/2019 Lecture04-2005 Drc Rules
3/69
2
Roadmap for the term: majortopics
+,-* 3vervieC43- Processing 5 6a(rication
Components7 'ransistors! 1ires! 5 Parasitics
Design 8ules 5 ,ayoutCom(inational Circuit Design 5 ,ayout
-e9uential Circuit Design 5 ,ayout
-tandard:Cell Design ith CAD 'ools-ystems Design using +erilog 0D,
Design Pro;ect7 Complete Chip
8/18/2019 Lecture04-2005 Drc Rules
4/69
&
P substrate
Review - CMOS Mask Layers
Determine placement oflayout o(;ects
Color coding specifieslayers
,ayout o(;ects7 8ectangles
Polygons
Ar(itrary shapes
micron?
-calea(le =>lam(da? wafer
n well
8/18/2019 Lecture04-2005 Drc Rules
5/69
Mask eneration
4ask Design using ,ayout Editor user specifies layout o(;ects on different layers
output7 layout file
Pattern
8/18/2019 Lecture04-2005 Drc Rules
6/69
%
Sym!olic Mask Layers
Key idea7 8educe layers to those that descri(e design
8/18/2019 Lecture04-2005 Drc Rules
7/69
A!o"t Magic
-cala(le
8/18/2019 Lecture04-2005 Drc Rules
8/69G
Mask Layers in Magic
Poly =redN Diffusion =green
P Diffusion =(ron
4etal =(lue4etal " =purple
1ell =cross:hatching
Contacts =F
8/18/2019 Lecture04-2005 Drc Rules
9/69
Magic #ser-$nterface
8/18/2019 Lecture04-2005 Drc Rules
10/69$#
Layer $nteraction in Magic
'ransistors : here poly! diffusion cross poly crosses ndiffusion : ntransistor
poly crosses pdiffusion : ptransistor
+ias : here layers connect
4etal $ connecting to Poly : polycontact4etal $ connecting to P:Diffusion =normal : pdc
4etal $ connecting to P:Diffusion =su(strate contact : psc
4etal $ connecting to N:Diffusion =normal : ndc
4etal $ connecting to N:Diffusion =su(strate contact : nsc4etal $ connecting to 4etal " : via
8/18/2019 Lecture04-2005 Drc Rules
11/69$$
Magic Layers - %&le
nwell
nsc
psc
p-transistor
ntransistor
metal1
metal1
metal1
poly
poly
ndc ndc
polycontact
polycontact
pdc
8/18/2019 Lecture04-2005 Drc Rules
12/69$"
'hy we need design r"les
4asks are tooling for manufacturing.4anufacturing processes have inherent
limitations in accuracy.
Design rules specify geometry of maskshich ill provide reasona(le yields.
Design rules are determined (y eIperience.
8/18/2019 Lecture04-2005 Drc Rules
13/69$2
Man"fact"ring pro!lems
Photoresist shrinkage! tearing.+ariations in material deposition.
+ariations in temperature.
+ariations in oIide thickness. *mpurities.
+ariations (eteen lots.
+ariations across a afer.
8/18/2019 Lecture04-2005 Drc Rules
14/69$&
(ransistor pro!lems
+araiations in threshold voltage7oIide thicknessJ
ion implanatationJ
poly variations.Changes in sourcedrain diffusion overlap.
+ariations in su(strate.
8/18/2019 Lecture04-2005 Drc Rules
15/69$
'iring pro!lems
Diffusion7 changes in doping : variations inresistance! capacitance.
Poly! metal7 variations in height! idth :
variations in resistance! capacitance.-horts and opens7
8/18/2019 Lecture04-2005 Drc Rules
16/69$%
O&ide pro!lems
+ariations in height. ,ack of planarity : step coverage.
metal 1metal 2
metal 2
8/18/2019 Lecture04-2005 Drc Rules
17/69$
)ia pro!lems
+ia may not (e cut all the ay through.Undesi)e via has too much resistance.
+ia may (e too large and create short.
8/18/2019 Lecture04-2005 Drc Rules
18/69$G
MOS$S SCMOS design r"les
Designed to scale across a ide range oftechnologies.
Designed to support multiple vendors.
Designed for educational use.Ergo! fairly conservative.
8/18/2019 Lecture04-2005 Drc Rules
19/69$
and design r"les
λ is the si)e of a minimum feature.-pecifying λ particulari)es the scala(le rules.
Parasitics are generally not specified in
λ units.
8/18/2019 Lecture04-2005 Drc Rules
20/69
8/18/2019 Lecture04-2005 Drc Rules
21/69"$
(ypes of *esign R"les
-cala(le Design 8ules =e.g. -C43- Hased on scala(le >coarse grid? : λ =lam(da
*dea7 reduce λ value for each ne process! (ut keep rulesthe same
Key advantage7 porta(le layoutKey disadvantage7 not everything scales the same
Not used in >real life?
A(solute Design 8ules
Hased on a(solute distances =e.g. #.Lm 'uned to a specific process =details usually proprietary
CompleI! especially for deep su(micron
,ayouts not porta(le
8/18/2019 Lecture04-2005 Drc Rules
22/69""
SCMOS *esign R"les
*ntended to (e -cala(le3riginal rules7 -C43-
-u(micron7 -C43-:-UH4
Deep -u(micron7 -C43-:DEEPPictorial -ummary7 Hook 6ig. ":"&! p. "
Authoritative 8eference7 .mosis.org
8/18/2019 Lecture04-2005 Drc Rules
23/69"2
SCMOS *esign R"le S"mmary
,ine si)e and spacing7metal$7 4inimum idth2λ! 4inimum -pacing2λ
metal"7 4inimum idth2λ! 4inimum -pacing&λ
poly7 4inimum idth "λ! 4inimum -pacing"λ
ndiffpdiff7 4inimum idth 2λ! 4inimum -pacing2λ, minimum ndiffpdiff seperation$#λ
ells7 minimum idth$#λ!min distance form ell edge to sourcedrainλ
'ransistors7
4in idth2λ
4in length"λ
4in poly overhang"λ
8/18/2019 Lecture04-2005 Drc Rules
24/69"&
SCMOS *esign R"le S"mmary
Contacts =+ias Cut si)e7 eIactly "λ F "λ
Cut separation7 minimum "λ
3verlap7 min $λ in all directions
4agic approach7 -ym(olic contact layer min. si)e &λ F &λ Contacts cannot stack =i.e.! metal"metal$poly
3ther rules
cut to poly must (e 2λ from other poly
cut to diff must (e 2λ from other diff metal"metal$ contact cannot (e directly over poly
negative features must (e at least "λ in si)e
C4P Density rules =A4*0P su(m7 $M Poly! 2#M 4etal
8/18/2019 Lecture04-2005 Drc Rules
25/69
"
*esign R"le Checking in Magic
Design violationsdisplayed as error paint
6ind hich rule isviolated ith B:drc
why? Poly must overhang
transistor by at
least 2 (MOSIS rule
#3.3)
8/18/2019 Lecture04-2005 Drc Rules
26/69
"%
Scaling *esign R"les
Effects of scaling don are positive-ee (ook! p. G: : if >everything? scales!
scaling circuit (y $I increases performance
(y IPro(lem7 not everything scales proportionally
8/18/2019 Lecture04-2005 Drc Rules
27/69
"
Aside - A!o"t MOS$S
43-*- : 43- *mplementation -ervice 8apid:prototyping for small chips
4ulti:pro;ect chip idea : several designs on the sameafer
8educed mask costs per design Accepts layout designs via email
Hrokers fa(rication (y foundries=e.g. A4*! Agilent! *H4! '-4C
Packages chips 5 ships (ack to designers
3ur designs ill use A4* $.Lm process=more a(out this later
8/18/2019 Lecture04-2005 Drc Rules
28/69
"G
Aside - A!o"t MOS$S
-ome 'ypical 43-*- Prices =from .mosis.org A4* $.Lm >'iny Chip? ="."mm F "."mm $!#G#
A4* $.Lm .&mm F .mm $!G#
A4* #.Lm #:mm" !##
'-4C #."Lm #:$#mm" $!#
'-4C #.$GLm #:mm" "&!##
'-4C $##:$mm" %2!"# O ## F si)e
43-*- Educational Program =hat e use
A4* $.Lm >'iny Chip? ="."mm F "."mm 68EE
A4* #.mm >'iny Chip? =$.mm F $.mm 68EE
*sponsored by Semiconductor Industry Assn., Semiconductor Research Corp., | AMI, Inc., DuPont Photomasks, and MOSIS
8/18/2019 Lecture04-2005 Drc Rules
29/69
"
Layo"t Considerations
Hreak layout into interconnected cellsUse hierarchy to control compleIity
Connect cells (y A(utment Added ires
Key goals7
4inimi)e si)e of overall layout4eet performance constraints
4eet design time deadlines
8/18/2019 Lecture04-2005 Drc Rules
30/69
2#
+ierarchy in Layo"t
Chips are constructed as a hierarchy of cells,eaf cells : (ottom of hierarchy
8oot cells : contains overall cell
EIample : hypothetical >UA8'?Pad frame : >ring? that contains *3 pads
Core : contains logic organi)ed as su(cells-hift register
6-4
3ther cells
8/18/2019 Lecture04-2005 Drc Rules
31/69
2$
+ierarchy %&le
8oot Cell7 UA8'
Root Cell:UART
PadFrame
Core
Pad 1 Pad 2 ... Pad N ShiftRegister
FSM OtherCells
8/18/2019 Lecture04-2005 Drc Rules
32/69
2"
'ires
metal 36
metal 23
metal 13
pdiff/ndiff 3
poly2
8/18/2019 Lecture04-2005 Drc Rules
33/69
22
(ransistors
2
3
1
32
5
8/18/2019 Lecture04-2005 Drc Rules
34/69
2&
)ias
'ypes of via7 metal$diff! metal$poly!metal$metal".
4
1
4
2
8/18/2019 Lecture04-2005 Drc Rules
35/69
2
Metal , via
'ype7 metal2metal".8ules7 cut7 2 I 2
overlap (y metal"7 $minimum spacing7 2
minimum spacing to via$7 "
8/18/2019 Lecture04-2005 Drc Rules
36/69
8/18/2019 Lecture04-2005 Drc Rules
37/69
8/18/2019 Lecture04-2005 Drc Rules
38/69
2G
Overglass
Cut in passivation layer.4inimum (onding pad7 $## µm.
Pad overlap of glass opening7 %
4inimum pad spacing to unrelated metal"272#
4inimum pad spacing to unrelated metal$!
poly! active7 $
8/18/2019 Lecture04-2005 Drc Rules
39/69
2
Stick diagrams ./,0
A stick diagram is a cartoon of a layout.Does sho all componentsvias =eIcept
possi(ly tu( ties! relative placement.
Does not sho eIact placement! transistorsi)es! ire lengths! ire idths! tu((oundaries.
8/18/2019 Lecture04-2005 Drc Rules
40/69
Stick *iagrams 1/,0
Key idea7 B-tick figure cartoonB of a layoutUseful for planning layout relative placement of transistors
assignment of signals to layers connections (eteen cells
cell hierarchy
8/18/2019 Lecture04-2005 Drc Rules
41/69
&$
Stick *iagrams ,/,0
Metal (BLUE)
Polysilicion (RED)N-Diffusion (Green)
P-Diffusion (Brown)
Contact / Via
poly
n-diff
p-diff
metal
polyn-diffp-diffmetal
S N P NC
S X NC
S NC
S
Connection RulesLayers
8/18/2019 Lecture04-2005 Drc Rules
42/69
&"
%&le - Stick *iagrams ./10
A B
A
B
Circuit Diagram. Pull-Down Network(The easy part!)
Alternatives - Pull-up Network
Complete Stick Diagram
8/18/2019 Lecture04-2005 Drc Rules
43/69
8/18/2019 Lecture04-2005 Drc Rules
44/69
&&
*ynamic latch stick diagram
VDD
in
VSS
phi phi’
out
Sti k *i 2OR t
8/18/2019 Lecture04-2005 Drc Rules
45/69
&
Stick *iagram 2OR ate%&les
Exclusive OR Gate
Vdd
A
Out
Gnd
B
A’ B’
A’
B’
B
A’
Out
A A’
B B’
A
B’
A
B
A’
B’
A’
B
8/18/2019 Lecture04-2005 Drc Rules
46/69
&%
+ierarchical Stick *iagrams
Define cells (y outlines 5 use in a hierarchyto (uild more compleI cells
Vdd
A
Out
Gnd
B
Vdd
Gnd
Vdd
A
Out
Gnd
B
Vdd
Gnd
NAND
NAND CellStick Diagram NAND CellOutline
8/18/2019 Lecture04-2005 Drc Rules
47/69
&
Cell Connection Schemes
EIternal connection : ire cells together A(utment : design cells to connect hen
ad;acent
8eflection! mirroring : use to make a(utmentpossi(le
8/18/2019 Lecture04-2005 Drc Rules
48/69
&G
%&le: 1-inp"t m"ltiple&er
6irst cut7Vdd
A
Out
NAND
A
B
Gnd
Vdd
Gnd
Vdd
Out
NAND
A
B
Gnd
Vdd
Gnd
Vdd
Out
NAND
A
B
Gnd
Vdd
Gnd
Vdd
Out
S
B
S’
Gnd
A
S
B
S’
OUT
OUT = A*S + B*S’
8/18/2019 Lecture04-2005 Drc Rules
49/69
&
Sticks design of m"ltiple&er
-tart ith NAND gate7
8/18/2019 Lecture04-2005 Drc Rules
50/69
#
3A3* sticks
VDD
a
VSS
out
b
8/18/2019 Lecture04-2005 Drc Rules
51/69
$
Refined one-!it M"& *esign
Use NAND cell as (lack (oI Arrange easy poer connections
+ertical connections for allo multiple (its
NAND
A
B
Gnd
Vdd
Gnd
Vdd
OutNAND
A
B
Gnd
Vdd
Gnd
Vdd
Out
select’ select
NAND
A
B
Gnd
Vdd
Gnd
Vdd
Out
VddAB
Gnd
Out
8/18/2019 Lecture04-2005 Drc Rules
52/69
8/18/2019 Lecture04-2005 Drc Rules
53/69
2
M"ltiple-4it M"&
select’ select
NAND
A
B
Gnd
Vdd
Gnd
Vdd
OutNAND
A
B
Gnd
Vdd
Gnd
Vdd
OutNAND
A
B
Gnd
Vdd
Gnd
Vdd
Out
VddA0A0
Gnd
Out0
NAND
A
BGnd
Vdd
Gnd
Vdd
OutNAND
A
BGnd
Vdd
Gnd
Vdd
OutNAND
A
BGnd
Vdd
Gnd
Vdd
Out
VddA1B1
Gnd
Out1
8/18/2019 Lecture04-2005 Drc Rules
54/69
&
Cell Mirroring5 Overlap
Use mirroring! overlap to save area
VddA0B0
Gnd
NAND
A
B
Gnd
Vdd
Gnd
Vdd
Out NAND
A
B
Gnd
Vdd
Gnd
Vdd
Out NAND
A
B
Gnd
Vdd
Gnd
Vdd
Out
B1A1
Vdd
8/18/2019 Lecture04-2005 Drc Rules
55/69
%&le: Layo"t / Stick *iagram
Create a layout for a NAND gate givenconstraints7Use minimum:si)e transistors
Assume poer supply lines >pass through? cellfrom left to right at top and (ottom of cell
Assume inputs are on left side of cell
Assume output is on right side of cell
3ptimi)e cell to minimi)e idth3ptimi)e cell to minimi)e overall area
8/18/2019 Lecture04-2005 Drc Rules
56/69
%
Layo"t %&le
A B
A
B
A
B
OUT
Vdd!Vdd!
Gnd! Gnd!
Circuit Diagram. Exterior of Cell
8/18/2019 Lecture04-2005 Drc Rules
57/69
%&le - Magic Layo"t
3verall ,ayout7 " F $%
Review - )LS$ Levels of
8/18/2019 Lecture04-2005 Drc Rules
58/69
G
Review - )LS$ Levels ofA!straction
Specification(what the chip does, inputs/outputs)
Architecturemajor resources, connections
Register-Transferlogic blocks, FSMs, connections
Circuittransistors, parasitics, connections
Layoutmask layers, polygons
Logicgates, flip-flops, latches, connections
You are Here
Levels of A!straction -
8/18/2019 Lecture04-2005 Drc Rules
59/69
Levels of A!straction -6erspective
8ight no! e/re focusing on the >lo level?7Circuit level : transistors! ires! parasitics
,ayout level : mask o(;ects
1e/ll ork upard to higher levels7,ogic level : individual gates! latches! flip:flops
8egister: transfer level : +erilog 0D,
Hehavior level : -pecifications
8/18/2019 Lecture04-2005 Drc Rules
60/69
%#
(he Challenge of *esign
-tart7 higher level =spec 6inish7 loer level =implementation
4ust meet design criteria and constraints
Design time : ho long did it take to ship aproductQ
Performance : ho fast is the clockQ
Cost : N8E O unit cost
CAD tools : essential in modern design
8/18/2019 Lecture04-2005 Drc Rules
61/69
%$
CA* (ool S"rvey: Layo"t *esign
,ayout EditorsDesign 8ule Checkers =D8C
Circuit EItractors
,ayout vs. -chematic =,+- Comparators Automatic ,ayout 'ools,ayout
8/18/2019 Lecture04-2005 Drc Rules
62/69
%"
Layo"t %ditors
8/18/2019 Lecture04-2005 Drc Rules
63/69
%2
*esign R"le Checkers
8/18/2019 Lecture04-2005 Drc Rules
64/69
%&
Circ"it %&tractors
8/18/2019 Lecture04-2005 Drc Rules
65/69
%
Layo"t )ers"s Schematic L)S0
8/18/2019 Lecture04-2005 Drc Rules
66/69
8/18/2019 Lecture04-2005 Drc Rules
67/69
%
Layo"t design and analysis tools
,ayout editors are interactive tools.Design rule checkers are generally (atch:::
identify D8C errors on the layout.
Circuit eItractors eItract the netlist from thelayout.
Connectivity verification systems =C+-
compare eItracted and original netlists.
8/18/2019 Lecture04-2005 Drc Rules
68/69
%G
A"tomatic layo"t
Cell generators =macrocell generators createoptimi)ed layouts for A,Us! etc.
-tandard cellsea:of:gates layout creates
layout from predesigned cells O customrouting.-ea:of:gates allos routing over the cell.
8/18/2019 Lecture04-2005 Drc Rules
69/69
Standard cell layo"t
#outin$ a#ea
#outin$ a#ea # o u t i n $ a
# e a
#outin
$
a#ea