Done
Done
Introduction
1. Introduction
2. MOS Transistors
3. CMOS Logic Gates
4. IC Design Flow
1: Introduction
1. Introduction
Integrated circuits (IC): many transistors on one chip.
Very Large Scale Integration (VLSI): bucket loads!
Complementary Metal Oxide Semiconductor (CMOS)
– Fast, cheap, low power transistors
Today: How to build your own simple CMOS chip
– CMOS transistors
– Building logic gates from transistors
– Transistor layout and fabrication
Rest of the course: How to build a good CMOS chip
[Moore65]
Electronics Magazine
Electronic Components
About one dozen major ICs
Introduction CMOS VLSI Design Slide 5
iPhone 4 Parts Breakdown
Electronic Components
Electronic
Components
https://9to5mac.files.wordpress.com/2014/09/msuctmh4vhqmloo2.jpeg
http://www.nfcworld.com/wp-content/uploads/2014/09/iphone-6-circuit-board.jpg
http://4.bp.blogspot.com/-
QyO7GPfsy6w/VSMHQQHu_uI/AAAAAAAAAjI/XRZBmn2TnvI/s1600/Back.p ng
A8 processor chip
• Dual core 64b ARM
• 2B transistors
• Graphics processor
• 1 GB DRAM chip stacked on top
http://www.ifixit.com/Misc/iphone_processor_crossection.jpg
https://www.chipworks.com/about-
chipworks/overview/blog/inside-iphone-6-and-
iphone-6-plus-part-2
70,000 X Improvement
• 6 transistors
• ~ $200 (in 2010 dollars)
• AM stations only
• Transistors 2300
• Process 10 µ
• Area 83 mm2
• Clock 100 kHz
Introduction CMOS VLSI Design Slide 18
4004 Schematic
http://www.4004.com/assets/4004-lajos-schematics.gif
Introduction CMOS VLSI Design Slide 19
The 8-bit RCA 1802 circa 1975:
The First CMOS Microprocessor
(which went to Jupiter!)
http://www.engr.sjsu.edu/WofMatE/images/intercon.gif
http://www.hitequest.com/Kiss/photolithography.gif
http://s7.computerhistory.org/is/image/CHM/500003094-03-01?$re-inline-artifact$
Transistors 275 K
Process 1µ
Clock 16-33 MHz
32 nm Technology Node
Why?
Wavelengths of Visible Light
370-750 nm
Dimensions are < 370 nm
Introduction CMOS VLSI Slide 29
Design
Intel 7500 Xeon
http://download.intel.com/pressroom/kits/xeon/7500series/images/NHM-EX-Die-
Shot-2.jpg
Introduction CMOS VLSI Design Slide 30
Memory Chips
1k bit DRAM
http://www.eeherald.com/images/nand_cell_array.jpg
https://images.anandtech.com/doci/11749/hc29.22.730-tensorpu-young-google-page-015.jpg
http://3s81si1s5ygj3mzby34dq6qf-wpengine.netdna-ssl.com/wp-content/uploads/2017/05/image004.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/c/c1/Through-
Silicon_Via_Flavours.svg/300px-Through-Silicon_Via_Flavours.svg.png
https://upload.wikimedia.org/wikipedia/en/c/ce/Clock_CPU_Scaling.jpg
Today 103
Dimensions 1/K
Channel Width 1/K
Channel Length 1/K
Gate Oxide Thickness 1/K
Green: Diffusion Gate Capacitance 1/K
Red: Oxide Blue:
Metal Power Voltage 1/K
Substrate Doping K
K = “Scale Factor” from one
Circuit Area } 1/K2
generation to next
Speed
Big Win
K
Moore’s Law Current 1/K
Power
K = √ 2 / 2.5 years Power per Unit Area
1/K2
1
10,000
100
SSI: 10 gates
10
1
MSI: 1000 gates
0 LSI: 10,000 gates
VLSI: > 10k gates
0
1975 1980 1985 1990 1995 2000 2005 2010 2015 2020
10,000
10
Design Rule Generation (nm)
1,000
1
Same circuit is 250 X smaller
20 years later
100
0.1
10
0.01
1970 1980 1990 2000 2010 2020
Year
https://image.slidesharecdn.com/ehudtzuri3dchallanges-new-120529041437-phpapp01/95/the-shift-to-3dic-structures-manufacturing-and-process-control-challenges-12-728.jpg?cb=1338264919
https://www.researchgate.net/profile/Arvind_Singh64/publication/286439699/figure/fig2/AS:389174046806054@14 69797732007/Fig-2-
CNTFET-Structure-Carbon-nanotube-field-effect-transistors-CNTFETs-utilize.jpg
https://www.blogcdn.com/www.engadget.com/media/2007/06/toshiba-3d-nand.jpg
Carbon Nanotube FET
3D Transistor Array
Si Si Si
Si Si Si
Si Si Si
Si Si Si Si Si Si
- +
+ -
Si As Si Si B Si
Si Si Si Si Si Si
p-type n-type
anode cathode
0
n+ n+
S D
p bulk Si
1
n+ n+
S D
p bulk Si
p+ p+
n bulk Si
d d d
nMOS g OFF
ON
s s s
d d d
pMOS g OFF
ON
s s s
Power Supply
3
0 Volt
Gate
Power Supply
Shorthand notation
64
One Level Higher in the Abstraction
Now, we know how a MOS transistor works
How do we build logic structures out of MOS transistors?
Problem
We construct basic logical units out of Algorithm
individual MOS transistors Program/Language
Runtime System
(VM, OS, MM)
These logical units are called logic gates ISA (Architecture)
They implement simple Boolean functions Microarchitecture
Logic
Devices
Electrons
p-type
0V
66
Functionality of Our CMOS Circuit
What happens when the input is connected to 0V?
3V 3V
p-type transistor
pulls the output up
0V Out (Y) Y = 3V
0V 0V
67
Functionality of Our CMOS Circuit
What happens when the input is connected to 3V?
3V 3V
A= 3V Out (Y) Y = 0V
0V 0V
68
CMOS NOT Gate (Inverter)
3V
This is actually the CMOS NOT Gate
Why do we call it NOT? P
If A = 0V then Y = 3V In (A) Out (Y)
If A = 3V then Y = 0V
N
A P N Y
0 ON OFF 1
1 OFF ON 0
69
3. CMOS logic gates
CMOS Inverter
VDD
A Y
0 1 OFF
ON
0
1
1 0 A Y
ON
OFF
A Y
GND
3: CMOS Technology CMOS VLSI Design 4th Ed.
CMOS NAND Gate
A B Y
0 0 1 ON
OFF
OFF
ON OFF
ON
0 1 1
1
Y
0
1 0 1
A ON
OFF
1 1 0 0
1
1
0
B OFF
ON
ON
OFF
In (B) N2
0V
0V
72
CMOS NOT, NAND, AND Gates
A A
A Y Y Y
B B
A Y A B Y A B Y
0 1 0 0 1 0 0 0
1 0 0 1 1 0 1 0
1 0 1 1 0 0
1 1 0 1 1 1
3V
3V 3V 3V
P1 P2 P1 P2 P3
P Out (Y)
Out (Y)
In (A) Out (Y) In (A) N1 In (A) N1 N3
N
In (B) N2 In (B) N2
0V
0V 0V 0V
73
CMOS NOR Gate
A B Y
0 0 1 A
0 1 0
1 0 0 B
1 1 0 Y
Y
A
B
C
module adder(
input logic [7:0] a, b,
input logic c,
output logic [7:0] s,
output logic cout);
❑ Operating modes
V <0 g
silicon dioxide insulator
+
- p-type body
– Accumulation
– Depletion (a)
(b)
Vg > Vt
inversion region
+
- depletion region
(c)
– Vgs = Vg – Vs Vgs
+ +
Vgd
– Vgd = Vg – Vd - -
Vgs = 0 Vgd
+ g +
- -
s d
n+ n+
p-type body
b
Vgs > Vt
Vgs > Vgd > Vt
+ g +
- - Ids
s d
n+ n+
0 < Vds < Vgs-Vt
p-type body
b
Vgs > Vt
g Vgd < Vt
+ +
- -
s d Ids
n+ n+
Vds > Vgs-Vt
p-type body
b
I ds = Vgs − Vt −
Vdsat V
dsat
2
( − Vt )
2
= V gs
2
0 Vgs Vt cutoff
Vds V V V
I ds = Vgs − Vt − ds linear
2
ds dsat
(Vgs − Vt )
2
Vds Vdsat saturation
2
DS W 1 2
iD dx =
L
nCoxW GS − Vt − ( x )d ( x ) iD = kn (GS − Vt ) DS − 2 DS (Triode region) (5a)
(4.5a)
0 0 L
W 1 2
iD = ( nCox ) (GS − Vt ) DS − DS (4.5)
(5) 1 W
L iD = k (GS − Vt )
2
(6a)
2 n L
2 (saturation region) (4.6a)
Khi vào miền bão hòa, υDS= υGS - Vt
W
1 W L : Aspect ratio of the MOSFET
iD = ( nCox ) (GS − Vt ) (4.6)
2
(6) (Tỉ số hình dạng của MOSFET)
2 L
21
Example
❑ We will be using a 0.6 m process for your project
– From AMI Semiconductor
– tox = 100 Å 2.5
V =5
– = 350 cm /V*s
2
gs
2
– Vt = 0.7 V 1.5 V =4
Ids (mA)
gs
Ids (mA)
-0.4
Vgs = -4
n / p = 2 -0.6
Vgs = -5
-0.8
-5 -4 -3 -2 -1 0
Vds
polysilicon
gate
W
tox
L SiO2 gate oxide
n+ n+ (good insulator, ox = 3.90)
p-type body
Linear Region
Depletion region exists, forming dielectric of depletion
capacitance, Cdep in series with Cox
As the device turns on, Cgb reduces to 0
The gate capacitance is now a function of the gate voltage
Two components:
1 An Area component
2 A Peripheral
(sidewall) component
The peripheral component
comes from the depth of the
diffusion
VDD
Vgsn = Vin Idsp
Vin Vout
Vdsn = Vout Idsn
VDD
Vgsp = Vin - VDD Vtp < 0 Idsp
Vin Vout
Vdsp = Vout - VDD Idsn
Idsn Vgsn4
-Vdsp Vgsn3
-VDD Vgsn2
Vgsp1 Vgsn1
Vgsp2 0 VDD
Vgsp3 Vdsn
Vgsp4 -Idsp
Vgsp5
Vin0 Vin5
Vin1 Vin4
Idsn, |Idsp|
Vin2 Vin3
Vin3 Vin2
Vin4 Vin1
VDD
Vout
Vin1 Vin4
Idsn, |Idsp|
VDD
Vin2 Vin3
Idsp
Vin3 Vin2 Vin Vout
Vin4 Vin1 Idsn
VDD
Vout
Vin0 Vin5
in5
Vin1 Vin4
dsn, |Idsp
Idsn dsp
|
Vin2 Vin3
Vin3 Vin2
Vin4 Vin1
in0
VDD
Vout
out
DD
Vin0 Vin1
VDD Vin2
Vin0 Vin5
A B
Vout
Vin1 Vin4
C
Vin2 Vin3
Vin3
Vin3 Vin2 D Vin4 Vin5
Vin4 Vin1 E
0 Vtn VDD/2 VDD+Vtp
VDD VDD
Vout Vin
Vin Vout
0
VDD
Vin
Vout
p/ n > 1
Vin Vout
VOL
Vin
0
Vtn VIL VIH VDD- VDD
|Vtp|
VDD
VDD-Vtn
Vs = |Vtp|
VDD VDD-2Vtn
VSS
3: CMOS Technology
Basic Integrated Circuit
Processing
Lecture Outline
• Details of the physical structure of devices will be very
important in developing models for electrical behavior
• Device structure is better understood by following through
fabrication sequence
• The basic processing steps used in fabricating integrated
devices will be examined in this lecture, then the use of
these process steps in fabricating a diode, bipolar junction
transistor or FET will be dealt with in later lectures
Ion source
Plasma
Extraction assembly
Analyzing magnet
Acceleratio
Ion beam Process
n column chamber
Scanning
disk
n+ diffusion
p+ diffusion
n+ n+ p+ p+
polysilicon
n well
p substrate
metal1
p+ n+ n+ p+ p+ n+
n well
p substrate
well
substrate tap
tap
GND VDD
– n-well
– Polysilicon
Polysilicon
– n+ diffusion
– p+ diffusion n+ Diffusion
– Contact p+ Diffusion
– Metal Contact
Metal
Courtesy of International
Business Machines Corporation.
Unauthorized use not permitted.
p substrate
SiO2
p substrate
Photoresist
SiO2
p substrate
Photoresist
SiO2
p substrate
Photoresist
SiO2
p substrate
SiO2
p substrate
n well
n well
p substrate
Polysilicon
Thin gate oxide
n well
p substrate
Polysilicon
Polysilicon
Thin gate oxide
n well
p substrate
n well
p substrate
n+ Diffusion
n well
p substrate
n+ n+ n+
n well
p substrate
n+ n+ n+
n well
p substrate
p+ Diffusion
p+ n+ n+ p+ p+ n+
n well
p substrate
Contact
n well
p substrate
Metal
Metal
Thick field oxide
p+ n+ n+ p+ p+ n+
n well
p substrate
metal (Al)
TiSi TiSi
n-poly p-poly
P- Epitaxial Layer
P+ Substrate
contact (W)
CMP Oxide
Chemical Mechanical Polishing (CMP)
Flatten surface to enable multiple levels of metal
Tungsten (W) contacts and Vias
Enable use of CMP
P+ Substrate
Reduce substrate resistance and thus reduce latch-up.
P- Epi
Needed to enable p and n transistor tub doping with P+
Substrate
Shallow Trench Isolation (STI)
Reduce source and drain capacitance
Reduce source and drain spacing
Tungsten-Silicide
Reduce gate resistance
CMP Oxide
metal (Al)
WSi WSi
n-poly p-poly
STI
P- Epitaxial Layer
P+ Substrate
Al Metal 3
W Via 2
Al Metal 2
W Via 1
Al Metal 1
W Contact
WSi
Spacer
Poly Si
Gate Source/Drain
http://www.zdnet.com/blog/computers/why-intels-22nm-technology-really-matters/5703
http://www.eetimes.com/design/automotive-design/4004782/Under-the-Hood-Intel-s-45-nm-high-k-metal-gate-process
http://www.electronicproducts.com/uploadedImages/Digital_ICs/Microprocessors_Microcontrollers_DSPs/MOUCM_Processing0102_AUG2013.jpg
http://www.sciencedirect.com/science/article/pii/S0040609011018335
http://www.electroiq.com/blogs/chipworks_real_chips_blog/2012/04/intel-s-22-nm-trigate-transistors-exposed.html
http://www.electronicproducts.com/uploadedImages/Digital_ICs/Microprocessors_Microcontrollers_DSPs/MOUCM_Processing0103_AUG2013.jpg
http://www.nature.com/nnano/journal/v7/n3/fig_tab/nnano.2012.7_F2.html
CMOS Processing CMOS VLSI Design Slide 61
Carbon Nanotube Transistor
http://www.infineon.com/export/sites/default/media/press/Image/migration/nanotube_english.jpg
A
B
C
D
Y
nMOS
pull-down
network
Pull-up OFF Pull-up ON
Pull-down OFF Z (float) 1
Pull-down ON 0 X (crowbar)
VDD
PMOS transistors only
In1
pull-up: make a connection from VDD to F
In2 PUN
when F(In1,In2,…InN) = 1
InN
F(In1,In2,…InN)
In1
pull-down: make a connection from F to
In2 PDN
GND when F(In1,In2,…InN) = 0
InN
NMOS transistors only
VDD VDD
PUN
VDD
0→ 0→
CL CL
CL CL
VDD
VDD VDD
PUN
S D
VDD
S D
A•B
A
A+B
A B
pMOS: 0 = ON
g2
b
0
b
1
b
0
b
1
b
(a) OFF OFF OFF ON
0
0
1
1
0
1
1
b b b b b
(b) ON OFF OFF OFF
a a a a a
g1 g2 0 0 0 1 1 0 1 1
b b b b b
(c) OFF ON ON ON
a a a a a
g1 g2 0 0 0 1 1 0 1 1
b b b b b
(d) ON ON ON OFF
A B F
0 0 1
A B
0 1 1
1 0 1
A•B
1 1 0
A
A
B
A B F
B
0 0 1
A 0 1 0
1 0 0
A+B
1 1 0
A B
A
B
C D
A B C D
A B
(c)
(d)
C D
A
A B
B
Y Y
C
A C
D
B D
(f)
(e)
A
B
C D
Y
D
A B C
A
D
B C
B
A
C
D
OUT = !(D + A • (B + C))
A
D
B C
C
SN1 F SN4 A
F
SN2 B
A A
D D SN3
B C B C D
Routing
channel
VDD
signals
GND
GND GND
INV NAND3
40 λ
32 λ
VDD
A B C D
6 tracks =
48 λ
Y
GND
5 tracks =
40 λ
Stick Diagrams
Objectives:
• To know what is meant by stick diagram.
• To understand the capabilities and limitations of stick
diagram.
• To learn how to draw stick diagrams for a given MOS
circuit.
Outcome:
• At the end of this module the students will be able
draw the stick diagram for simple MOS circuits.
34
S.N.Bhat, Faculty, Dept. of E&C Engineering, M.I.T Manipal
Stick Diagrams
Stick Diagrams
N+ N+
35
S.N.Bhat, Faculty, Dept. of E&C Engineering, M.I.T Manipal
Stick Diagrams
Stick Diagrams
VDD
VDD
X
X
x x x
x Stick
Diagram X
Gnd Gnd
36
S.N.Bhat, Faculty, Dept. of E&C Engineering, M.I.T Manipal
Stick Diagrams
Stick Diagrams
VDD
VDD
X
X
x x x
x X
Gnd Gnd
37
S.N.Bhat, Faculty, Dept. of E&C Engineering, M.I.T Manipal
Stick Diagrams
Stick Diagrams
Stick Diagrams
39
S.N.Bhat, Faculty, Dept. of E&C Engineering, M.I.T Manipal
Stick Diagrams
Stick Diagrams
40
S.N.Bhat, Faculty, Dept. of E&C Engineering, M.I.T Manipal
Stick Diagrams
Metal 1
poly
ndiff
pdiff
Can also draw
in shades of
gray/line style.
41
Stick Diagrams
42
Stick Diagrams
43
Stick Diagrams
45
S.N.Bhat, Faculty, Dept. of E&C Engineering, M.I.T Manipal
Stick Diagrams
46
S.N.Bhat, Faculty, Dept. of E&C Engineering, M.I.T Manipal
Stick Diagrams
47
S.N.Bhat, Faculty, Dept. of E&C Engineering, M.I.T Manipal
Stick Diagrams
Power
A Out
Ground
48
S.N.Bhat, Faculty, Dept. of E&C Engineering, M.I.T Manipal
Stick Diagrams
Contains no dimensions
Represents relative positions of transistors
VDD VDD
Inverter
NAND2
Out Out
In A B
GND GND
49
EE141 Manufacturing
Stick Diagram Drawing : CMOS
Steps
1) Implement the expression in CMOS Logic
2) Find all Euler paths that cover the graph
3) Find n and p Euler paths that have same
labeling
4) Draw Stick diagram for optimization of
diffusion areas
50
EE141 Manufacturing
Stick Diagrams
X i VDD
X = C • (A + B)
C
i B j A
A B A
B PDN
C GND
VDD VDD
X X
GND GND
52
EE141 Manufacturing
Two Stick Layouts of !(C • (A + B))
A C B A B C
VDD VDD
X X
GND GND
X i VDD
B j A
GND A B C
For a single poly strip for every input signal, the Euler
paths in the PUN and PDN must be consistent (the same)
CSE477 L06 Static CMOS Logic.54 Irwin&Vijay, PSU, 2003
OAI22 Logic Graph
X PUN
A C
B D D C
X VDD
X = ((A+B)•(C+D))
C D
B A
A B PDN
A GND
B
C
D
A B D C
VDD
GND
A B
X = AB + CD
C B
VDD
D A
X
GND GND
A B C D
Stick diagram for ordering { A B C D } 57
EE141 Manufacturing
Example: x = ab+cd
x x
b c b c
x VDD x VD D
a d a d
GND GND
VD D
Euler Paths x
For both PUD
and PDN GND
a b c d
(c) stick diagram for ordering {a b c d}
58
EE141 Manufacturing
5
9
OUT = (D+E).A+B C
60
EE141 Manufacturing
Minimize area-Eulers path
61
EE141 Manufacturing
Euler graph APPROACH
62
EE141 Manufacturing
63
EE141 Manufacturing
Stick Diagram using Euler Graph Method
64
EE141 Manufacturing
Stick Diagram Optimum Gate Ordering ALL IN ONE
Find a Euler path in both the pull-down tree
graph and the pull-up tree graph with
identical ordering of the inputs.
Euler path: traverses each branch of the
graph exactly once!
By reordering the input gates as E-D-A-B-C,
we can obtain an optimum layout of the
given CMOS gate with single actives for both
NMOS and PMOS devices (below).
65
EE141 Manufacturing
Stick diagram
66
EE141 Manufacturing
Example: 1. Draw Logic Graph
67
EE141 Manufacturing
Example: 2. Define Euler Path
Euler paths are defined
by a path the traverses
each node in the path,
such that each edge is
visited only once.
The path is defined by
the order of each
transistor name. If the
path traverses
transistor A then B then
C. Then the path name
is {A, B, C}
The Euler path of the
Pull up network must be
the same as the path of
the Pull down network.
Euler paths are not
necessarily unique.
It may be necessary to
redefine the function to
find a Euler path.
F = E + (CD) + (AB) =
(AB) +E + (CD)
68
EE141 Manufacturing
Example: 3. Connection label layout
69
EE141 Manufacturing
Example: 4. VDD, VSS and Output Labels
70
EE141 Manufacturing
Example: 5. Interconnected
71
EE141 Manufacturing
1) Z=ABCD
2) Z=A+B+C+D DRAW THE
3) Z=ABC+D STICK
DIAGRAMS
4) Z=(AB+C) D
5) Z=(A+B+C)D
6) Z=A(B+C)+DE
72
EE141 Manufacturing
Lecture 4:
Delay
1. Delay definition
2. RC delay models
3. Linear delay models
5: DC and Transient Response CMOS VLSI Design 4th Ed. 2
1. Delay Definitions
tpdr: rising propagation delay
– From input to rising output
crossing VDD/2
tpdf: falling propagation delay
– From input to falling output
crossing VDD/2
tpd: average propagation delay
– tpd = (tpdr + tpdf)/2
tr: rise time
– From output crossing 0.2
VDD to 0.8 VDD
tf: fall time
– From output crossing 0.8
VDD to 0.2 VDD
1.5
1.0
(V)
tpdf = 66ps tpdr = 83ps
Vin
Vout
0.5
0.0
2C 2C
2C 2C
2 Y 2
A Y
1 1 R C
C
R C C
d = 6RC
d = 15RC
5: DC and Transient Response CMOS VLSI Design 4th Ed. 13
Delay Model Comparison
2 2 2
3
3
2C 2C 2C
2C 2C 2C
2 2 2
2C 2C 2C
9C
3 3C
5C 3C
3C
3
5C 3C
3C
3
5C 3C
3C
C1 C2 C3 CN
Delay from A to X:
Delay from A to Y:
Delay from A to Z:
tpdr = (6 + 4h)RC
ECE Department, University of Texas at Austin Lecture 5. CMOS Gate Characteristics
Example: Delay of 2-Input NAND Using Elmore
Formulation
t pdr = [(9 + 5h )C ](R ) + (3C )(R ) + (3C )(R ) t pdf = (3C )( R3 ) + (3C )( R3 + R3 ) + [(9 + 5h )C ]( R3 + R3 + R3 )
= (15 + 5h )RC = (12 + 5h )RC
2 2 2 Y
3 9C 5hC
n2
3 n1 3C
3 3C
R 5
tcdr ( 9 + 5h ) C =
= 3 + h RC
3 3
3C 3C 3C 3 3C
VDD VDD
A B A B
Y Y
GND GND
20
10 40 30
30 40
3. Explain the delay estimation of a fanout-of-1 inverter (slide 10)
4. Explain the tpdr and tpdf delay estimation of 3-input NAND
driving h identical gates (slide 15).
5. Estimate delay for the gates: AOI21, OAI31
6. What is logical effort?
7. What is parasitic delay?
8. Estimate the delay of the following gate:
5: DC and Transient Response CMOS VLSI Design 4th Ed. 38
Lecture 5:
Logical
Effort
Outline
Logical Effort
Delay in a Logic Gate
Multistage Logic Networks
Choosing the Best Number of Stages
Example
Summary
Decoder specifications:
4:16 Decoder
16 words
16
Register File
– 16 word register file
– Each word is 32 bits wide
– Each bit presents load of 3 unit-sized transistors
– True and complementary address inputs A[3:0]
– Each input may drive 10 unit-sized transistors
Ben needs to decide:
– How many stages to use?
– How large should each gate be?
– How fast can decoder operate?
6: Logical Effort CMOS VLSI Design 4th Ed. 4
Delay in a Logic Gate
Express delays in process-independent unit d = d abs
Delay has two components: d = f + p τ
τ = 3RC
f: effort delay = gh (a.k.a. stage effort)
≈ 3 ps in 65 nm process
– Again has two components 60 ps in 0.6 µm process
g: logical effort
– Measures relative ability of gate to deliver current
– g ≡ 1 for inverter
h: electrical effort = Cout / Cin
– Ratio of output to input capacitance
– Sometimes called fanout
p: parasitic delay
– Represents delay of gate driving no load
– Set by internal parasitic capacitance
Normalized Delay: d
5 p=2
What about d = (4/3)h + 2
4 g=1
NOR2? p=1
3 d=h+1
2 Effort Delay: f
1
Parasitic Delay: p
0
0 1 2 3 4 5
Electrical Effort:
h = Cout / Cin
10
x z
y
20
g1 = 1 g2 = 5/3 g3 = 4/3 g4 = 1
h1 = x/10 h2 = y/x h3 = z/y h4 = 20/z
Path Delay D
= ∑=
d i DF + P
fˆ g=
1
= i hi F N
fˆ gh
= = g CCoutin
gi Couti
⇒ Cini =
fˆ
Working backward, apply capacitance
transformation to find input capacitance of each gate
given load it drives.
Check work by verifying input cap spec is met.
y
x
45
A 8
x
y B
45
y
x
45
A 8
x
y B
45
y
x
45
45
A P:
84 P:
x 4
N: 4 P:
y 12 B
N: 6 45
N: 3 45
8 4 2.8
D = NF1/N + P 16 8
= N(64)1/N + N
23
Datapath Load 64 64 64 64
N: 1 2 3 4
f: 64 8 4 2.8
D: 65 18 15 15.3
Fastest
D= NF + ∑ pi + ( N − n1 ) pinv
1
N Path Effort F
i =1
∂D 1 1 1
− F N ln F N + F N + pinv =
= 0
∂N
1
Define best stage effort ρ=F N
pinv + ρ (1 − ln ρ ) =
0
D(N) /D(N)
1.4
1.26
1.2 1.15
1.0
(ρ=6) (ρ =2.4)
0.0
0.5 0.7 1.0 1.4 2.0
N/ N
Decoder specifications:
4:16 Decoder
16 words
16
Register File
– 16 word register file
– Each word is 32 bits wide
– Each bit presents load of 3 unit-sized transistors
– True and complementary address inputs A[3:0]
– Each input may drive 10 unit-sized transistors
Ben needs to decide:
– How many stages to use?
– How large should each gate be?
– How fast can decoder operate?
6: Logical Effort CMOS VLSI Design 4th Ed. 26
Number of Stages
Decoder effort is mainly electrical and branching
Electrical Effort: H = (32*3) / 10 = 9.6
Branching Effort: B=8
10 10 10 10 10 10 10 10
y z word[0]
y z word[15]
effort delay f DF = ∑ f i
parasitic delay p P = ∑ pi
delay d= f + p D
= ∑=
d i DF + P
gi Couti
6) Find gate sizes Cini =
fˆ
20
10 40 30
30 40
3. Explain the delay estimation of a fanout-of-1 inverter (slide 10)
4. Explain the tpdr and tpdf delay estimation of 3-input NAND
driving h identical gates (slide 15).
5. Estimate delay for the gates: AOI21, OAI31
6. What is logical effort?
7. What is parasitic delay?
8. Estimate the delay of the following gate:
5: DC and Transient Response CMOS VLSI Design 4th Ed. 38
Lecture 5:
Power
VR2 ( t )
P
=R ( t ) = I R (t ) R
2
∞ ∞
dV
EC I ( t )V ( t ) dt ∫ C V ( t ) dt
∫0= 0
dt
VC
∫ V ( t )dV
C=
0
1
2 CVC2
LVDD ∫ dV
2
= C= CLVDD
0
– Half the energy from VDD is dissipated in the
pMOS transistor as heat, other half stored in
capacitor
When the gate output falls
– Energy in capacitor is dumped to GND
– Dissipated as heat in the nMOS transistor
Static Dissipation
Subthreshold leakage (through OFF transistors)
Gate leakage through gate dielectric
Junction leakage from source/drain diffusion
Contention current in ratioed circuits
ECE Department, University of Texas at Austin Lecture 18. Design for Low Power
Switching Waveforms
Example: VDD = 1.0 V, CL = 150 fF, f = 1 GHz
VDD
= [Tfsw CVDD ] VDD
T iDD(t)
fsw
= CVDD 2 fsw
C
Dynamic power:
Pswitching = α CVDD 2 f
f = P * fclock
Constant Variable
Throughput/Latency Throughput/Latency
Energy Design Time Non-active Modules Run Time
Logic design
DFS, DVS
Active Reduced Vdd
Clock Gating (Dynamic Freq,
(Dynamic) TSizing Voltage
Scaling)
Multi-Vdd
Sleep Transistors
Multi-VT
Leakage Multi-Vdd
Stack effect Variable VT
(Standby) Variable VT
Pin ordering
Input control
P
switching = α CV 2
DD f
Try to minimize:
– Activity factor
– Capacitance
– Supply voltage
– Frequency
0
A B
CL PA
1 0 1
PB
(1-0.5)(1-0.5)x(1-(1-0.5)(1-0.5)) = 3/16
0.5 A
X
0.5 B
Z
(1-0.5x0.2)x(0.5x0.2)=0.09 (1-0.2x0.1)x(0.2x0.1)=0.0196
0.5 0.2
A B X
X
B C
F 0.1 A F
0.2 C
0.1 0.5
A X
B
C Z
Unit Delay
CSE477 L12&13 Low Power.31 Irwin&Vijay, PSU, 2003
Glitching in an RCA
Cin
S15 S14 S2 S1 S0
0 0
0 F1 1 0 F1 1
0 F2 2
F3
0 F3 0
0 F2 1
VDD Ileakage
Vout
Drain junction
leakage
Whigh-Vt = ( 50 ×106 ) (12λ )( 0.95 ) + ( 950 ×106 ) ( 4λ ) ( 0.025µ m / λ ) = 109.25 ×106 µ m
( )
I gate= Wnormal-Vt + Whigh-Vt × 5 nA/µ m / 2= 275 mA
Pstatic = ( 584 mA + 275 mA )(1.0 V ) = 859 mW
= off 10
I sub I= I off 10
S S
N2 N1
ηVDD
Vx =
1 + 2η + kγ
1+η + kγ
−ηVDD
1+ 2η + kγ −ηVDD
=I sub I off 10 S
≈ I off 10 S
Constant Variable
Throughput/Latency Throughput/Latency
Energy Design Time Non-active Modules Run Time
Logic design
DFS, DVS
Active Reduced Vdd
Clock Gating (Dynamic Freq,
(Dynamic) TSizing Voltage
Scaling)
Multi-Vdd
Sleep Transistors
Multi-VT
Leakage Multi-Vdd
Stack effect Variable VT
(Standby) Variable VT
Pin ordering
Input control
Algorithm
Architecture
Logic/circuit
Technology/circuit