Beruflich Dokumente
Kultur Dokumente
6/3/2015 1
Unit I
Introduction to IC technology
Topics
• MOS, PMOS, NMOS, CMOS and BiCMOS
Technologies:
• Oxidation
• Lithography
• Diffusion
• Ion implantation
• Metallization
• Encapsulation
• Probe testing
• Integrated Resistors and Capacitors
6/3/2015 2
Acronym of VLSI
• V -> Very
• L -> Large
• S -> Scale
• I -> Integration
6/3/2015 3
Types of Field Effect Transistors
(The Classification)
n-Channel JFET
FET p-Channel JFET
» JFET
MOSFET (IGFET)
Enhancement Depletion
MOSFET MOSFET
6/3/2015 5
Switch Model of NMOS Transistor
| VGS | Gate
Source Drain
(of carriers) (of carriers)
6/3/2015 6
Switch Model of PMOS Transistor
| VGS | Gate
Source Drain
(of carriers) (of carriers)
6/3/2015 7
MOS transistors Symbols
D D
G G
S S
NMOS Enhancement NMOS Depletion Channel
D D
G G B
S S
6/3/2015 8
MOSFET Circuit Symbols
• (g) and (i) are the most
commonly used symbols
in VLSI logic design.
• MOS devices are
symmetric.
• In NMOS, n+ region at
higher voltage is the
drain.
• In PMOS p+ region at
lower voltage is the drain
6/3/2015 9
The NMOS Transistor Cross Section
n areas have been doped with donor ions
(arsenic) of concentration ND - electrons are
the majority carriers
Gate oxide
Polysilicon
W Gate
Source Drain Field-Oxide
n+ n+ (SiO2)
L
p substrate
p+ stopper
Bulk (Body)
6/3/2015 12
The MOSFET Channel
• Under certain conditions, a thin channel can
be formed right underneath the Silicon-
Dioxide insulating layer, electrically connecting
the Drain to the Source. The depth of the
channel (and hence its resistance) can be
o t olled the Gate s oltage. The le gth of
the channel (shown in the figures above as L)
a d the ha el s idth W, a e i po ta t
design parameters.
6/3/2015 14
REGION OF OPERATION
CASE-1 (No Gate Voltage)
• Two diodes back to back exist in series.
• One diode is formed by the pn junction
between the n+ drain region and the p-type
substrate
• Second is formed by the pn junction between
the n+ source region and the p-type substrate
• These diodes prevent any flow of the current.
• There exist a very high resistance.
6/3/2015 15
NMos Cut View
6/3/2015 16
6/3/2015 17
REGION OF OPERATION
Creating a channel
• Apply some positive voltage on the gate
terminal.
• This positive voltage pushes the holes
downward in the substrate region.
• This causes the electrons to accumulate under
the gate terminal.
• At the same time the positive voltage on the
gate also attracts the electrons from the n+
region to accumulate under the gate terminal.
6/3/2015 18
6/3/2015 19
6/3/2015 20
6/3/2015 21
REGION OF OPERATION
Creating a channel
• When sufficient electrons are accumulated under the
gate an n-region is created, connecting the drain and
the source
• This causes the current to flow from the drain to
source
• The channel is formed by inverting the substrate
surface from p to n, thus induced channel is also called
as the inversion layer.
• The voltage between gate and source called vgs at
which there are sufficient electron under the gate to
form a conducting channel is called threshold voltage
Vth.
6/3/2015 22
Formation of Channel
• First, the holes are
repelled by the
positive gate voltage,
leaving behind
negative ions and
forming a depletion
region. Next,
electrons are attracted
to the interface,
creating a channel
i e sio la e .
6/3/2015 23
MOS Transistor Current direction
• The source terminal of an n-channel(p-channel)
transistor is defined as whichever of the two terminals
has a lower(higher) voltage.
• When a transistor is turned ON, current flows from the
drain to source in an n-channel device and from source
to drain in a p-channel transistor.
• In both cases, the actual carriers travel from the source
to drain.
• The current directions are different because n-channel
carriers are negative, whereas p-channel carriers are
positive.
6/3/2015 24
MOS I/V
VGS VTH
6/3/2015 25
REGION OF OPERATION
Applying small Vds
• Now we applying some small voltage between
source and drain
• The voltage Vds causes a current to flow from
drain to gate.
• Now as we increase the gate voltage, more
current will flow.
• Increasing the gate voltage above the threshold
voltage enhances the channel, hence this mode is
called as enhancement mode operation.
6/3/2015 26
Operation – nMOS Transistor
• Accumulation Mode - If Vgs < 0, then an
electric field is established across the
substrate.
• Depletion Mode -If 0<Vgs< Vtn, the region
under gate will be depleted of charges.
• Inversion Mode – If Vgs > Vtn, the region
below the gate will be inverted.
6/3/2015 27
Operation – nMOS Transistor
6/3/2015 28
Operation – nMOS Transistor
V =0
6/3/2015 29
Operation – nMOS Transistor
6/3/2015 30
Operation – nMOS Transistor
6/3/2015 31
Operation – nMOS Transistor
6/3/2015 32
Operation – nMOS Transistor
6/3/2015 33
Voltage-Dependent Resistor
• The inversion channel
of a MOSFET can be
seen as a resistor.
• Since the charge
density inside the
channel depends on
the gate voltage, this
resistance is also
voltage-dependent.
6/3/2015 34
Channel Potential Variation
• “i e the e s a
channel resistance
between drain and
source, and if drain is
biased higher than
the source, then the
potential between
gate and channel will
decrease from
source to drain.
6/3/2015 35
Channel Pinch-Off
• As the potential
difference between drain
and gate becomes more
positive, the inversion
layer beneath the
interface starts to pinch
off around drain.
• When VD s> VGs - Vth,
the channel at drain
totally pinches off, and
when VD s< VGs - Vth,
the channel length starts
to decrease.
6/3/2015 36
6/3/2015 37
6/3/2015 38
6/3/2015 39
Transistor in Saturation Mode
Assuming VGS > VT
VGS VDS > VGS - VT
VDS
S G
D ID
n+ - V -V + n+
GS T
Pinch-off
6/3/2015 40
Du i g pi hoff
Does this mean that the current i =0 ? Actually, it does not. A MOSFET
that is pinched off at the drain end of the channel still conducts current:
The large E in the depletion region surrounding the drain will sweep
electrons across the end of the pinched off channel to the drain.
This is very similar to the operation of the BJT. For an npn BJT, the electric
field of the reversed biased CBJ swept electrons from the base to the
collector regions.
6/3/2015 41
N-Channel MOSFET characteristics
6/3/2015 42
6/3/2015 43
6/3/2015 44
Enhancement-Mode PMOS
Transistors: Structure
• p-type source and drain
regions in n-type substrate.
• vGS < 0 required to create p-
type inversion layer in channel
region
• For current flow, vGS < vTP
• To maintain reverse bias on
source-substrate and drain-
substrate junctions, vSB < 0
and vDB < 0
• Positive bulk-source potential
causes VTP to become more
negative
6/3/2015 45
P-channel MOSFET characteristics
saturation linear
p transistor
6/3/2015 46
Depletion-Mode MOSFETS
• NMOS transistors with
• Ion implantation process
is used to form a built-in
n-type channel in the
device to connect source
and drain by a resistive
channel
• Non-zero drain current VTN 0
for vGS = 0; negative vGS
required to turn device
off.
6/3/2015 47
6/3/2015 48
6/3/2015 49
pMOS are 2.5 time slower than
nMOS due to electron and hole
mobilities
6/3/2015 50
Basic processes involved in fabricating
Monolithic ICs
1. Silicon wafer (substrate) preparation
2. Epitaxial growth
3. Oxidation
4. Photolithography
5. Diffusion
6. Ion implantation
7. Metallization
8. Testing
9. Assembly processing & packaging
6/3/2015 51
Oxidation
Formation of silicon dioxide layer on the surface of Si wafer
1. protects surface from contaminants
2. forms insulating layer between conductors
3. form barrier to dopants during diffusion or ion implantation
4. grows above and into silicon surface
6/3/2015 52
Oxidation
The silicon wafers are stacked up in a quartz boat & then
inserted into quartz furnace tube. The Si wafers are raised
to a high temperature in the range of 950 to 1150oC & at
the same time, exposed to a gas containing O2 or H2O or
both. The chemical action is
6/3/2015 53
Photolithography
• Coat wafer with photoresist
(PR)
• Shine UV light through mask
to selectively expose PR
UV Light
• Use acid to dissolve exposed Mask
PR Photoresist
– Selective doping
– Selective removal of material
under exposed PR
6/3/2015 54
Adding Materials
• Add materials on top of
silicon Added Material
(e.g. Polysilicon)
– Polysilicon
– Metal
– Oxide (SiO2) - Insulator
• Methods Silicon
– Chemical deposition
– Sputtering (Metal ions)
– Oxidation
6/3/2015 55
Oxide (Si02) - The Key Insulator
• Thin Oxide
– Add using chemical deposition
– Used to form gate insulator & block active areas
• Field Oxide (FOX) - formed by oxidation
– Wet (H20 at 900oC - 1000oC) or Dry (O2 at 1200oC)
– Used to insulate non-active areas
SiO2 Thin Oxide FOX SiN / SiO2 FOX
6/3/2015 56
Patterning Materials using
Photolithography
• Add material to wafer
• Coat with photoresist Added Material
(e.g. Polysilicon)
• Selectively remove
photoresist
• Remove exposed material
Silicon
• Remove remaining PR
6/3/2015 57
Diffusion
• Introduce dopant via epitaxy or
ion implant e.g. Arsenic (N),
Boron (P) Blocking Material
• Allow dopants to diffuse at high (Oxide)
temperature
• Block diffusion in selective areas Diffusion
using oxide or PR
• Diffusion spreads both vertically,
horizontally Silicon
6/3/2015 58
Ion Implantation
Process Conditions Focus Beam trap and Neutral beam
and
Flow Rate: 5 sccm gate plate
beam path
Pressure: 10-5 Torr gated
Accelerating Voltage: 5
to 200 keV Neutral beam trap Y - axis X - axis Wafer in wafer
and beam gate scanner scanner process chamber
Gases Solids
Equipment Ground
Ar Ga Resolving
Aperture 180 kV
AsH3 In
B11F3 * Sb Acceleration Tube
He Liquids 90° Analyzing Magnet
N2 Al(CH3)3 Terminal Ground
PH3 Ion Source 20 kV
SiH4
SiF
6/3/20154
Slide 59
Metallization
• Sputter on aluminum over whole wafer
• Pattern to remove excess metal, leaving wires
Metal
Metal
Thick field oxide
p+ n+ n+ p+ p+ n+
n well
p substrate
6/3/2015
Slide 60
nMOS fabrication steps
1. Processing is carried out on a thin wafer cut from a single crystal of silicon of high purity into which the
required p-impurities are introduced as the crystal is grown.
2. A layer of silicon dioxide (Si02) is grown all over the surface of the wafer to protect the surface, act as a
barrier to dopants during processing, and provide a generally insulating substrate on to which other layers
may be deposited and patterned.
3. The surface is now covered with a photoresist which is deposited onto the wafer and spun to achieve an
even distribution of the required thickness.
4. The photoresist layer is then exposed to ultraviolet light through a mask which defines those regions into
which diffusion is to take place together with transistor channels.
5. These areas are subsequently readily etched away together with the underlying silicon dioxide so that the
wafer surface is exposed in the window defined by the mask.
6. The remaining photoresist is removed and a thin layer of Si02 is grown over the entire chip surface and
then polysilicon is deposited on top of this to form the gate structure.
7. Further photoresist coating and masking allows the polysilicon to be patterned (as shown in Step 6) and
then the thin oxide is removed to expose areas into which
8. Thick oxide (Si02) is grown over all again and is then masked with photoresist and etched to expose
selected areas of the polysilicon gate and the drain and source areas where connections (i.e. contact cuts)
are to be made.
9. The whole chip then has metal (aluminium) deposited over its surface. This metal layer is then masked
and etched to form the required interconnection pattern.
6/3/2015 61
1. Substrate
p
………………………………………
……………………………………… Thick oxide
2.
(1m)
3. ………………………………………
………………………………………
Photoresist
6/3/2015 62
UV light
Mask
………………………………………
………………………………………
4.
5. ………………………………………
……………………………………… Window in
oxide
6/3/2015 63
………………………………………
………………………………………
………………………………………
6. ……………………………………… Patterned
Poly. (1-2 m)
On thin oxide
p
( 800-1000A0 )
7.
………………………………………
…………
………………………………………
……
n+ diffusion
…………
…… (1 m deep)
6/3/2015 64
………… …………
8. …………
………… ……
……
…… …………
…………
………… ……
…….
………………………………………
………………………………………
……
………… Contact holes
……
(cuts)
………… …………
9. …………
………… ……
……
…… …………
………… Patterned
……
…….
………………………………………
………………………………………
………… ……
…………
…… Metallization
(aluminum
p 1 m)
6/3/2015 65
CMOS FABRICATION
6/3/2015 66
The p-well Process
In primitive terms, the structure consists of an n-
type substrate in which p-devices may
be formed by suitable masking and diffusion
and, in order to accommodate n-type devices,
a deep p-well is diffused into the n-type
substrate as shown.
6/3/2015 67
The p-well CMOS fabrication
In all other respects-masking, patterning, and diffusion-the process is similar to
nMOS fabrication. In summary, typical processing steps are:
• Mask 1 - defines the areas in which the deep p-well diffusions are to take place.
• Mask 2 - defines the thinox regions, namely those areas where the thick oxide is
to be stripped and thin oxide grown to accommodate p- and n-transistors and wires.
• Mask 3 - used to pattern the polysilicon layer which is deposited after the thin
oxide.
• Mask 4 - A p-plus mask is now used (to be in effect "Anded" with Mask 2) to define
all areas where p-diffusion is to take place.
• Mask 5 - This is usually performed using the negative form of the p-plus mask and
defines those areas where n-type diffusion is to take place.
• Mask 6 - Contact cuts are now defined.
• Mask 7 - The metal layer pattern is defined by this mask.
Mask 8 - An overall passivation (overglass) layer is now applied and Mask 8 ts
needed to define the openings for access to bonding pads.
6/3/2015 68
SiO2
……………………
………………… …
…
1. p-well
p
(4-5 m)
n
Polysilicon
… …… …
2. Thin oxide
p and
n polysilicon
6/3/2015 69
p-diffusion
P+ mask
… …… … (positive)
3.
p
P+ mask n-diffusion
(negative)
… …… …
4.
p
6/3/2015 70
Polysilicon
Oxide
n-diffusion
P-diffusion
Vin
Vout
VDD VSS
6/3/2015 71
Polysilicon
Oxide
n-diffusion
P-diffusion
Vin
Vout
VDD VSS
6/3/2015 72
The n-well Process
• As indicated earlier, although the p-well process is widely used, n-well fabrication
has also gained wide acceptance, initially as a retrofit to nMOS lines.
6/3/2015 73
The twin-tub-Tub Process
Vout
VDD VSS
Epitaxial
n well p well layer
n substrate
Twin-tub structure
( A logical extension of the p-well and n-well)
6/3/2015 75
Bi-CMOS
Bipolar compatible CMOS(Bi-CMOS) technology:
Introduced in early 1980s
Combines Bipolar and CMOS logic
Today Bi-CMOS has become one of the dominant technologies used for
high speed, low power and highly functional VLSI circuits.
The process step required for both CMOS and bipolar are almost similar
Bi-CMOS
6/3/2015 technology enables high performance integrated circuits IC’s but
77
increases process complexity.
Characteristics of Bipolar Technology
Higher switching speed
It6/3/2015
is essentially unidirectional. 78
Characteristics of CMOS
Lower static power dissipation
Low output drive current (issue when driving large capacitive loads)
6/3/2015 80
npn-BJT Fabrication
6/3/2015 81
BJT Processing
1. Implantation of the buried n+ layer
3. p+ isolation diffusion
n+ layer p+ layer n+ layer
4. Base p-type diffusion p-base layer
6. p+ ohmic contact
p-substrate
7. Contact etching
3. p+ isolation diffusion
5. Emitter n+ diffusion
6. p+ ohmic contact
7. Contact etching
3. p+ isolation diffusion
5. Emitter n+ diffusion
6. p+ ohmic contact
n epi layer
7. Contact etching
n+ buried layer
8. Metal deposition and etching
p+ isolation layer
p+ isolation layer
1. Implantation of the buried n+ layer
3. p+ isolation diffusion
5. Emitter n+ diffusion
6. p+ ohmic contact
7. Contact etching
n+ buried layer
8. Metal deposition and etching
p+ isolation layer
p+ isolation layer
1. Implantation of the buried n+ layer
3. p+ isolation diffusion
5. Emitter n+ diffusion
6. p+ ohmic contact
p-base layer
7. Contact etching
n+ buried layer
8. Metal deposition and etching
p+ isolation layer
p+ isolation layer
1. Implantation of the buried n+ layer
3. p+ isolation diffusion
5. Emitter n+ diffusion
n+ layer n+ layer
6. p+ ohmic contact
p-base layer
7. Contact etching
n+ buried layer
8. Metal deposition and etching
p+ isolation layer
p+ isolation layer
1. Implantation of the buried n+ layer
3. p+ isolation diffusion
5. Emitter n+ diffusion
n+ layer p+ layer n+ layer
6. p+ ohmic contact
p-base layer
7. Contact etching
n+ buried layer
8. Metal deposition and etching
5. Emitter n+ diffusion
n+ layer p+ layer n+ layer
6. p+ ohmic contact
p-base layer
7. Contact etching
n+ buried layer
8. Metal deposition and etching
5. Emitter n+ diffusion
n+ layer p+ layer n+ layer
6. p+ ohmic contact
p-base layer
7. Contact etching
n+ buried layer
8. Metal deposition and etching
5. Emitter n+ diffusion
n+ layer p+ layer n+ layer
6. p+ ohmic contact
p-base layer
7. Contact etching
n+ buried layer
8. Metal deposition and etching
6/3/2015 92
Lateral PNP BJT
6/3/2015 93
Doping Profiles in a BJT
6/3/2015 94
6/3/2015 95
BICMOS STRUCTURE
S G D S G D C B E
N-Well (Collector)
P-EPITAXY
N Plus Buried Layer
P-SUBSTRATE
6/3/2015 96
P-SUBSTRATE IS TAKEN
P-SUBSTRATE
P-SUBSTRATE
6/3/2015 97
A WINDOW IS OPENED THROUGH OXIDE LAYER
P-SUBSTRATE
P-SUBSTRATE
6/3/2015 98
P-EPITAXY LAYER IS GROWN ON THE ENTIRE SURFACE
P-EPITAXY
P-EPITAXY
N-Well
N-Well (Collector)
P-EPITAXY
N Plus Buried Layer
P-SUBSTRATE
6/3/2015 101
THREE WINDOWS ARE OPENED THROUGH THE OXIDE LAYER , IN THESE
THREE WINDOWS THREE ACTIVE DEVICES NMOS,PMOS AND NPN BJT
ARE FORMED
N-Well
N-Well (Collector)
P-EPITAXY
N Plus Buried Layer
P-SUBSTRATE
6/3/2015 102
THE ENTIRE SURFACE IS COVERED WITH THINOX AND POLYSILICON
AND ARE PATTERNED TO FORM THE GATE TERMINALS OF THE NMOS
AND PMOS
N-Well
N-Well (Collector)
P-EPITAXY
N Plus Buried Layer
P-SUBSTRATE
6/3/2015 103
THROUGH THE 3RD WINDOW THE P-IMPURITIES ARE MODERATELY
DOPED TO FORM THE BASE TERMINAL OF BJT
N-WELL ACTS LIKE THE COLLECTOR TERMINAL
N-Well P-Base
N-Well (Collector)
P-EPITAXY
N Plus Buried Layer
P-SUBSTRATE
6/3/2015 104
THE N-TYPE IMPURITES ARE HEAVILY DOPED TO FORM
N- N- N-Plus
Diff Diff Emitter
N-Well P-Base
N-Well (Collector)
P-EPITAXY
N Plus Buried Layer
P-SUBSTRATE
6/3/2015 105
THE P-TYPE IMPURITES ARE HEAVILY DOPED TO FORM
N-Well P-Base
N-Well (Collector)
P-EPITAXY
N Plus Buried Layer
P-SUBSTRATE
6/3/2015 106
THE ENTIRE SURFACE IS COVERED WITH THICK OXIDE LAYER
N-Well P-Base
N-Well (Collector)
P-EPITAXY
N Plus Buried Layer
P-SUBSTRATE
6/3/2015 107
THE ENTIRE SURFACE IS COVERED WITH THICK OXIDE LAYER AND IS
PATTERNED FOR CONTACT CUTS
N-Well P-Base
N-Well (Collector)
P-EPITAXY
N Plus Buried Layer
P-SUBSTRATE
6/3/2015 108
METAL CONTACTS ARE FORMED
S G D S G D C B E
N-Well (Collector)
P-EPITAXY
N Plus Buried Layer
P-SUBSTRATE
6/3/2015 109
Resistors & Capacitors
fabrication
6/3/2015 110
Oh s La
V IR
• Current I in terms of Jn I JA JtW
• Voltage V in terms of electric field
I JA JtW t W E
E V / L
tW
I JA JtW V
L
– Result for R L 1 L
R R
6/3/2015
W t W t
111
Sheet Resistance (Rs)
• IC resistors have a specified thickness – not
under the control of the circuit designer
• Eliminate t by absorbing it into a new
parameter: the sheet resistance (Rs)
L L L
R Rsq
Wt t W W
Nu e of “ ua es
6/3/2015 112
ELECTRON AND HOLE MOBILITY
Carrier Mobilities versus Doping Concentration
1.60E+03
1.40E+03
Carrier Mobility (cm2/V-sec)
1.20E+03
1.00E+03
mu_n
8.00E+02
mu_p
6.00E+02
4.00E+02
2.00E+02
0.00E+00
1.00E+14 1.00E+15 1.00E+16 1.00E+17 1.00E+18 1.00E+19
Doping Concentration (Na or Nd)
6/3/2015 113
DIFFUSED RESISTOR
Aluminum contacts
Silicon dioxide
The n-type wafer is always biased positive with respect to the p-type
diffused region. This ensures that the pn junction that is formed is in
reverse bias, and there is no current leaking to the substrate. Current
will flow through the diffused resistor from one contact to the other.
The I-V characteristic follows Ohm’s Law: I = V/R
6/3/2015 114
Layout/Mask Layer 1 - Diffusion
(green)
Top View
W
Resistor
L termination
Side View
P type Diffusion
N wafer
The resistance, R = rhos (L/W)
The sheet resistance rhos, is the resistance of each square If rhos is 100 ohms per
L/W is the number of ‘squares’ long the resistor is said to be. square,
R = 500 ohms
5 squares in this case
6/3/2015 115
IC Fabrication: Ion Implantation
oxide
• Si substrate (p-type)
• Grow oxide (thermally)
• Add photoresist P-type Si Substrate
6/3/2015 116
Using Sheet Resistance (Rs)
• Ion-i pla ted o diffused IC esisto
6/3/2015 117
Poly Film Resistor
Polysilicon Film (N+ or P+ type) Oxide
6/3/2015 118
Diffused Resistor
-Dope a region of the silicon (n-type or p-type) to an acceptable
NA or ND.
-Then place a contact at each end of the diffusion region.
-The diffusion region will have a given resistivity specified in
"Oh s / “ ua e
-Then alter the geometry (L/W ration) to get the desired
resistance - typically these have a sheet resistance between 100
to 200 ohms/sq - to save space
-These are laid out using a serpentine geometry
6/3/2015 119
-The interesting thing about the l/W ratio is that if l=W, then the
shape is a square and R=Rs, this is true no matter how big the
square is.
-In fact, the l/W ratio is actually the number of squares in a given
trace geometry - We typically just count the squares and use:
R= Rs*(no.of.squares)
6/3/2015 120
Polysilicon Resistor
-Another way to fabricate a resistor is to use Polysilicon.
-Polysilicon has a high resistivity prior to Ion Implantation
-Use undoped Polysilicon to create a high value resistor
Before Ion Implantation : Rs = 10M Ohms/Square
After Ion Implantation : Rs = 20 to 40 Ohms/Square
- Typically don't even need 1 square to get our resistively so we
don't need to do a serpentine layout
- One drawback is that the resistance can vary widely with
process when using less than 1 square to get a resistor in the k-
Ohms range.
- These are typically used when we just want a BIG resistor and
don't care about the exact value
6/3/2015 121
Metal Resistor
-Metal can also be used for very small resistors
6/3/2015 122
Cross sections of resistors of various types available from a typical n-well CMOS process.
6/3/2015 123
Capacitors
• Composed of two conductive plates separated
by an insulator (or dielectric).
– Commonly illustrated as two parallel metal plates
separated by a distance, d.
– C = e A/d
– where e = er eo
– er is the relative dielectric constant
– eo is the vacuum permittivity
6/3/2015 124
CMOS Capacitors
-There are 3 common ways to make a capacitor
1) MOS Capacitor:
-simply create a MOS structure where the Gate (Metal) terminal
is one terminal and the Body (Semiconductor) terminal is
Ground
- while this is easy to implement, the capacitance changes with
the bias voltage (i.e., VG) due to the depletion and inversion
which occurs
6/3/2015 125
MIM Capacitor
-"Metal Insulator Metal"-this is simply a parallel plate capacitor
using two metals and an insulator
-This type of capacitor is created using an extra process step that
puts in an additional metal layer that can be very close to one of
the other metal layers to get a smaller plate-to-plate separation
-Since the plates are made of metal, the capacitance doesn't
change with bias voltage-these capacitors are not as large as MOS
capacitors
6/3/2015 126
Interpoly and MOS capacitors in an n-well CMOS process.
6/3/2015 127
6/3/2015 128
UNIT 2
BASIC ELECTRICAL PROPERTIES
Topics
• Basic electrical properties of MOS and BiCMOS
circuits:
• Ids-Vds relationships
• MOS transistor threshold voltage, gm, gds
• figure of merit wo
• pass transistor
• NMOS inverter
• Various pull-ups
• CMOS inverter analysis and design
• BiCMOS inverters
6/3/2015 129
MOSFET I-V Characteristics
I-V Plots, Channel Length Modulation
-4
x 10
– Saturation 6
curves 4
Resistive Saturation
independent of
ID (A)
VGS= 2.0 V
3 Quadratic
VDS. Not sure! So VDS = VGS - VT Relationship
we consider the 2 VGS= 1.5 V
effect of channel 1
VGS= 1.0 V
length 0
0 0.5 1 1.5 2 2.5
modulation. VDS(V)
6/3/2015 130
MOSFET I-V Characteristics
Channel Length Modulation
• Channel Length
Modulation
– With pinch-off the VS=0 VDS>VDSAT
channel at the point VGS>VT0 n C ox W
I D ( SAT ) (V GS V T 0 )2
y such that 2 L
6/3/2015 131
MOSFET I-V Characteristics
Channel Length Modulation
– ΔL increases with an increase in VDS.
We can use
1 1 1 1 1 1 1 1 1
1 V DS
L' L ΔL L L ΔL L 1 ΔL L 1 V DS L
– λ: channel length modulation L L
coefficient
– ID(SAT) can be rewritten as
6/3/2015 132
MOSFET I-V Characteristics
Substrate Bias Effect
– So far, VSB=0 and thus VT0 used in the equations.
– Clearly not always true – must consider body effect
– Two MOSFETs in series:
M1 D
G
S
M2 D VSB
G
S
–
–
– V“B M = VD“ M ≠ . Thus, VT i the M e uatio is epla ed
by VT = VT(VSB) as developed in the threshold voltage section.
6/3/2015 133
MOSFET I-V Characteristics
Substrate Bias Effect (Cont.)
• The general form of ID can be written as
• ID = f (VGS,VDS,VSB)
• which due to the body effect term is non-
linear and more difficult to handle in manual
calculations
6/3/2015 134
MOSFET I-V Characteristics
Summary of Analytical Equations
– The voltage directions and relationships for the three
modes of pMOS are in contrast to those of nMOS.
D
nMOS
G B Mode ID Voltage Range
VSB VDS
VGS ID
Cut-off 0 VGS<VT
S
Linear (ȝnCox/2)(W/L)[2(VGS- VGSVT,VDS< VGS
VT)VDS-VDS2] -VT
S
Saturatio (ȝnCox/2)(W/L)(VGS- VGS VT,VDS
VGS n VT)2(1+ȜVDS) VGS -VT
VSB
B
G VDS
pMOS
ID
D Cut-off 0 VGS>VT
Linear (ȝnCox/2)(W/L)[2(VGS- VGS VT,VDS>
VT)VDS-VDS2] VGS -VT
6/3/2015 Saturatio (ȝnCox/2)(W/L)(VGS- VGS VT,VDS135
2
Pass-Transistor Logic Circuits (1)
A simple approach for implementing logic functions utilizes series and
parallel combinations of switches that are controlled by input variables to
connect the input and output nodes.
6/3/2015 136
Pass-Transistor Logic Circuits (2)
An essential requirement in the design of pass-transistor logic is
ensuring that every circuit node has at all times a low-resistance path to
VDD or to ground.
If B is high, S1 closes and Y=A.
Y will be VDD if A is high or ground if
A is low.
A basic design requirement of PTL circuits is that every node have, at all times, a low resistance
path to either ground or VDD. Such a path does not exist in (a) when B is low and S1 is open. It is provided in
(b) through switch S2.
6/3/2015 138
MOSFET Ids-Vds
6/3/2015 139
Terminal Voltages
• Mode of operation depends on Vg, Vd, Vs Vg
– Vgs = Vg – Vs +
Vgs
+
Vgd
– Vgd = Vg – Vd - -
6/3/2015 140
nMOS Cutoff
• No channel
• Ids = 0
Vgs = 0 Vgd
+ g +
- -
s d
n+ n+
p-type body
b
6/3/2015 141
nMOS Linear
• Channel forms
• Current flows from d to s
Vgs > Vt
+ g +
Vgd = Vgs
- -
– e- from s to d s d
Vds = 0
n+ n+
6/3/2015 142
nMOS Saturation
• Channel pinches off
• Ids independent of Vds
• We say current saturates
• Similar to current source
Vgs > Vt
Vgd < Vt
g
+ +
- -
s d Ids
n+ n+
Vds > Vgs-Vt
p-type body
b
6/3/2015 143
I-V Characteristics
• In Linear region, Ids depends on
– How much charge is in the channel?
– How fast is the charge moving?
6/3/2015 144
Channel Charge
• MOS structure looks like parallel plate
capacitor while operating in inversion
– Gate – oxide – channel
• Qchannel =
gate
Vg
polysilicon + +
gate source Vgs Cg Vgd drain
W
Vs - - Vd
tox
channel
n+ - + n+
SiO2 gate oxide
Vds
L
n+ n+ (good insulator, ox = 3.9) p-type body
p-type body
6/3/2015 145
Channel Charge
• MOS structure looks like parallel plate
capacitor while operating in inversion
– Gate – oxide – channel
• Qchannel = CV
• C= gate
Vg
polysilicon + +
gate source Vgs Cg Vgd drain
W
Vs - - Vd
tox
channel
n+ - + n+
SiO2 gate oxide
Vds
L
n+ n+ (good insulator, ox = 3.9) p-type body
p-type body
6/3/2015 146
Channel Charge
• MOS structure looks like parallel plate
capacitor while operating in inversion
– Gate – oxide – channel
• Qchannel = CV Cox = ox / tox
• V= +
polysilicon
source V
gate gs
Vg
Cg
+
Vgd drain
W
Vs - - Vd
tox
channel
n+ - + n+
SiO2 gate oxide
Vds
L
n+ n+ (good insulator, ox = 3.9) p-type body
p-type body
6/3/2015 147
Channel Charge
• MOS structure looks like parallel plate
capacitor while operating in inversion
– Gate – oxide – channel
• Qchannel = CV
• C = Cg = eoxWL/tox = CoxWL Cox = ox / tox
6/3/2015 148
Carrier velocity
• Charge is carried by e-
• Carrier velocity v proportional to lateral E-field
between source and drain
6/3/2015 149
Carrier velocity
• Charge is carried by e-
• Carrier velocity v proportional to lateral E-field
between source and drain
• v = mE m called mobility
• E =energy
6/3/2015 150
Carrier velocity
• Charge is carried by e-
• Carrier velocity v proportional to lateral E-field
between source and drain
• v = mE m called mobility
• E = Vds/L
• Time for carrier to cross channel:
–t=
6/3/2015 151
Carrier velocity
• Charge is carried by e-
• Carrier velocity v proportional to lateral E-field
between source and drain
• v = mE m called mobility
• E = Vds/L
• Time for carrier to cross channel:
–t=L/v
6/3/2015 152
nMOS Linear I-V
• Now we know
– How much charge Qchannel is in the channel
– How much time t each carrier takes to cross
I ds
6/3/2015 153
nMOS Linear I-V
• Now we know
– How much charge Qchannel is in the channel
– How much time t each carrier takes to cross
Qchannel
I ds
t
6/3/2015 154
nMOS Linear I-V
• Now we know
– How much charge Qchannel is in the channel
– How much time t each carrier takes to cross
Qchannel
I ds
t
W Vds
Cox Vgs Vt Vds
L 2
Vds W
Vgs Vt Vds = Cox
2 L
6/3/2015 155
nMOS Saturation I-V
• If Vgd < Vt, channel pinches off near drain
– When Vds > Vdsat = Vgs – Vt
• Now drain voltage no longer increases current
I ds
6/3/2015 156
nMOS Saturation I-V
• If Vgd < Vt, channel pinches off near drain
– When Vds > Vdsat = Vgs – Vt
• Now drain voltage no longer increases current
I ds Vgs Vt dsat V
V
dsat
2
6/3/2015 157
nMOS Saturation I-V
• If Vgd < Vt, channel pinches off near drain
– When Vds > Vdsat = Vgs – Vt
• Now drain voltage no longer increases current
I ds Vgs Vt dsat V
V
dsat
2
Vt
2
V gs
2
6/3/2015 158
nMOS I-V Summary
• Shockley 1st order transistor models
0 Vgs Vt cutoff
Vds V V V
I ds Vgs Vt ds linear
2
ds dsat
Vgs Vt
2
Vds Vdsat saturation
2
6/3/2015 159
Example
• Example: a 0.6 mm process from AMI
semiconductor
– tox = 100 Å
2.5
Vgs = 5
2
– m = 350 cm2/V*s 1.5 Vgs = 4
Ids (mA)
– Vt = 0.7 V 1
– Vgs = 0, 1, 2, 3, 4, 5
Vgs = 1
0
0 1 2 3 4 5
A D I
VB
6/3/2015 161
MOS Transistor Basics
Two Terminal Structure (Continued)
– VSB – Flat Band Voltage (applied
external voltage to G-B to flatten bands
of substrate – equal to built-in potential
difference of MOS – equal to work
function difference GB between the
substrate (channel) and gate.
• Operation
– With VG<0, VB=0, Accumulation – Holes
accumulate at substrate-oxide interface
due to attraction of negative bias
– With VG>0, but small, VB=0, 2 S i S F
Depletion – Holes repelled from x d
qNA
substrate-oxide interface due to
positive bias leaving negatively charged
fixed acceptors ions behind. The result
is a region below the interface that is
depleted of mobile carriers.
• Depletion region thickness
6/3/2015 162
MOS Transistor Basics
Two Terminal Structure (Continued)
• Depletion region charge density
6/3/2015 163
MOS Transistor Basics
Two Terminal Structure (Continued)
– The corresponding
depletion charge density
(per unit area) at surface
inversion is
6/3/2015 164
MOS Transistor Basics
Four Terminal Structure
• p-Substrate
• The MOS n-channel
S(ource)
G(ate)
D(rain)
transistor structure:
n+ L n+
6/3/2015 165
MOS Transistor Basics
Four Terminal Structure (Continued)
• Symbols: n-channel - p-substrate; p-
channel – n-substrate
D D D D S
B
G G G G G
• S P-channel, reverse
N-channel (for S S S D
arrow or add bubbles)
•
P-
channel
• Enhancement mode: no conducting
channel exists at VGS = 0
• Depletion mode: a conducting
channel exists at VGS = 0
6/3/2015 166
MOS Transistor Basics
Four Terminal Structure (Continued)
• Source and drain identification
D
VDS
B
G
VSB
VGS S
6/3/2015 167
Threshold Voltage Components
• Consider the prior 3-D drawing: Set VS=0, VDS=0,
and VSB=0.
– Increase VGS until the channel is inverted. Then a
conducting channel is formed and the depletion
region thickness (depth) is maximum as is the surface
potential.
– The value of VGS needed to cause surface inversion
(channel creation) is the threshold voltage VT0. The 0
refers to VSB=0.
– VGS< VT0: no channel implies no current flow possible.
With VGS> VT0, existence the channel implies possible
current flow.
6/3/2015 168
Threshold Voltage Components (Cont.)
• GC work function difference between gate and
channel material which is the built-in voltage that
must be offset by voltage applied to flatten the
bands at the surface.
• Apply voltage to achieve surface inversion -2F
• Additional voltage must be applied to offset the
depletion region charge due to the acceptor ions. At Q 2q N A S i 2 F V SB
inversion, this charge with VSB=0 is QB0= Q0.
• For VSB non-zero,
Q ox
C ox
6/3/2015 169
Threshold Voltage Components (Cont.)
• These components together give:
QB Qox
V T GC 2F
• For VSB=0, VT0 has QB replaced by QB0. This
Cox Cox
gives a relationship between VT and VT0 QB QB 0
VT VT 0
which is: Cox
6/3/2015 170
Threshold Voltage Components (Cont.)
• The final expression for VT0 and VT
are 2 q N A Si
C ox
QB 0 Qox
• and V T 0 GC 2F
Cox Cox
– The threshold voltage depends on
the source-to-bulk voltage which is
clearly separated out. The
component is referred to as body
effect. If the source to body voltage
VSB is non-zero, the corrective term
must be applied to VT0.
VT VT0 2F VSB 2F
6/3/2015 171
Threshold Voltage Components (Cont.)
•
• Those parameters in the VT
equation are signed. The following
table gives their signs for nMOS and
pMOS transistor.
Parameter nMOS pMOS
F
QB, QB0
γ
• For real designs, the threshold VSB
voltage, due to variation in oxide
thickness, impurity concentrations,
etc., VT0 and γ should be measured
from the actual process.
6/3/2015 172
•Inverter : basic requirement for
producing a complete range of
Logic circuits
1 0 Vo
0 1
Vss
6/3/2015 173
Vdd
Basic Inverter: Transistor with source
connected to ground and a load resistor
connected from the drain to the positive
Pull-Up Supply rail
R
6/3/2015 174
NMOS Depletion Mode Transistor Pull - Up
Vdd
• Pull-Up is always on – Vgs = 0; depletion
D
• Pull-Down turns on when Vin > Vt
V0 Vt
Vdd D
Vin
S
Non-zero output
Vss
Vi
6/3/2015 175
Ids
Vgs=0.2VDD
Ids
Vgs=0
Vgs=-0.2 VDD
Vgs=-0.4 VDD
Vgs=-0.6VDD
VDD –Vds
Vds Vin
Vgs=VDD
VDD
Ids
Vgs=0.8VDD
Vgs=0.6 VDD
Vgs=0.4 VDD
Vgs=0.2VDD
Vds
VDD
Vo
VDD
6/3/2015 176
Decreasing
Vin
Zpu/Zpd
VDD
Increasing
Zpu/Zpd
Vo
VDD
Vinv
6/3/2015 177
NMOS Depletion Mode Inverter
Characteristics
• Dissipation is high since rail to rail current
flows when Vin = Logical 1
• Switching of Output from 1 to 0 begins when
Vin exceeds Vt of pull down device
• When switching the output from 1 to 0, the
pull up device is non-saturated initially and
this presents a lower resistance through which
to charge capacitors (Vds < Vgs – Vt)
6/3/2015 178
NMOS Enhancement Mode Transistor Pull - Up
V0
Vdd D
Vt (pull up)
Vin
S
Non zero output
Vss
6/3/2015 180
Assume equal margins around inverter; Vinv = 0.5 Vdd
Assume both transistors in saturation, therefore: Ids = K (W/L) (Vgs – Vt)2/2
Depletion mode transistor has gate connected to source, i.e. Vgs = 0
Convention Z = L/W
This gives Zpu / Zpd = 4:1 for an nmos inverter directly driven by another inverter
6/3/2015 181
Pull-Up to Pull-Down Ratio for an nMOS inverter driven
through 1 or more pass transistors
A B C
Vin1 Vout2
It is often the case that two inverters are connected via a series of switches (Pass Transistors)
We are concerned that connection of transistors in series will degrade the logic levels into
Inverter 2. The driven inverter can be designed to deal with this. (Zpu/Zpd >= 8/1)
6/3/2015 182
Complimentary Transistor Pull – Up (CMOS)
Vdd
P on N on
Vin Vo
N off P off
Both On
Vin
Vss Vdd
Vss
Logic 0 Logic 1
6/3/2015 183
Vout Vtn Vtp
1: Logic 0 : p on ; n off
P on N on
N off P off 5: Logic 1: p off ; n on
6/3/2015 184
CMOS INVERTER CHARACTERISTICS
p
If n = p and Vtp = –Vtn
Ip
2
Vin VDD Vtp 2
V
At logic threshold, In = Ip Vin DD
2
n p pW p W
2
Vin Vtn
2
2
Vin VDD Vtp 2
Lp
n n
Ln
n p
2
Vin Vtn
2
Vin VDD Vtp
Mobilities are unequal : µn = 2.5 µp
n
V V Vin VDD Vtp
p in tn Z = L/W
n n
Vin 1 V V V
p tn DD tp Zpu/Zpd = 2.5:1 for a symmetrical CMOS inverter
p
6/3/2015 185
CMOS Inverter Characteristics
• No current flow for either logical 1 or logical 0
inputs
• Full logical 1 and 0 levels are presented at the
output
• For devices of similar dimensions the p –
channel is slower than the n – channel device
6/3/2015 186
CMOS Inverter VTC
NMOS off
PMOS res
NMOS sat
PMOS res
2.5
NMOS sat
Vout (V)
2
PMOS sat
1.5
1
0.5
0 NMOS res
PMOS sat NMOS res
0 0.5 1 1.5 2 PMOS
2.5 off
Vin (V)
6/3/2015 187
Cutoff Linear Saturation
pMOS Vin -VDD= VGS> VT Vin -VDD=VGS< VT Vin -VDD=VGS> VT
Vin -Vout=VGD< VT Vin -Vout=VGD>VT
VDD
G S
Regions of operations D
For nMOS and pMOS
Vin
In CMOS inverter D Vout
G CL
S
6/3/2015 188
Impact of Process Variation
Good PMOS
Vout (V)
Vin (V)
6/3/2015 190
NMOS Inverter
• When VIN changes
5V
When V to logic
is logic
IN 1, V0, is
OUT transistor gets
5V
logic 0.
cutoff.
R ID goesConstant
to 0. nonzero current R
• ‘esisto oltage goes to ze o. VOUT pulled
flows through transistor.
6/3/2015 191
PMOS Inverter
• When VIN changes to logic 1, transistor gets5 V
5V
cutoff. ID goes to 0.
• ‘esisto- oltage goes to ze o. VOUT
V IN V pulled
- IN
do Vto
DS V V.
OUT
VDS
V
0V + When VIN is logic 0, VOUT is + OUT
logic 1.
5V
ID = -5/R 5V ID = 0 0V
Constant nonzero current
flows through transistor.
R Power is used even though R
no new computation is being
performed.
6/3/2015 192
Analysis of CMOS Inverter
• We can follow the same procedure to solve for
VDD (Logic1)
currents and S voltages in the CMOS inverter as
we did for the single NMOS and PMOS
circuits. D V OUT
• Remember, D
now we have two transistors so
VIN
we write two I-V relationships and have twice
the number of variables.
• We can roughly analyze the CMOS inverter
S
NMOS isgraphically.
“pull-down device”
PMOS is “pull-up device”
Each shuts off when not pulling
6/3/2015 193
Linear KVL and KCL Equations
VDD (Logic 1) VGS(n) = VIN
S VGS(p) = VIN – VDD
VIN = VGS(n) =
0.9 V
VDS(n)
6/3/2015
VDD 195
CMOS Analysis
ID(n)
As VIN goes up, VGS(n) gets bigger NMOS I-V curve
and VGS(p) gets less negative.
PMOS I-V curve
(written in terms of
NMOS variables)
VIN = VGS(n) =
1.5 V
VDS(n)
6/3/2015
VDD 196
CMOS Analysis
ID(n)
As VIN goes up, VGS(n) gets bigger NMOS I-V curve
and VGS(p) gets less negative.
PMOS I-V curve
(written in terms of
NMOS variables)
VIN = VGS(n) =
2.0 V
VDS(n)
6/3/2015
VDD 197
CMOS Analysis
ID(n)
As VIN goes up, VGS(n) gets bigger NMOS I-V curve
and VGS(p) gets less negative.
PMOS I-V curve
(written in terms of
NMOS variables)
VIN = VGS(n) =
2.5 V
VDS(n)
6/3/2015
VDD 198
CMOS Analysis
ID(n)
As VIN goes up, VGS(n) gets bigger NMOS I-V curve
and VGS(p) gets less negative.
PMOS I-V curve
(written in terms of
NMOS variables)
VIN = VGS(n) =
3.0 V
VDS(n)
6/3/2015
VDD 199
CMOS Analysis
ID(n)
As VIN goes up, VGS(n) gets bigger NMOS I-V curve
and VGS(p) gets less negative.
PMOS I-V curve
(written in terms of
NMOS variables)
VIN = VGS(n) =
3.5 V
VDS(n)
6/3/2015
VDD 200
CMOS Analysis
ID(n)
As VIN goes up, VGS(n) gets bigger NMOS I-V curve
and VGS(p) gets less negative.
PMOS I-V curve
(written in terms of
NMOS variables)
VIN = VGS(n) =
4.1 V
VDS(n)
6/3/2015
VDD 201
CMOS Inverter VOUT vs. VIN
VOUT
VIN
A B C D E VDD
6/3/2015 203
Important Points
• No ID current flow in Regions A and E if
nothing attached to output; current flows only
during logic transition
• If another inverter (or other CMOS logic)
V V
attached toSoutput, transistor gateS terminals
DD DD
VIN D D
6/3/2015
S S 204
Impact of Process Variation
Good PMOS
Vout (V)
Vin (V)
0
VDD
Vin
6/3/2015 206
Unit III
VLSI CIRCUIT DESIGN PROCESSES
Topics
• VLSI design flow
• MOS layers
• Stick diagrams
• Design Rules and Layout
• 2 um CMOS design rules for wires
• Contacts and Transistors
• Layout diagrams for NMOS and
• CMOS inverters and gates, Scaling of MOS circuits
6/3/2015 207
VLSI Design of approach of IC
6/3/2015
208
Layer Types
• p-substrate
• n-well
• n+
• p+
• Gate oxide (thin oxide)
• Gate (polycilicon)
• Field Oxide
– Insulated glass
– Provide electrical isolation
6/3/2015 209
Stick diagram
Metal 1 N
BLUE M
6/3/2015 210
Stick Diagrams
Metal
poly
ndiff
pdiff
Can also draw
in shades of
Buried Contact gray/line style.
Contact Cut
6/3/2015 211
Stick Diagrams
• VLSI design aims to translate circuit concepts
onto silicon.
• Stick diagrams are a means of capturing
topography and layer information using simple
diagrams.
• Stick diagrams convey layer information through
colour codes (or monochrome encoding).
• Acts as an interface between symbolic circuit and
the actual layout.
6/3/2015 212
Stick Diagrams
6/3/2015 213
Stick Diagrams
6/3/2015 214
Stick Diagrams
6/3/2015 215
Stick Diagrams
6/3/2015 216
Stick Diagrams
6/3/2015 218
6/3/2015 219
NMOS INVERTER
5V 5v
Dep
Vout
Enh Vin
0V
0V
6/3/2015 220
NMOS-NAND
6/3/2015 221
NMOS-NOR
6/3/2015 222
NMOS EX-OR
6/3/2015 223
NMOS EX-NOR
6/3/2015 224
PMOS-INVERTER
6/3/2015 225
PMOS NAND
6/3/2015 226
PMOS-NOR
6/3/2015 227
Sticks design CMOS NAND:
• Start with NAND gate:
6/3/2015 228
NAND sticks
VDD
out
VSS
6/3/2015 229
Stick Diagram - Example A
OUT
B
NOR Gate
6/3/2015 230
Stick Diagram - Example
Power
A Out
Ground
6/3/2015 231
2 I/P OR GATE
6/3/2015 232
2 I/P AND
6/3/2015 233
6/3/2015 234
Y= AB+CD
6/3/2015 235
Y= AB+CD “TICK
6/3/2015 236
6/3/2015 237
Design Rules
• Design rules are a set of geometrical
specifications that dictate the design of the layout
masks
• A design rule set provides numerical values
– For minimum dimensions
– For minimum line spacings
• Design rules must be followed to insure
functional structures on the fabricated chip
• Design rules change with technological advances
(www.mosis.org)
6/3/2015 238
Silicon Foundry
• A standard
• A foundry allows designers to submit designs
using a state-of-the-art process
• Each foundry state simpler set of design rules
called lambda design rules
• All widths, spacings, and distances are written in
the form
– Value = m
– TSMC (Thailand Semiconductor Manufacturing
Corporation)
6/3/2015 239
Design Rules Classification
• Minimum width
• Minimum spacing
• Surround
• Extension
6/3/2015 240
Physical Limitations
• Line width limitation of an imaging system
– The reticle shadow projected on the photoresist
does not have sharp edges due to optical
diffraction
• Etching process problem
– Undercutting of the resist due to lateral etching
decreases the resolution
6/3/2015 241
Etching Process Problem
Vertical etching
Lateral
Etching
Substrate Substrate
Isotropic etch
6/3/2015 242
Depletion Region
• If depletion regions of adjacent pn junctions
touch, then
– The current blocking characteristics are altered
– Current can flow between the two
Spacing
n+ n+
Substrate
6/3/2015 244
Electrical Rules
• An example of an electrical rule is the allowed
width of a metal interconnect line
– To avoid electromigration effects
– The design rule set will stipulate the maximum
current flow level permitted
6/3/2015 245
3D Perspective
Polysilicon Aluminum
6/3/2015 246
Design rules and Layout
• Why we use design rules?
– Interface between designer and process engineer
– Guidelines for constructing process masks
6/3/2015 247
Design Rules
Minimum length or width of a feature on a layer is 2
Why?
To allow for shape contraction
Minimum separation of features on a layer is 2
Why?
To ensure adequate continuity of the intervening
materials.
6/3/2015 248
Design Rules
Minimum width of PolySi and diffusion line 2
Minimum width of Metal line 3 as metal lines run over a more uneven
surface than other conducting layers to ensure their continuity
Metal
Diffusion
3
2 2 Polysilicon
6/3/2015 249
Design Rules
PolySi – PolySi space 2
Metal - Metal space 2
Diffusion – Diffusion 3 To avoid the possibility of their associated
regions overlapping and conducting current
Metal
2
Diffusion
2 3 Polysilicon
6/3/2015 250
Design Rules
Diffusion – PolySi To prevent the lines overlapping to form
unwanted capacitor
Metal lines can pass over both diffusion and polySi without
electrical effect. Where no separation is specified, metal lines
can overlap or cross
Metal
Diffusion
Polysilicon
6/3/2015 251
Metal Vs PolySi/Diffusion
Polysilicon
6/3/2015 252
Review:
poly-poly spacing 2
diff-diff spacing 3
(depletion regions tend to spread outward)
diff-poly spacing
6/3/2015 253
Note
• Two Features on different mask layers can be
misaligned by a maximum of 2l on the wafer.
• If the overlap of these two different mask
layers can be catastrophic to the design, they
must be separated by at least 2l
• If the overlap is just undesirable, they must
be separated by at least l
6/3/2015 254
When a transistor is formed?
Design rules
min. line width of polySi and diffusion 2
drain and source have min. length and width of 2
And
6/3/2015 255
PolySi extends in the gate region…
diffusion
short
• Diffusion Problems
no overlap overlap
6/3/2015 256
Depletion Transistor
We need depletion implant
6/3/2015 257
Depletion Transistor
2
6/3/2015 258
Butting Contact
Advantage:
No buried contact mask required and avoids
associated processing.
6/3/2015 259
Butting Contact
Problem: Metal descending the hole has a tendency to
fracture at the polySi corner, causing an open circuit.
Metal
Insulating
Oxide
n+ n+
6/3/2015 260
Buried Contact
2
Contact Area
6/3/2015
2 261
Buried Contact
The buried contact window surrounds this contact by in all
directions to avoid any part of this area forming a transistor.
6/3/2015 262
Buried Contact
Here gate length is depend upon the alignment of the
buried contact mask relative to the polySi and therefore
vary by .
PolySi
2 Channel length
Buried contact 2
Diffusion
6/3/2015 263
Contact Cut
Metal connects to polySi/diffusion by contact cut.
Contact area: 2*2
Metal and polySi or diffusion must overlap this contact area
by so that the two desired conductors encompass the contact
area despite any mis-alignment between conducting layers
and the contact hole
4
6/3/2015 264
Contact Cut
Contact cut – any gate: 2apart
Why? No contact to any part of the gate.
4
2
6/3/2015 265
Contact Cut
2
6/3/2015 266
Rules for CMOS layout
Similar to those for NMOS except No
1. Depletion implant
2. Buried contact
Additional rules
1. Definition of n-well area
2. Threshold implant of two types of transistor
3. Definition of source and drains regions for the
NMOS and PMOS.
6/3/2015 267
Rules for CMOS layout
Why?
Avoids overlap n+ n-well
6
of the associated
regions
6/3/2015 268
Rules for CMOS layout
2
6/3/2015 269
Rules for CMOS layout
2
The threshold implant
mask covers all n-well
2
and surrounds the n-well
by
6/3/2015 270
Rules for CMOS layout
The p+ diffusion mask
defines the areas to
2
receive a p+ diffusion.
It is coincident with the
threshold mask 2
surrounding the PMOS
transistor but excludes
the n-well region to be
connected to the supply.
6/3/2015 271
Rules for CMOS layout
A p+ diffusion is required to effect the ground connection
to the substrate. Thus mask also defines this substrate
region. It surrounds the conducting material of this
contact by .
4
6/3/2015 272
Rules for CMOS layout
6/3/2015 273
UNIT-IV
GATE LEVEL DESIGN
Topics
• Logic gates and other complex gates
• Switch logic
• Alternate gate circuits
• Time delays
• Driving large capacitive loads
• Wiring capacitances
• Fan-in and fan-out, Choice of layers
6/3/2015 274
NMOS Gate construction
•NMOS devices in series implement a NAND function
A•B A B F
A 0 0 1
0 1 1
B
1 0 1
1 1 0
1 0 0
1 1 0
6/3/2015 275
PMOS Gate construction
•PMOS devices in parallel implement a NAND function
A B F
0 0 1
A B
0 1 1
1 0 1
A•B 1 1 0
0 0 1
B
0 1 0
A
1 0 0
6/3/2015
A+B 1 1 0
276
Parasitics and Performance
• Consider the
following layout:
• What is the impact a
on performance of
parasitics b
c
– At point a (VDD rail)?
– At point b (input)?
– At Point c (output)?
6/3/2015 277
Parasitics and Performance
• a - power supply
connections
– capacitance - no a
effect on delay
– resistance - increases
b
delay (see p. 135) c
• minimize by reducing
difffusion length
• minimize using
parallel vias
6/3/2015 278
Parasitics and Performance
• b - gate input
– capacitance
increases delay on a
previous stage (often
transistor gates
b
dominate) c
– resistance increases
delay on previous
stage
6/3/2015 279
Parasitics and Performance
• c - gate output
– resistance, capacitance
increase delay
– Resistance & capacitance a
"near" to output causes
additional delay
b
c
6/3/2015 280
Driving Large Loads
• Off-chip loads, long wires, etc. have high capacitance
• Increasing transistor size increases driving ability
(and speed), but in turn increases gate capacitance
• Solution: stages of progressively larger transistors
– Use nopt = ln(Cbig/Cg).
– Scale by a factor of a=e
6/3/2015 281
Summary: Static CMOS
• Advantages
– High Noise Margins (VOH=VDD, VOL=Gnd)
– No static power consumption (except for leakage)
– Comparable rise and fall times (with proper sizing)
– Robust and easy to use
• Disadvantages
– Large transistor counts (2N transistors for N inputs)
• Larger area
• More parasitic loading (2 transistor gates on each input)
– Pullup issues
• Lower driving capability of P transistors
• Series connections especially problematic
• Sizing helps, but increases loading on gate inputs
6/3/2015 282
Alternatives to Static CMOS
• Switch Logic
• nmos
• Pseudo-nmos
• Dynamic Logic
• Low-Power Gates
6/3/2015 283
Switch Logic
• Key idea: use transistors as switches
• Concern: switches are bidirectional
A B
AND
OR
6/3/2015 284
Switch Logic - Pass Transistors
• Use n-t a sisto as s it hes
IN: OUT:
• Th eshold p o le VDD VDD-Vtn
6/3/2015 285
Switch Logic - Transmission Gates
• Complementary transistors - n and p
• No threshold problem
• Cost: extra transistor, extra control input
• Not a perfect conductor!
A’
A’
A
A
6/3/2015 286
Switch Logic Example - 2-1 MUX
IN
6/3/2015 287
Charge Sharing
• Consider transmission gates in series
– Each node has parasitic capacitances
– Problems occur when inputs change to
redistribute charge
– Solution: design network so there is always a path
from VDD or Gnd to output
6/3/2015 288
Aside: Transmission Gates in Analog
• Transmission Gates
work with analog values, too!
• Example:
Voltage-Scaling D/A Converter
6/3/2015 289
NMOS Logic
• Used before CMOS was widely
available
• Uses only n transistors
– Normal n transistors in pull- Passive Pullup Device:
down network depletion Mode
n-transistor (Vt < 0)
– depletion-mode n transistor
(Vt < 0) used for pull-up OUT
6/3/2015 290
Pseudo-nmos Logic
• Same idea, as nmos, but use p-
transistor for pullup
• "ratioed logic" required for
proper design (more about Passive Pullup Device:
this next) P-Transistor
• Tradeoffs: OUT
– Fewer transistors -> smaller Pulldown
gates, esp. for large number Network
of inputs
– less capacitative load on gates
that drive inputs
– larger power consumption
– less noise margin (VOL > 0)
– additional design
considerations due to ratioed
logic
6/3/2015 291
Rationed Logic for Pseudo-nmos
• Approach:
– Assume VOUT=VOL =0.25*VDD
– Assume 1 pulldown transistor is on
Idp OUT
– Equate currents in p, n transistors Pulldown
Network
– Solve for ratio between sizes of p, n Idn
transistors to get these conditions
– Further calculations necessary for
series connections
I dn I pn
1 Wn 2 1 Wp 2
k' n Vgs,n Vtn k' p 2 Vgs,p Vtp Vds,p Vds,p (EQ 3 21)
2 Ln 2 Lp
Wp
Lp
3.9 (EQ 3 22) Assu min g VDD 3.3V
Wn
Ln
6/3/2015 292
DCVS Logic
• DCVS - Differential
Cascode Voltage Switch
• Differential inputs, outputs
• Two pulldown networks
• Tradeoffs
– Lower capacitative loading OUT OUT’
than static CMOS A A’
OUT’
– No ratioed logic needed B
OUT
Pulldown Pulldown B’
consumption
– More transistors
– More signals to route
between gates
6/3/2015 293
Dynamic Logic
• Key idea: Two-step operation
– precharge - charge CS to logic high
Precharge Evaluate Precharge
6/3/2015 294
Domino Logic
• Key idea: dynamic gate + inverter
• Cascaded gates - o oto i all i easi g
CS
Pulldown
Network
B
C
in4
x1
x2
x3
6/3/2015 295
Domino Logic Tradeoffs
• Fewer transistors -> smaller gates
• Lower power consumption than pseudo-nmos
• Clocking required
• Logic not complete (AND, OR, but no NOT)
6/3/2015 296
More Techniques for Saving Power
• Reduce VDD (tradeoff: delay)
• Multiple Power Supplies
– High VDD fo fast logi
– Lo VDD fo slo logi
• Dealing with leakage currents
– Multiple-Threshold CMOS (MTCMOS)
– Variable-Threshold CMOS (VTCMOS)
6/3/2015 297
UNIT V
DATAPATH SUBSYSTEMS
Topics
• Sub system design,
• Shifters,
• Adders,
• ALUs,
• Multipliers,
• Parity generators,
• Comparators,
• Zero/One detectors,
• Counters.
6/3/2015 298
s & s Dete to s
• s dete to : N-input AND gate
• s dete to : NOTs + s dete to N-input
NOR)
A7 A3
A6 A2
A5 allzeros
A4 A1
allones A0
A3
A2
A1
A0
A7
A6
A5
A4
A3 allones
A2
6/3/2015 A1
299
A0
Comparators
• s dete to : A= …
• s dete to : A= …
• Equality comparator: A=B
• Magnitude comparator: A<B
6/3/2015 300
Equality Comparator
• Check if each bit is equal (XNOR, aka equality
gate)
• s dete t o it ise e ualit
B[3]
A[3]
B[2]
A[2] A=B
B[1]
A[1]
B[0]
A[0]
6/3/2015 301
Magnitude Comparator
• Compute B – A and look at sign
• B – A = B + ~A + 1
• For unsigned numbers, carry out is sign bit
A B
C
B3
N A B
A3
B2
A2 Z
A=B
B1
A1
B0
A0
6/3/2015 302
Signed vs. Unsigned
• For signed numbers, comparison is harder
– C: carry out
– Z: zero (all bits of B – A are 0)
– N: negative (MSB of result)
– V: overflow (inputs had different signs, output sign
B)
– S: N xor V (sign of result)
–
6/3/2015 303
Shifters
• Logical Shift:
– “hifts u e left o ight a d fills ith s
• 1011 LSR 1 = 0101 1011 LSL1 = 0110
• Arithmetic Shift:
– Shifts number left or right. Rt shift sign extends
• 1011 ASR1 = 1101 1011 ASL1 = 0110
• Rotate:
– Shifts number left or right and fills with lost bits
• 1011 ROR1 = 1101 1011 ROL1 = 0111
6/3/2015 304
Adders
• Single-bit Addition
• Carry-Ripple Adder
• Carry-Skip Adder
• Carry-Look ahead Adder
• Carry-Select Adder
• Carry-Increment Adder
• Tree Adder
6/3/2015 305
Barrel Shifter
• Barrel shifters perform right rotations using
wrap-around wires.
• Left rotations are right rotations by N – k = k +
1 bits.
• Shifts are rotations with the end bits masked
off.
6/3/2015 306
Single-Bit Addition
A B A B
• Half Adder
S A B C
Full Adder
S A B C C C
out out
6/3/2015 307
PGK
• For a full adder, define what happens to
carries
• (in terms of A and B)
– Generate: Cout = 1 independent of C
• G=A•B
– Propagate: Cout = C
• P=AB
– Kill: Cout = 0 independent of C
• K = ~A • ~B
6/3/2015 308
Full Adder Design I
• Brute force implementation from eqns
S A B C
Cout MAJ ( A, B, C )
A A B B C C
A A
B B
A
B S B
C C C
A B B
S
A C C C A
MAJ
B Cout
Cout
C B
B B C A
A B B
A A
6/3/2015 309
Full Adder Design II
• Factor S in terms of Cout
• S = ABC + (A + B + C)(~Cout)
• Critical
A
path is usually
MINORITY
C to Cout in ripple
adderB
C
• C
out S
S
Cout
6/3/2015 310
Layout
• Clever layout circumvents usual line of
diffusion
– Use wide transistors on critical path
– Eliminate output inverters
6/3/2015 311
Full Adder Design III
• Complementary Pass Transistor Logic (CPL)
– Slightly faster, but more area B
B C B C
A
B C B C
S Cout
A
B C B C
A
B C B C
S Cout
B
A
6/3/2015 312
Full Adder Design IV
• Dual-rail domino
– Very fast, but large and power hungry
– Used in
very fast multipliers
Cout _h Cout _l
C_h A_h C_l A_l
A_h B_h B_h A_l B_l B_l
S_l S_h
C_l
C_h C_h
B_l
B_h B_h
A_h A_l
6/3/2015 313
Carry Propagate Adders
• N-bit adder called CPA
– Each sum bit depends on all previous carries
– How do we compute all these carries quickly?
AN...1 BN...1
Cout Cin Cout Cin
00000 11111 carries
Cout Cin
+ 1111 1111 A4...1
+0000 +0000 B4...1
SN...1 1111 0000 S4...1
6/3/2015 314
Carry-Ripple Adder
• Simplest design: cascade full adders
– Critical path goes from Cin to Cout
– Design full adder to have fast carry delay
A4 B4 A3 B3 A2 B2 A1 B1
Cout Cin
C3 C2 C1
S4 S3 S2 S1
6/3/2015 315
Inversions
• Critical path passes through majority gate
– Built from minority + inverter
– Eliminate inverter and use inverting full adder
A4 B4 A3 B3 A2 B2 A1 B1
Cout Cin
C3 C2 C1
S4 S3 S2 S1
6/3/2015 316
Generate / Propagate
• Equations often factored into G and P
• Generate and propagate for groups spanning i:j
Gi: j Gi:k Pi:k Gk 1: j
Pi: j Pi:k Pk 1: j 0 GCP
0:00:0 in
• Base case
Gi:i Gi Ai Bi G0:0 G0 Cin
Pi:i Pi Ai Bi P0:0 P0 0
• Sum:
Si Pi Gi 1:0
6/3/2015 317
PG Logic
A4 B4 A3 B3 A2 B2 A1 B1 Cin
1: Bitwise PG logic
G4 P4 G3 P3 G2 P2 G1 P1 G0 P0
2: Group PG logic
C3 C2 C1 C0
3: Sum logic
C4
Cout S4 S3 S2 S1
6/3/2015 318
Carry-Ripple Revisited
Gi:0 Gi Pi Gi 1:0
A4 B4 A3 B3 A2 B2 A1 B1 Cin
G4 P4 G3 P3 G2 P2 G1 P1 G0 P0
C3 C2 C1 C0
C4
Cout S4 S3 S2 S1
6/3/2015 319
Carry-Skip Adder
• Carry-ripple is slow through all N stages
• Carry-skip allows carry to skip over groups of n
bits
– Decision
A B
based on
16:13
A
n-bit
B
16:13
propagate
A B
signal A
12:9 12:9 8:5 8:5 4:1
B4:1
6/3/2015 320
Carry-Lookahead Adder
• Carry-lookahead adder computes Gi:0 for
many bits in parallel.
• Uses higher-valency cells with more than two
inputs. A16:13 B16:13 A12:9 B12:9 A8:5 B8:5 A4:1 B4:1
+ + + + Cin
6/3/2015 321
Carry-Select Adder
• Trick for critical paths dependent on late input
X
– Precompute two possible outputs for X = 0, 1
– Select proper output when X arrives
• Carry-select adder precomputes n-bit sums
A16:13 B16:13 A12:9 B12:9 A8:5 B8:5 A4:1 B4:1
Cout C12 C8 C4
1 1 1 Cin
+ + + +
1
1
0
0
S16:13 S12:9 S8:5 S4:1
6/3/2015 322
Tree Adder
• If lookahead is good, lookahead across
lookahead!
– Recursive lookahead gives O(log N) delay
• Many variations on tree adders
6/3/2015 323
Tree Adder Taxonomy
• Ideal N-bit tree adder would have
– L = log N logic levels
– Fanout never exceeding 2
– No more than one wiring track between levels
• Describe adder with 3-D taxonomy (l, f, t)
– Logic levels: L+l
– Fanout: 2f + 1
– Wiring tracks: 2t
• Known tree adders sit on plane defined by
• l + f + t = L-1
6/3/2015 324
Summary
Adder architectures offer area / power / delay tradeoffs.
Choose the best one for your application.
Architecture Classification Logic Max Tracks Cells
Levels Fanout
Carry-Ripple N-1 1 1 N
Carry-Skip n=4 N/4 + 5 2 1 1.25N
Carry-Inc. n=4 N/4 + 2 4 1 2N
Brent-Kung (L-1, 0, 0) 2log2N – 1 2 1 2N
Sklansky (0, L-1, 0) log2N N/2 + 1 1 0.5 Nlog2N
Kogge-Stone (0, 0, L-1) log2N 2 N/2 Nlog2N
6/3/2015 325
Multi-input Adders
• Suppose we want to add k N-bit words
– Ex: 0001 + 0111 + 1101 + 0010 = 10111
• Straightforward solution: k-1 N-input CPAs
– Large and slow
0001 0111 1101 0010
+
1000
+
10101
+
10111
6/3/2015 326
Carry Save Addition
• A full adder sums 3 inputs and produces 2
outputs
– Carry output has twice weight of sum output
• N full adders in parallel are called carry save
adder
X4 Y4 Z4 X3 Y3 Z3 X2 Y2 Z2 X1 Y 1 Z1
– Produce N sums and N carry outs
C4 S4 C3 S3 C2 S2 C1 S1
XN...1 YN...1 ZN...1
n-bit CSA
6/3/2015 328
Multiplication
• Example: 1100 : 1210 multiplicand
0101 : 510 multiplier
1100
0000 partial
1100 products
0000
00111100 : 6010 product
• M x N-bit multiplication
– Produce N M-bit partial products
– Sum these to produce M+N-bit product
6/3/2015 329
General Form
• Multiplicand: Y = (yM-1, yM- , …, ,
• Multiplier: X = (xN-1, xN- , …, ,
M 1 N 1
N 1 M 1
P y j 2 j xi 2i xi y j 2i j
j 0 i 0 i 0 j 0
• Product: y5 y4 y3 y2 y1 y0 multiplicand
x5 x4 x3 x2 x1 x0 multiplier
x0y5 x0y4 x0y3 x0y2 x0y1 x0y0
x1y5 x1y4 x1y3 x1y2 x1y1 x1y0
x2y5 x2y4 x2y3 x2y2 x2y1 x2y0 partial
x3y5 x3y4 x3y3 x3y2 x3y1 x3y0 products
x4y5 x4y4 x4y3 x4y2 x4y1 x4y0
x5y5 x5y4 x5y3 x5y2 x5y1 x5y0
p11 p10 p9 p8 p7 p6 p5 p4 p3 p2 p1 p0 product
6/3/2015 330
Dot Diagram
• Each dot represents a bit
x0
partial products
multiplier x
x15
6/3/2015 331
Array Multiplier
y3 y2 y1 y0
x0
x1
CSA
Array
x2
x3
CPA
p7 p6 p5 p4 p3 p2 p1 p0
A B
Sin A Cin critical path A B
A B
B Sin
= Cout Cin = Cout Cin
Cout Cin
Sout
Cout Sout Sout
Sout
6/3/2015 332
Rectangular Array
• Squash array to fit rectangular floorplan
y3 y2 y1 y0
x0
p0
x1
p1
x2
p2
x3
p3
p7 p6 p5 p4
6/3/2015 333
Fewer Partial Products
• Array multiplier requires N partial products
• If we looked at groups of r bits, we could form
N/r partial products.
– Faster and smaller?
– Called radix-2r encoding
• Ex: r = 2: look at pairs of bits
– Form partial products of 0, Y, 2Y, 3Y
– First three are easy, but 3Y requires adder
6/3/2015 334
Booth Encoding
• Instead of 3Y, try –Y, then increment next
partial product to add 4Y
• Similarly, for 2Y, try –2Y + 4Y in next partial
product
6/3/2015 335
Booth Hardware
• Booth encoder generates control lines for
each PP
– Booth selectors choose PP bits
6/3/2015 336
Advanced Multiplication
• Signed vs. unsigned inputs
• Higher radix Booth encoding
• Array vs. tree CSA networks
6/3/2015 337
Unit VI
Array Sub Systems
Topics:
SRAM
DRAM
ROM
Serial Access Memories
Content Addressable Memory
6/3/2015 338
Semiconductor Memory Types
Semiconductor Memories
339
Semiconductor Memory Types (Cont.)
Design Issues
» Area Efficiency of Memory Array: of stored data bits per
unit area
» Memory Access Time: the time required to store and/or
retrieve a particular data bit.
» Static and Dynamic Power Consumption
• Requirements
» Easy reading
» Easy Writing
» High density
» Speed, more speed and still more speed
340
Memory Architecture
m words
• k = Log2(m) address input signals …
• or m = 2k words
• e.g., 4,096 x 8 memory:
n bits per word
» 32,768 bits
memory external view
» 12 address input signals
r/w
2k × n read and write
» 8 input/output data signals memory
enabl
Memory access eA0
…
• r/w: selects read or write Ak-1
341
Semiconductor Memory Types (Cont.)
• DRAM
» A capacitor to store data, and a transistor to access the
capacitor
» Need refresh operation
» Low cost, and high density it is used for main memory
• SRAM
» Consists of a latch
» Don’t need the refresh operation
» High speed and low power consumption it is mainly used for
cache memory and memory in hand-held devices
342
RAM: “Random-access” memory
External view
Typically volatile memory r/w 2k × n read and write
enable memory
• bits are not held without power supply
A0
Read and written to easily by microprocessor
A
…
k-1
during execution …
Q3 Q2 Q1 Q0
343
Memory Chip Configuration
Row Address
M
N bits 2 Cells
Row Dec
Cell
WL N
2 Cells
I/O Interface
DL
Din
din
I/O Control
Dout dout
Column Dec.
Control
Signals
Column Address
M Bits
344
Static Random Access Memory (SRAM)
• SRAM: Thebitstored
line C data can be retained indefinitely,
bit line C without any
need for a periodic refresh operation.
pass transistors to
activated by a row select Basic cross-coupled 2-inverter
(RS) signal to enable latch with 2 stable op points for
read/write operators storing one-bit
346
6T-SRAM
VDD
VDD
Depletion-Load
SRAM Cell
word line word line
347
SRAM Operation Principles
word line
RS
348
SRAM Operation Principles (Cont.)
Pull-up transistor (one per column)
VDD VDD
VDD
MP1 MP2
word line
RS
349
SRAM Operation Principles (Cont.)
Pull-up transistor (one per column)
VDD VDD
VDD
MP1 MP2
CC M1 M2 CC
word line
RS
350
SRAM Operation Principles (Cont.)
Pull-up transistor (one per column)
VDD VDD
VDD
MP1 MP2
CC M1 M2 CC
word line
RS
• Write “0” Operation (V1=VOH, V2=VOL at t=0-):
• VC VOL by the data-write circuitry.
• Since V1 VOL, M2 turns off, therefore V2 VOH.
351
SRAM Operation Principles (Cont.)
Pull-up transistor (one per column)
VDD VDD
VDD
MP1 MP2
CC M1 M2 CC
word line
RS
• Read “0” Operation (V1=VOL, V2=VOH at t=0-):
• VC retains pre-charge level, while VC VOL by M1 ON.
• Data-read circuitry detects small voltage difference VC – VC < 0, and
amplifies it as a “0” data output.
352
SRAM Operation Principles (Cont.)
CC M1 M2 CC
word line
RS
353
SRAM Operation Principles (Cont.)
CC M1 M2 CC
word line
RS
word line
RS
Advantages
• Very low standby power consumption
• Large noise margins than R-load SRAMS
• Operate at lower supply voltages than R-load SRAMS
Disadvantages
• Larger die area: To accommodate the n-well for pMOS transistors
and polysilicon contacts. The area has been reduced by using multi-
layer polysilicon and multi-layer metal processes
• CMOS more complex process
355
Dynamic Read-Write Memory (DRAM) Circuits
• SRAM: 4~6 transistors per bit
4~5 lines connecting as charge on capacitor
• DRAM: Data bit is stored as charge on capacitor
Reduced die area
Require periodic refresh
WL
M1 M2
M3 M4
parasitic storage
BL BL
capacitances
Four-Transistor DRAM Cell
356
DRAM Circuits (Cont.)
WL(read)
X M2
M1 M3
parasitic storage
WL(write) capacitances
BL(write) BL(read)
RWL
M3
M2
WWL
M1
358
One-Transistor DRAM Cell
WL
M1 explicit storage
capacitances
BL
359
Operation of Three-Transistor DRAM Cell
VDD
M3
M1 M2
C2 C3
C1
WS
Data_in Data_out
DATA C2, C3 >> C1(>10C1)
M3 DATA
M1 M2
C2 C3
Din
C1
WS Stored data
Data_in Data_out RS
DATA
Dout
361
Operation of Three-Transistor DRAM Cell (Cont.)
VDD
M3
M1 M2
C2 C3
C1
WS
Data_in Data_out
DATA
RS
M3
M1 M2
C2 C3
C1
WS
Data_in Data_out
DATA
RS
M3
M1 M2
C2 C3
C1
WS
Data_out
Data_in
DATA
364
Operation of Three-Transistor DRAM Cell (Cont.)
RS
M3
M1 M2
C2 C3
C1
WS
Data_in Data_out
DATA
M1
Column C2 C1
capacitance
BL
1-bit DRAM Cell
C2>>C1
366
RAM
DRAM SRAM
VDD
WL
WL
WL
DL
DL
DL
367
Semiconductor Memory Types (Cont.)
ROM: 1, nonvolatile memories
2, only can access data, cannot to modify data
3, lower cost: used for permanent memory in printers,
fax, and game machines, and ID cards
• Mask ROM: data are written during chip fabrication by a photo mask
• PROM: data are written electrically after the chip is fabricated.
» Fuse ROM: data cannot be erased and modified.
» EPROM and EEPROM: data can be rewritten, but the number of
subsequent re-write operations is limited to 104-105.
• EPROM uses ultraviolet rays which can penetrate through the crystal
glass on package to erase whole data simultaneously.
• EEPROM uses high electrical voltage to erase data in 8 bit units.
• Flash Memory: similar to EEPROM
368
ROM: “Read-Only” Memory
Nonvolatile
Can be read from but not written to, by a
processor in an microcomputer system External view
…
Uses A k-1
369
Example: 8 x 4 ROM
lines Q2 and Q0
Output is 1010
370
Memory – ROM
Nonvolatile Memory
- SRAM and DRAM and attractive due to their speed
- however, they are volatile which means when the power is removed, the data
is lost
- before looking at the details of a Flash transistor, let’s first look at the
different types of ROM arrays and addressing modes
371
Memory – ROM
ROM Arrays
- There are two basic types of ROM arrays
1) NOR-based ROM
2) NAND-based ROM
NOR-based ROM
- All Column Lines are pulled-up using a PMOS transistor (or resistor)
- The Row Lines are connected to the gates of NMOS transistors at the intersection of
Row and Column Lines
- If the NMOS transistor is present, it will pull down the Column Line when its gate is
driven high by the Row Line
- If the NMOS transistor is absent, the Column Line will not be pulled down, so it will
remain pulled up by the PMOS’s
372
Memory – ROM
NOR-based ROM
- In order to Read from the array, the Row line is asserted and the desired Column line is observed
373
Memory – ROM
NAND-based ROM
- NAND-based ROM is a different array architecture
NAND-based ROM
- In this configuration, if an NMOS is present, it will
represent a “stored 1” since in order to address its
location, the Row line is driven to a ‘0’ and the NMOS
not turned on. This leaves the Column line pulled HIGH
NOR NAND
NMOS present 0 1
NMOS absent 1 0
NOR NAND
Address Row Line by driving: 1 0
All other Row Lines driven to: 0 1
375
Mask-programmed ROM
376
OTP ROM: One-time programmable ROM
377
EPROM: Erasable programmable ROM
378
Sample EPROM components
379
Sample EPROM programmers
380
EEPROM: Electrically erasable programmable
ROM
Extension of EEPROM
• Same floating gate principle
• Same write ability and storage permanence
Fast erase
• Large blocks of memory erased at once, rather than one word at a time
• Blocks typically several thousand bytes large
Writes to single words may be slower
• Entire block must be read, word updated, then entire block written back
Used with embedded microcomputer systems storing large data
items in nonvolatile memory
• e.g., digital cameras, MP3, cell phones
382
Serial Access Memories
383
384
385
386
387
FIFOs are commonly used in electronic circuits for buffering and flow
control which is from hardware to software.
In its hardware form, a FIFO primarily consists of a set of read and write
pointers, storage and control logic.
Storage may be SRAM, flip-flops, latches or any other suitable form of
storage. For FIFOs of non-trivial size, a dual-port SRAM is usually used,
where one port is dedicated to writing and the other to reading.
A synchronous FIFO is a FIFO where the same clock is used for both
reading and writing. An asynchronous FIFO uses different clocks for
reading and writing.
FIFO full/empty
A hardware FIFO is used for synchronization purposes. It is often
implemented as a circular queue, and thus has two pointers:
Read Pointer/Read Address Register
Write Pointer/Write Address Register
388
389
390
Content Addressable Memories
What is CAM?
00 1 0 1 X X
Content Addressable Memory 01 0 1 1 0 X
0 1 1 0 X
is a special kind of memory! 10 0 1 1 X X
1 0 0 1 1
11
11
0 1 1 X X
1 0 0 1 1
Input is associated with something
stored in the memory. 0 1 1 0 1
392
CAM for Routing Table Implementation
Source: http://pagiamtzis.com/cam/camintro.html
393
Simplified CAM Block Diagram
The input to the system is the search word.
The search word is broadcast on the search lines.
Match line indicates if there were a match btw. the search and stored word.
Encoder specifies the match location.
If multiple matches, a priority encoder selects the first match.
Hit signal specifies if there is no match.
The length of the search word is long ranging from 36 to 144 bits.
Table size ranges: a few hundred to 32K.
Address space : 7 to 15 bits.
394
CAM Memory Size
Largest available
around 18 Mbit (single
chip).
395
Exponential growth rate
CAM Basics
The search-data word is loaded
into the search-data register.
All match-lines are pre-
charged to high (temporary
match state).
Search line drivers broadcast
the search word onto the
differential search lines.
Each CAM core compares its
stored bit against the bit on the
corresponding search-lines.
Match words that have at least
Source: K. Pagiamtzis, A. Sheikholeslami, “Content-Addressable
one missing bit, discharge to Memory (CAM) Circuits and Architectures: A Tutorial and
Survey,” IEEE J. of Solid-state circuits. March 2006
396
ground.
Type of CAMs
CAM can be cascaded to increase the size of lookup tables that they
can store.
We can add new entries into their table to learn what they don’t know
before.
398
CAM Disadvantages
399
Unit VII
SEMICONDUCTOR INTEGRATED CIRCUIT
DESIGN
Programmable
Logic Array (PLA)
Programmable
Array Logic(PAL)
Programmable logic
FPGAs devices (PLD)
CPLDs
Standard cells
Design Approach
Parameters influencing low power design
400
401
PLD
Programmable logic is defined as a device with configurable
logic and flip-flops linked together with programmable
interconnect.
Why we are going for PLDs
Problems by Using Basic Gates
Many components on PCB:
• As no. of components rise, nodes interconnection complexity grow
exponentially
• Growth in interconnection will cause increase in interference, PCB size, PCB
design cost, and manufacturing time
402
403
404
PROGRAMMABLE LOGIC DEVICES (PLD)
405
PLD Hierarchical Architecture
PLD
The purpose of a PLD device is to permit elaborate digital logic
designs to be implemented by the user in a single device.
406
General structure of PLDs.
407
PLD
408
PLD
The differences between the first three categories
are these:
• 1. In a ROM, the input connection matrix is hardwired.
The user can modify the output connection matrix.
• In a PAL/GAL the output connection matrix is
hardwired. The user can modify the input connection
matrix.
• In a PLA the user can modify both the input connection
matrix and the output connection matrix.
409
Programming by blowing fuses.
410
OR - PLD Notation
411
AND - PLD Notation
412
413
PLA
414
PLA
416
417
Design for PLA:
Example
• Implement the following functions using PLA
F0 = A + B' C'
F1 = A C' + A B Input Side:
F2 = B' C' + A B
F3 = B' C + A 1 = asserted in term
0 = negated in term
- = does not participate
Personality Matrix
Product Inputs Outputs
term A B C F0 F1 F2 F3 Output Side:
AB 1 1 - 0 1 1 0 1 = term connected to output
Reuse 0 = no connection to output
BC - 0 1 0 0 0 1
AC 1 - 0 0 1 0 0 of
terms
BC - 0 0 1 0 1 0
A 1 - - 1 0 0 1
418
Example: Continued
A B C
F0 = A + B' C' AB
F1 = A C' + A B
F2 = B' C' + A B B’C
F3 = B' C + A
AC’
B’C’
Personality Matrix A
419
BCD to Gray Code Converter
A B C D W X Y Z A A
0 0 0 0 0 0 0 0 AB AB
0 0 0 1 0 0 0 1 CD 00 01 11 10 CD 00 01 11 10
0 0 1 0 0 0 1 1 00 0 0 X 1 00 0 1 X 0
0 0 1 1 0 0 1 0
0 1 0 0 0 1 1 0
01 0 1 X 1 01 0 1 X 0
0 1 0 1 1 1 1 0
0 1 1 0 1 0 1 0 D D
0 1 1 1 1 0 1 1 11 0 1 X X 11 0 0 X X
1 0 0 0 1 0 0 1 C C
1 0 0 1 1 0 0 0 10 0 1 X X 10 0 0 X X
1 0 1 0 X X X X
1 0 1 1 X X X X B B
1 1 0 0 X X X X
K-map for W K-map for X
1 1 0 1 X X X X
1 1 1 0 X X X X
1 1 1 1 X X X X A A
AB AB
CD 00 01 11 10 CD 00 01 11 10
00 0 1 X 0 00 0 0 X 1
Minimized Functions: 01 0 1 X 0 01 1 0 X 0
D D
11 1 1 X X 11 0 1 X X
W=A+BD+BC C C
X = B C' 10 1 1 X X 10 1 0 X X
Y=B+C
Z = A'B'C'D + B C D + A D' + B' C D' B B
K-map for Y K-map for Z
420
A B C D
A
BD
BC’
B
PLA achieves higher flexibility
C
at the cost of lower speed!
BCD
AD’
BCD’
421 W X Y Z
422
423
424
PALs
Programmable Array Logic
• a fixed OR array.
Inputs
Outputs
42
5
A simple four-input, three-output PAL device.
426
An example of using a PAL device to realize two
Boolean functions. (a) Karnaugh maps. (b) Realization.
427
PAL
x
x
W = ABC + CD
X = ABC + ACD + ACD + BCD
Y = ACD + ACD + ABD
428
FPGA AND CPLD
429
What is an FPGA?
Before the advent of programmable logic, custom logic circuits were
built at the board level using standard components, or at the gate
level in expensive application-specific (custom) integrated circuits.
430
What does a logic cell do?
The logic cell architecture varies between different device families.
Each logic cell combines a few binary inputs (typically between 3 and
10) to one or two outputs according to a Boolean logic function
specified in the user program .
In most families, the user also has the option of registering the
combinatorial output of the cell, so that clocked logic can be easily
implemented.
LUT devices tend to be a bit more flexible and provide more inputs
per cell than multiplexer cells at the expense of propagation delay.
431
What does 'Field Programmable' mean?
Field Programmable means that the FPGA's function is defined by a
user's program rather than by the manufacturer of the device.
432
How are FPGA programs created?
Individually defining the many switch connections and cell logic
functions would be a daunting task.
433
FPGA
FPGA applications:-
i. DSP
ii. Software-defined radio
iii. Aerospace
iv. Defense system
v. ASIC Prototyping
vi. Medical Imaging
vii. Computer vision
viii. Speech Recognition
ix. Cryptography
x. Bioinformatic
xi. And others.
434
Xilinx Spartan-3E Starter Kit
FPGA
buttons LEDs
switches
435
FPGA Principles
436
FPGA structure
CLB SB CLB
SB SB SB
Interconnection Network
437
Simplified CLB Structure
Look-Up MUX
SET
Table D Q
(LUT)
CLR Q
CLB SB CLB
SB SB SB
Interconnection Network
6/3/2015 438
A
Example: 4-input AND gate
B
O
C
D
A B C D O
0 0 0 0 0
0 0 0 1 0 0
0
0 0 1 0 0 0
A 0
MUX O
0 0 1 1 0 0
0 SET
0 1 0 0 0 B 0 D Q
0
0 1 0 1 0 0
C 0
0
0 1 1 0 0 0 CLR Q
0 1 1 1 0 D 0
0 0
0
1 0 0 0 0 1
1 0 0 1 0
1 0 1 0 0 Configuration bits
1 0 1 1 0
1 1 0 0 0
1 1 0 1 0
1 1 1 0 0
6/3/2015 439
1 1 1 1 1
Example 2: Find the configuration
bits for the following circuit
A0
2-to-1 SET
MUX
D Q
A1
CLR Q
S A0 MUX
Clock SET
A1 D Q
A0 A1 S
S
0 0 0
CLR Q
0 0 1
0 1 0
0 1 1
1 0 0
Configuration bits
1 0 1
1 1 0
6/3/2015 440
1 1 1
Interconnection Network
Configuration
bits 0 1
0
CLB SB CLB 0
0 0
SB SB SB
Interconnection Network
Input2
CLB0 SB0 CLB1
Input1 D
SET
Q
Input2 Output
Q
Input3 CLR
Input3
CLB2 SB4 CLB3 Output
6/3/2015 442
CLBs required
CLB 1 CLB 2
Input1 D
SET
Q
Input2 Output
CLR Q
Input3
0
0
MUX O MUX Output
SET
0 D Q D
SET
Q
Input1 O 1
Input2 0 Input3 1
CLR Q CLR Q
1 0
1 0
6/3/2015 443
Placement: Select CLBs
Input1
Input2
CLB0 SB0 CLB1
Input3
CLB2 SB4 CLB3 Output
444
Routing: Select path
Input1
SB1
Configuration bits
Input2
CLB0 SB0 CLB1
0 0
0
1
0 0
SB1 SB2 SB3
SB4
Configuration bits
Input3
CLB2 SB4 CLB3 Output
0 0
1
0
0 0
445
Configuration Bitstream
446
FPGA Advantages
447
FPGA EDA Tools
448
Design of approach of IC
449
450
Silicon Wafers: Basic unit
• Silicon Wafers Basic processing unit
• 150, 200, 300 mm disk, 0.5 mm thick
• Newest ones 300 mm (12 inches)
• Typical process 25 - 1000 wafers/run
• Each wafer: 100 - 1000's of microchips (die)
• Wafer cost $10 - $100's
• 200 mm wafer weight 0.040 Kg
• Typical processing costs $1200/wafer (200
mm)
• Typical processed wafer value $11,000
(all products, modest yield)
• Value/Mass of processed wafer $275,000/Kg
451
CPLD
1. Complexity of CPLD is between FPGA and PLD.
2. CPLD featured in common PLD:-
i. Non-volatile configuration memory – does not need an external
configuration PROM.
ii. Routing constraints. Not for large and deeply layered logic.
454
Using a PROM for logic design
• CMOS Testing
• Need for testing
• Test principles
• Design strategies for test
• Chip level test techniques
• System-level test techniques
• Layout design for improved testability
456
Need for Testing
457
Logic Verification
458
Silicon Debug
459
Manufacturing Test
460
Manufacturing Failures
461
Stuck-At Faults
462
Examples
463
Observability & Controllability
464
Test Pattern Generation
465
Test Example
» SA1 SA0
A3 {0110} {1110}
A
A
3
n1
2
Y
A2 {1010} {1110} n2 n3
A 1
A1 {0100} {0110}
A 0
A0 {0110} {0111}
n1 {1110} {0110}
n2 {0110} {0100}
n3 {0101} {0110}
Y {0110} {1110}
467
Scan
Flop
Normal mode: flip-flops behave as usualSID Q
Contents of flops
Flop
Flop
Flop
can be scanned Flop
Flop
Flop
Logic Logic
inputs Cloud Cloud outputs
Flop
Flop
values scanned
Flop
Flop
Flop
in scanout
468
Scannable Flip-flops
SCAN
SCAN CLK Q
D
D 0 X
Flop
Q Q
SI 1 SI
(a)
(b)
d
D
Q
d
SCAN
d X
Q
s
s
SI
(c)
s
469
ATPG
470
Built-in Self-test
471
PRSG
Step Y
CLK Y 0 111
Q[0] Q[1] Q[2]
Flop
Flop
Flop
D D D
1 110
2 101
3 010
Flops reset to 111 4 100
5 001
6 011
7 111 (repeats)
472
BILBO
C[0]
C[1]
Q[2] / SO
Flop
Flop
Flop
SI 1
0 Q[0]
Q[1]
473
Boundary Scan
474
Boundary Scan Example
PackageInterconnect
CHIP B CHIP C
CHIP A CHIP D
Serial Data In
475
Boundary Scan Interface
476
Summary
477