Professional Documents
Culture Documents
• Arm is committed to making the language we use inclusive, meaningful, and respectful. Our goal is to
remove and replace non-inclusive language from our vocabulary to reflect our values and represent our
global ecosystem.
• Arm is working actively with our partners, standards bodies, and the wider ecosystem to adopt a
consistent approach to the use of inclusive language and to eradicate and replace offensive terms. We
recognise that this will take time. This course contains references to non-inclusive language; it will be
updated with newer terms as those terms are agreed and ratified with the wider community. We
recognise that some of you will be accustomed to using the previous terms and may not immediately
recognise their replacements. Please refer to the following examples:
• When introducing edge-triggered Flip-Flops, we will use the term ‘JK Flip-flop’ instead of ‘master-slave flip-flop’.
• Contact us at education@arm.com with questions or comments about this course. You can also report
non-inclusive and offensive terminology usage in Arm content at terms@arm.com.
Lecture 1:
Introduction
Course Learning Objectives
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
n+ n+
Body
p bulk Si
n+ n+
Body
p bulk Si
0
n+ n+
S D
p bulk Si
1
n+ n+
S D
p bulk Si
p+ p+
n bulk Si
g=0 g=1
d d d
nMOS g OFF
ON
s s s
d d d
pMOS g OFF
ON
s s s
A Y VDD
0 1
1 0 OFF
ON
0
1
A Y
ON
OFF
A Y
GND
17 © 2020 Arm Limited
CMOS NAND Gate
A B Y
0 0 1 ON
OFF
OFF
ON OFF
ON
0 1 1
1
Y
1 0 1 0 ON
A OFF
1 1 0 0
1
1
0 OFF
ON
B ON
OFF
A B Y
0 0 1 A
0 1 0
1 0 0 B
1 1 0 Y
Y
A
B
C
A
GND VDD
Y SiO2
n+ diffusion
p+ diffusion
n+ n+ p+ p+
polysilicon
n well
p substrate
metal1
A
GND VDD
Y
p+ n+ n+ p+ p+ n+
n well
p substrate
well
substrate tap
tap
GND VDD
• n+ diffusion
• p+ diffusion
• Contact Polysilicon
• Metal
n+ Diffusion
p+ Diffusion
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
SiO2
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
• Now you know everything necessary to start designing schematics and layout for a
simple chip!
Lecture 2:
Circuits and
Layout
Learning Objectives
At the end of this lecture, you should be able to:
• Draw transistor-level schematics and layouts for complementary CMOS standard cells.
• Use time diagrams to describe the operation of D latch and D Flip-flop.
• Use stick diagrams to sketch and plan cell layouts.
[Trinh09]
© 2009 IEEE.
Billions
Global Semiconductor Billings (US$)
450
400
350
300
250
200
150
100
50
0
1985 1990 1995 2000 2005 2010 2015 2020
Year
AT&T Archives.
Reprinted with
permission.
Intel
Museum.
[Vadasz69]
Reprinted
© 1969 IEEE. with
permission.
Integration Levels
SSI: 10 gates
MSI: 1000 gates
LSI: 10,000 gates
VLSI: >10k gates
D1
S Y
D0
D1 4 2
S 4 2 Y
D0 4 2
2
CLK1
CLK1 CLK2 CLK2
Q1
Flop
Flop
Q1 Q2
D
Q2
VDD VDD
A A B C
metal1
c poly
ndiff
pdiff
Y
Y contact
GND GND
INV NAND3
40 l
32 l
( )
•
Y = A + B + C iD
VDD
A B C D
6 tracks =
48 l
Y
GND
5 tracks =
40 l
Lecture 3:
Simple Processor Example
Learning Objectives
At the end of this lecture, you should be able to
• Describe and apply techniques for managing the design of complex systems.
• Describe the implementation of a simple processor at abstraction levels including:
Architecture, Microarchitecture, Logic Design, Circuit Design, Physical Design,
Verification & Test.
• Data Processing
– ADD, SUB, AND, OR
– Each accepts register/immediate 2nd sources
• Memory
– LDR, STR
– Positive immediate offset
• Branch
– B
mips
Simplified Processor
tri
module carry(input a, b, c,
output cout)
module carry(input a, b, c,
output cout)
wire x, y, z;
module carry(input a, b, c,
output cout)
A A A A B
A A A A B
A A A A B
C C D
Zipper
Bitslice 7
Bitslice 1
Flop Adder
Wordslice Wordslice
Lecture 4:
CMOS Transistor Theory
Learning Objectives
At the end of this lecture, you should be able to:
• Use cross section diagrams to describe the characteristics of MOS transistors when
operating in cut off, linear and saturation regions.
• Derive the relationship between current and voltage (I-V) of the MOS device at cut off,
linear and saturation modes.
• Mathematically estimate the MOS gate capacitance.
• Describe the effect of diffusion capacitance on the terminals
Qchannel
I ds
t
Cox
W V V Vds V
gs ds
2
t
L
Vgs Vt ds Vds
V W
= Cox
2 L
I ds Vgs Vt dsat V
V
dsat
2
Vt
2
Vgs
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
Ids (mA)
• Vgs = 0, 1, 2, 3, 4, 5
• Use W/L = 4/2 l 1
Vgs = 3
0.5
Vgs = 2
Vgs = 1
0
0 1 2 3 4 5
W 3.9 8.85 1014 W W Vds
Cox 350 8 120 μA/V 2
L 100 10 L L
Ids (mA)
-0.4
provide same current
Vgs = -4
•In this class, assume
µ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, eox = 3.9e0)
p-type body
Lecture 5:
Nonideal Transistor Theory
Learning Objectives
At the end of this lecture, you should be able to:
• Use suitable equations to describe the nonideal transistor characteristics due to High
field effects, Channel length modulation, Threshold voltage effects and Leakage.
• Explain sources and impacts of process and environmental variations on the transistor
operation.
0 Vgs Vt cutoff
Vds V V V
I ds Vgs Vt ds linear
2
ds dsat
Vgs Vt
2
Vds Vdsat saturation
2
Simulated
Vgs = 1.0
Ideal
1200
Velocity saturation & Mobility degradation:
Ion lower than ideal model predicts
1000
Ion = 747 mA @
Channel length modulation: V = V = V
gs ds DD
Saturation current increases
800 with Vds Vgs = 1.0
Vgs = 0.8
600
Velocity saturation & Mobility degradation:
Vgs = 0.8
Saturation current increases less than
400 quadratically with Vgs
Vgs = 0.6
200 Vgs = 0.6
Vgs = 0.4
0 Vds
0 0.2 0.4 0.6 0.8 1
600
Vgs = 0.8
400
Vgs = 0.6
200
Vgs = 0.4
0 Vds
0 0.2 0.4 0.6 0.8 1
Vt 1 Vds
2
I ds Vgs
2
tox 2q si N A
g 2q si N A
ox Cox
VVVh¢=-
ttds
Vt Vt Vds
p+ n+ n+ p+ p+ n+
n well
p substrate
• At any significant negative diode voltage, ID = -Is
• Is depends on doping levels
• And area and perimeter of diffusion regions
• Typically <1 fA/µm2 (negligible)
I ds
increasing
temperature
Vgs
fast
FF
• tox: thin SF
pMOS
• Slow (S): opposite TT
slow
for nMOS and pMOS
slow fast
nMOS
fast
FF
• Temperature SF
pMOS
TT
FS
SS
slow
slow fast
nMOS
Cycle time S S S S
Power F F F F
Subthreshold F F F S
leakage
Lecture 6:
DC & Transient Response
Learning Objectives
At the end of this lecture, you should be able to:
• Explain threshold drop in pass transistor circuits.
• Graphically derive the DC response of a CMOS logic gate.
• Estimate the delay of logic gates using RC delay models.
VDD
VDD-Vtn
Vs = |Vtp|
VDD VDD-2Vtn
VSS
VDD
Vgsn = Vin Idsp
Vin Vout
Vdsn = Vout Idsn
VDD
Vgsp = Vin - VDD Vtp < 0 Idsp
Vin Vout
Vdsp = Vout - VDD Idsn
Vgsn5
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
Vin0 Vin5
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
VDD
bp
10
bn
Vout 2
1
0.5
bp
0.1
bn
0
VDD
Vin
Vout
b p/b n > 1
Vin Vout
VOL
Vin
0
Vtn VIL VIH VDD- VDD
|Vtp|
2.0
1.5
1.0
(V)
tpdf = 66ps tpdr = 83ps
Vin
Vout
0.5
0.0
t pd
nodes i
Ri to sourceCi
C1 C2 C3 CN
t pdf 3C R3 3C R3 R3 9 5h C R3 R3 R3
t pdr 9 5h RC
11 5h RC
VDD VDD
A B A B
Y Y
GND GND
Lecture 7:
Logical Effort
Learning Objectives
At the end of this lecture, you should be able to:
• Use Logical Effort to estimate the delay of a logic gate and a combinational circuit path.
• Apply the method of Logical Effort to determine the best number of stages and best
topology to minimize delay of a path.
A[3:0] A[3:0]
32 bits
• Decoder specifications:
4:16 Decoder
• 16-word register file
16 words
16
• Each word is 32 bits wide Register File
Normalized Delay: d
• What about 5 p=2
d = (4/3)h + 2
NOR2? 4 g=1
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
G =1
H = 90 / 5 = 18
GH = 18
h1 = (15 +15) / 5 = 6
h2 = 90 / 15 = 6
F = g1g2h1h2 = 36 = 2GH
ˆf g h F N1
i i
• Thus, minimum delay of N stage path is
1
D NF P 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
45
A P:
84 P:
x 4
N: 4 P:
y 12 B
B
N: 6 45
N: 3 45
D = NF1/N + P
= N(64)1/N + N
i 1
D 1 1 1
F N ln F N F N pinv 0
N
Define best stage effort F N
1
•
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
4:16 Decoder
• Each bit presents a load of 3 unit-sized transistors
16 words
16
• True and complementary address inputs A[3:0] Register File
Design N G P D
NOR4 1 3 4 234
NAND4-INV 2 2 5 29.8
NAND2-NOR2 2 20/9 4 30.1
INV-NAND4-INV 3 2 6 22.1
NAND4-INV-INV-INV 4 2 7 21.1
NAND2-NOR2-INV-INV 4 20/9 6 20.5
NAND2-INV-NAND2-INV 4 16/9 6 19.7
INV-NAND2-INV-NAND2-INV 5 16/9 7 20.4
NAND2-INV-NAND2-INV-INV-INV 6 16/9 8 21.6
effort delay f DF f i
parasitic delay p P pi
delay d f p D d i DF P
Lecture 8:
Power
Learning Objectives
At the end of this lecture, you should be able to:
• Use equations to explain the sources of power dissipation in a chip.
• Estimate dynamic and static power consumption.
• Describe methods to reduce dynamic and static power losses.
VR2 t
PR t I R2 t R
R
dV
EC I t V t dt C V t dt
0 0
dt
VC
C V t dV 12 CVC2
0
CLVDD dV C V
2
L DD
0
• Half the energy from VDD is dissipated in the pMOS transistor as heat
and other half stored in capacitor
• When the gate output falls
• Energy in the capacitor is dumped to GND
• Dissipated as heat in the nMOS transistor
T
VDD
T 0 iDD (t )dt C
VDD
Tfsw CVDD
T
CVDD 2 f sw
• Dynamic power:
Pswitching a CVDD 2 f
• Pswitching a CVDD 2 f
• Try to minimize:
• Activity factor
• Capacitance
• Supply voltage
• Frequency
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
VDD
Vx
1 2 k
• Leakage through 2-stack reduces ~10x
• Leakage through 3-stack reduces further
1 k
VDD
1 2 k VDD
I sub I off 10 S
I off 10 S