Professional Documents
Culture Documents
ECE
VLSI DESIGN FLOW
ECE
STICK DIAGRAMS
• Cartoon of a layout.
• Shows all components.
• Does not show exact placement, transistor sizes,
wire lengths, wire widths, boundaries, or any
other form of compliance with layout or design rules.
• Useful for interconnect visualization, preliminary layout
layout compaction, power/ground routing, etc.
ECE
Stick Diagrams Color Representation
Metal
poly
ndiff
pdiff
Can also draw
in shades of
Buried Contact gray/line style.
Contact Cut
ECE
ECE
ECE
5V 5v
Dep
Vout
Enh Vin
0V
0V
ECE
Alternate Layout Strategy
x
x
X X
A B
A B
X X
y y
ECE
Parallel Connected MOS Patterning
x x
A B
A B
X X X
y
y
ECE
General Layout Geometry
Vp
Shared drain/
source
Gnd
ECE
Designing MOS Arrays
A B C
x y
A B C
x
ECE
CMOS STICK DIAGRAMS
ECE
Layer Types
• p-substrate
• n-well
• n+
• p+
• Gate oxide (thin oxide)
• Gate (polycilicon)
• Field Oxide
– Insulated glass
– Provide electrical isolation
ECE
ECE
Top view of the FET pattern
NMOS NMOS PMOS PMOS
n+ n+ n+ n+ p+ p+ p+ p+
n-well
ECE
The CMOS NOT Gate
Contact
Cut
Vp Vp
X n-well
X
x x
x x X
X
Gnd
Gnd
ECE
ECE
Alternate Layout of NOT Gate
Vp
Vp
X X
x x
X X
Gnd
x Gnd
x
ECE
Example - Stick Diagrams
ECE
Example - Stick Diagrams
A
OUT
B
NOR Gate
ECE
Example - Stick Diagrams
Power
A Out
Ground
ECE
NAND2 Layout
Vp Vp
X X X
a.b
Gnd a.b
a b
X X
a b
Gnd
ECE
NOR2 Layout
Vp
Vp
X X
a+b
a+b
a b X
Gnd X X
a b
Gnd
ECE
Dynamic latch stick diagram
VDD
in out
VSS
phi
phi’
ECE
Stick Diagram XOR Gate Examples
ECE
Stick Diagrams
• Stick diagrams help plan layout quickly
– Need not be to scale
– Draw with color pencils or dry-erase markers
ECE
Stick Diagrams
◼ Stick diagrams help plan layout quickly
◼ Need not be to scale
◼ Draw with color pencils or dry-erase markers
VDD
Vin
Vout
GND
ECE
Wiring Tracks
• A wiring track is the space required for a
wire
– 4 width, 4 spacing from neighbor = 8
pitch
• Transistors also consume one wiring track
ECE
Well spacing
• Wells must surround transistors by 6
– Implies 12 between opposite transistor flavors
– Leaves room for one wire track
ECE
Area Estimation
• Estimate area by counting wiring tracks
– Multiply by 8 to express in
ECE
Example: O3AI
• Sketch a stick diagram for O3AI and estimate area
–
Y = ( A + B + C) • D
ECE
Example: O3AI
• Sketch a stick diagram for O3AI and estimate area
– Y = ( A + B + C) • D
ECE
Example: O3AI
• Sketch a stick diagram for O3AI and estimate area
– Y = ( A + B + C) • D
ECE
Inverter stick diagram with colors
ECE
CMOS Transmission Gate Stick Diagram
ECE
STICK DIAGRAM AND TRANSISTOR LEVEL
DIAGRAM OF THE LATCH CIRCUIT
ECE
Design Rules
ECE
MODERN INTERCONNECT
ECE
ECE
ECE
Design Rules Description
• Design rules or layout rules provide strict guide lines
for preparing the geographic layouts, which will be
used to configure the actual masks used during
fabrication.
ECE
Design rules for wires (nMOS and CMOS)
ECE
Design rules for Transistors
ECE
Design rules for contacts
ECE
3 input NOR gate
ECE
λ (lambda) based design rules - CMOS
• Includes design rules for nMOS and few more
rules unique to well process.
– Ex : in case of N-well CMOS process, N-well, N+ mask and the
special substrate contacts
ECE
P-well CMOS design rules
ECE
P-well CMOS design rules
ECE
CMOS INVERTER
ECE
CMOS INVERTER
ECE
ORBIT 2 µm double metal double poly
CMOS / BiCMOS rules
• N – well : brown
• P – well : brown
• Poly 1 : red
• Poly 2 : orange
• n-diffusion or n-active : green
• p-diffusion or p-active : yellow or a
green outline to the yellow
ECE
ECE
ECE
ECE
ECE
ECE
ECE
LAYOUTs FOR NAND NOR GATES
ECE
Scaling of MOS Circuits
ECE
Scaling
• VLSI technology is constantly evolving towards
smaller line widths
• Reduced feature size generally leads to
– better / faster performance
– More gate / chip
• More accurate description of modern
technology is ULSI (ultra large scale integration
ECE
Scaling Factors
• In our discussions we will consider 2 scaling
factors, α and β
• 1/ β is the scaling factor for VDD and oxide
thickness D
• 1/ α is scaling factor for all other linear
dimensions
• We will assume electric field is kept constant
ECE
Scaling Factors for Device Parameters
• Simple derivations showing the effects of scaling are derived in Pucknell
and Eshraghian pages 125 - 129
• It is important that you understand how the following parameters are
effected by scaling
• Gate Area
• Gate Capacitance per unit area
• Gate Capacitance
• Charge in Channel
• Channel Resistance
• Transistor Delay
• Maximum Operating Frequency
• Transistor Current
• Switching Energy
• Power Dissipation Per Gate (Static and Dynamic)
• Power Dissipation Per Unit Area
• Power - Speed Product
ECE
Scaling of Interconnects
• Resistance of track R ~ L / wt A
• R (scaled) ~ (L / α) / ( (w/ α )* (t
/α))
t w
• R(scaled) = αR L
ECE
Scaling - Time Constant
• Time constant of track connected to gate,
• T = R * Cg
• T(scaled) = α R * (β / α2) *Cg = (β / α) *R*Cg
• Let β = α, therefore T is unscaled!
• Therefore delays in tracks don’t reduce with scaling
• Therefore as tracks get proportionately larger, effect gets
worse
• Cross talk between connections gets worse because of
reduced spacing
ECE
NAND3 (using Electric)
ECE
CMOS Layers
• n-well process
• p-well process
• Twin-tub process
Jhon P. U ECE
n-well process
Gate NMOS NMOS PMOS PMOS
FOX
n+ n+ n+ n+ p+ p+ p+ p+
n-well
p-substrate
Jhon P. U ECE
Layer Types
• p-substrate
• n-well
• n+
• p+
• Gate oxide
• Gate (polycilicon)
• Field Oxide
– Insulated glass
– Provide electrical isolation
Jhon P. U ECE
Top view of the FET pattern
NMOS NMOS PMOS PMOS
n+ n+ n+ n+ p+ p+ p+ p+
n-well
Jhon P. U ECE
Metal Interconnect Layers
• Metal layers are electrically isolated from each
other
• Electrical contact between adjacent
conducting layers requires contact cuts and
vias
Jhon P. U ECE
Metal Interconnect Layers
Ox3
Via
Metal2
Active Ox2
contact
Metal1
Ox1
n+ n+ n+ n+
p-substrate
Jhon P. U ECE
Interconnect Layout Example
Gate contact
Metal1
Metal2
Metal1
MOS
Active contact
Jhon P. U ECE
Designing MOS Arrays
A B C
x y
A B C
x
Jhon P. U ECE
Parallel Connected MOS Patterning
x x
A B
A B
X X X
y
y
Jhon P. U ECE
Alternate Layout Strategy
x
x
X X
A B
A B
X X
y y
Jhon P. U ECE
Basic Gate Design
• Both the power supply and ground are routed
using the Metal layer
• n+ and p+ regions are denoted using the same
fill pattern. The only difference is the n-well
• Contacts are needed from Metal to n+ or p+
Jhon P. U ECE
The CMOS NOT Gate
Contact
Cut
Vp Vp
X n-well
X
x x
x x X
X
Gnd
Gnd
Jhon P. U ECE
Alternate Layout of NOT Gate
Vp
Vp
X X
x x
X X
Gnd
x Gnd
x
Jhon P. U ECE
NAND2 Layout
Vp Vp
X X X
a.b
Gnd a.b
a b
X X
a b
Gnd
Jhon P. U ECE
NOR2 Layout
Vp
Vp
X X
a+b
a+b
a b X
Gnd X X
a b
Gnd
Jhon P. U ECE
NAND2-NOR2 Comparison
Vp
X X
X
X
X
Gnd
Vp
X
X
MOS Layout X
Wiring X X
Gnd
Jhon P. U ECE
General Layout Geometry
Vp
Shared drain/
source
Gnd
Jhon P. U ECE
Graph Theory: Euler Path
Vp
x Vertex b c
x
Edge a
Out
y
y c
Vertex a
Gnd
Jhon P. U ECE
Topics
• Combinational logic functions.
• Static complementary logic gate structures.
ECE
Combinational logic expressions
• Combinational logic: function value is a
combination of function arguments.
• A logic gate implements a particular logic
function.
• Both specification (logic equations) and
implementation (logic gate networks) are
written in Boolean logic.
ECE
Gate design
Why designing gates for logic functions is non-
trivial:
– may not have logic gates in the libray for all logic
expressions;
– a logic expression may map into gates that
consume a lot of area, delay, or power.
ECE
Boolean algebra terminology
• Function:
f = a’b + ab’
• a is a variable; a and a’ are literals.
• ab’ is a term.
• A function is irredundant if no literal can be
removed without changing its truth value.
ECE
Completeness
• A set of functions f1, f2, ... is complete iff
every Boolean function can be generated by a
combination of the functions.
• NAND is a complete set; NOR is a complete
set; {AND, OR} is not complete.
• Transmission gates are not complete.
• If your set of logic gates is not complete, you
can’t design arbitrary logic.
ECE
Static complementary gates
• Complementary: have complementary pullup
(p-type) and pulldown (n-type) networks.
• Static: do not rely on stored charge.
• Simple, effective, reliable; hence ubiquitous.
ECE
Static complementary gate structure
Pullup and pulldown networks:
VDD
pullup
network
inputs out
pulldown
network
VSS
ECE
Inverter
a out
ECE
Inverter layout
VDD
+
tub ties
(tubs not
out transistors
a shown)
a out
GND
ECE
NAND gate
out
b
a
ECE
NAND layout
VDD
+
out
out
tub
b ties
a
a
GND
ECE
NOR gate
out
ECE
NOR layout
VDD
b
a tub ties
b
out
out
a
GND
ECE
AOI/OAI gates
• AOI = and/or/invert; OAI = or/and/invert.
• Implement larger functions.
• Pullup and pulldown networks are compact:
smaller area, higher speed than NAND/NOR
network equivalents.
• AOI312: and 3 inputs, and 1 input (dummy),
and 2 inputs; or together these terms; then
invert.
ECE
AOI example
out = [ab+c]’:
invert
symbol circuit
or
and
ECE
Pullup/pulldown network design
• Pullup and pulldown networks are duals.
• To design one gate, first design one network,
then compute dual to get other network.
• Example: design network which pulls down
when output should be 0, then find dual to
get pullup network.
ECE
Dual network construction
a
a
dummy
b c
b c
dummy
ECE