Professional Documents
Culture Documents
C
i
Inverter/Sum Row
Propagate/Generate Row
P
i
G
i
C
i - 1
C
i + 1
V
DD
GND
Manchester Carry Chain
Example
Sketch a stick diagram & estimate area of
( ) Y A B C D = + +
67
CMOS Inverter
Polysilicon
In
Out
V
DD
GND
PMOS
Metal 1
NMOS
Contacts
N Well
Out In
V
DD
PMOS
NMOS
A A
In
Out
GND V
DD
Layout
n
p-substrate Field
A A
68
GND
V
DD
V
DD
V
in
V
out
M1
M2
M3
M4
V
out2
Polysilicon
In
Out
Metal1
V
DD
GND
PMOS
NMOS
n
p-substrate Field
Oxide p+ n+
Cross-Section along A-A
CMOS Inverter Symbolic Layouts
a) Shows symbolic layout of inverter
corresponding to symbolic
schematic
b) Alternate inverter layout showing
horizontal active areas with vertical
poly stripe for gates & vertical metal
drain connections
c) Uses M2 metal to connect transistor
drains in order to allow passing
horizontal M1 metal wires
69
horizontal M1 metal wires
d) Uses diffused N & P source region
extensions (active mask) to Vss and
Vdd, respectively, in order to allow
passing M1 metal wires at top &
bottom of cell
Alternate Methods for Creating Inverter Layouts
Option (a): Increase Wn & Wp beyond
the min values
Option (b): Use parallel sections to obtain
increased Wn & Wp
Stitch Vdd & Vss in such a way as to
share drain regions b/w parallel
device sections
Option (c): Use of circular transistors
effectively quadruples the available
channel width of each device channel width of each device
Since drain regions are in center,
drain capacitance terms are minimum
70
NAND Gate Layout
Single polysilicon lines (for inputs) are vertically across both N & P active regions
Single active shapes used for building both NMOS & PMOS devices
Power bussing is running horizontal across top & bottom of layout
Output wire runs horizontal for easy connection to neighboring circuit
In
3
In
1
In
2
In
4
In
1
In
2
In
3
In
4
V
DD
Out
In1 In2In3 In4
Vdd
GND
Oul
Pseudo-NMOS NAND Gate
Vss
71
NOR Gate Layout
Features of the layout are similar to the 2-input NAND
Single vertical poly lines for each input
Single active shapes for N & P devices
Metal busing running horizontal
72
Examples
73
4-input NAND in CPL
Examples
74
A
M
2
M
1
B
S
S
S
F
V
DD
GND
V
DD
In
1
In
2
5
5
5 5
4-input NAND in CPL
Pass-Transistor based MUX
Examples
GND
VDD
word
buffer inverter NANDgate
A0 A0 A1 A2 A3 A2 A3 A1
75
buffer inverter NANDgate
Row Decoder
SRAM Layout
Cell size is critical: 26 x 45 (even smaller in industry)
Tile cells sharing V
DD
, GND, bitline contacts
V D D
G N D G N D B I T B I T _ B
2
More
Cells
Bitline Conditioning
76
W O R D
C e ll b ou nd ar y
SRAM Cell
word_q1
b
i
t
_
v
1
f
b
i
t
_
b
_
v
1
f
data_s1
write_q1
10T CAM Cell
Add four match transistors to 6T SRAM
56 x 43 unit cell
bit bit_b
word
match
c
e
l
l
c
e
l
l
_
b
77
match
RAM Layout
V
DD
GND
Q
Q
WL
M1 M3
M4 M2
M5 M6
V
DD
Q
Q
M1 M3
M4 M2
M5
BL
WL
BL
M6
6T-SRAM
78
BL BL
BL2 BL1 GND
RWL
WWL
M3
M2
M1
6T-SRAM
M2
M1
BL1
WWL
BL2
M3
RWL
C
S
X
3T-DRAM
ROM-Layout
Read-Only Memories are nonvolatile
Retain their contents when power is removed
Mask-programmed ROMs use one transistor per bit
Presence or absence determines 1 or 0
4-word x 6-bit ROM
Represented with dot diagram
Dots indicate 1s in ROM
A0 A1
weak
pseudo-nMOS
pullups
79
ROM Array
2:4
DEC
Y0 Y1 Y2 Y3 Y4 Y5
Looks like 6 4-input pseudo-nMOS NORs
Unit
Cell
Unit cell is 12 x 8 l (about 1/10 size of SRAM)
ROM
PLA-Layout
A N D P l a n e O R P l a n e
a b c
a b c
a b c
a b c
a b
b c
a c
s
a b c
o u t
c
80
V
DD
GND
And-Plane Or-Plane
f
0
f
1
x
0
x
0
x
1
x
1
x
2
x
2
Pull-up devices Pull-up devices
f
0
f
1 GND
V
DD
OR
x
0
x
0
x
1
x
1
x
2
x
2
GND
V
DD
AND-PLANE OR-PLANE
AND
OR
AND
Dynamic PLA
Sh3 Sh2 Sh1 Sh0
Sh3
Sh2
Sh1
A
3
A
2
A
1
A
0
B
3
B
2
B
1
B
0
: Control Wire
: Data Wire
Area Dominated by Wiring Sh3 Sh2 Sh1 Sh0
A
3
A
2
A
1
A
0
Shifter-Layout
81
4x4 Barrel Shifter 4x4 Barrel Shifter
Sh3 Sh2 Sh1 Sh0
Area Dominated by Wiring
Buffer
Sh1 Sh0
Widlh
laiieI
~ 2 p
n
M
A
3
A
2
A
1
A
0
Out3
Out2
Out1
Out0
Sh1 Sh1 Sh2 Sh2 Sh4 Sh4
A
3
A
2
A
1
A
0
B
1
B
0
B
2
B
3
0-7 bit Logarithmic Shifter
Automatic Layout Cell Generation
Standard Cells
82
Manually Designed Cell Layout
NMOS
PMOS
Oxide-isolation
PMOS
NMOS
NMOS
Using oxide-isolation Using gate-isolation
Standard Cells
Floorplan: Defines overall topology of design, relative placement of modules,
and global routes of busses, supplies & clocks
Routing channel requirements are reduced by presence of more interconnect
layers
Logic Cell Feedthrough Cell
Macrocell
Interconnect Bus
Routing
Channel
83
Functional
Module
(RAM,
multiplier, )
3-input NAND gate
Standard Cells
rows of
cells
routing
channel
uncommitted
V
D D
GND
polysilicon
metal
possible
contact
In 1 In 2 In 3 In4
Uncommited Cell
Committed Cell
(4-input NOR)
84
Out
(4-input NOR)
Gate Array
SRAM
SRAM
Data
paths
Standard Cells based Chip
85
Video-Encoder Chip
Standard
Cells
Layout Technique using Euler Graph Method
Euler Graph Technique can be used to determine if any complex CMOS gate can
be physically laid out in an optimum fashion
Start with either NMOS or PMOS tree & connect lines for transistor
segments, labeling devices, with vertex points as circuit nodes
Next place a new vertex within each confined area on pull-down graph &
connect neighboring vertices with new lines, making sure to cross each edge
of pull-down tree only once
New graph represents the pull-up tree & is dual of pull-down tree
Stick diagram is done with arbitrary gate ordering that gives non-optimum layout Stick diagram is done with arbitrary gate ordering that gives non-optimum layout
86
Layout with Optimum Gate Ordering
By using Euler path approach to re-order the polysilicon lines of previous chart,
we can obtain an optimum layout
Find a Euler path in both pull-down tree graph & pull-up tree graph with identical
ordering of inputs
Euler path: Traverses each branch of the graph exactly once!
By reordering input gates as E-D-A-B-C, we obtain an optimum layout of given
CMOS gate with single actives for both NMOS & PMOS devices
87
Automated Method to Design Gate Layouts
Place inputs as vertical poly stripes
Place Vdd & Vss as horizontal stripes
Group transistors within stripes to allow
maximum source/drain connection
Allow poly columns to interchange in
necessary to improve stripe wireability
Place device groups in rows
Wire up circuit by using vertical diffusions
for connections & manhattan metal routing
(both horizontal & vertical) (both horizontal & vertical)
88
CMOS XNOR Gate Layouts
Separate sections & stack transistors for
each section over identical gate inputs
XNOR implementation in (b) shows
separate sections with X = (AB) & Z = ((A
+ B) X) = XNOR (A,B)
Uses single row of N & P transistors
with a break b/w active regions
Alternate layout in (c) uses vertical device
regions making it a bit more compact
89
Euler Method for OAI Circuit Schematic
Layout at is an optimum layout of (OR AND Inverter) OAI circuit
Single poly vertical inputs
Unbroken single active regions for both N & P transistors
Problem: Find an equivalent inverter circuit for layout assuming:
W/L)
P
= 15 for all PMOS transistors
W/L)
N
= 10 for all NMOS transistors
90
CMOS 1-Bit Full Adder Circuit
1-Bit Full Adder logic function:
Sum=A XOR B XOR C
=ABC+ABC+ABC+ABC
Carry_out = AB+AC+BC
Alternate representation of sum function allows the 1-bit full adder to be
implemented in complex CMOS with 28 transistors
Carry_out internal node is used as an input to adder complex CMOS gate
91
CMOS Full Adder Layout
Use Euler method
Carry_out inverter requires separate active shapes, but all other N & P
transistors were laid out in single active region
Layout is non-optimized for performance
All transistors are seen to be minimum W/L
Design of n-bit full adder:
Carry ripple adder design uses carry_out of stage k as carry_in for stage
k+1
Typically layout is modified in order to use larger transistors for carry_out
CMOS gate in order to improve the performance of ripple bit adder CMOS gate in order to improve the performance of ripple bit adder
92
PLL Design: Layout
Area 1.4 mm x 1.7 mm
PLL-Layout
94
PLL-Layout
95