LSI Logic Design Chapter 2
LSI Logic Design Chapter 2
Page 4
What is Semiconductor?
Page 5
What is Semiconductor?
a) Conductor (Cu, Al) electron free from atomic bound
a b c
Conductor Semiconductor Insulator
10-6 10-4 10-2 1 102 104 106 108 1010 1012 1014 1016 1018
ρ
【Ω・cm】
Intrinsic
Si
Cu, Al, W, CoSi2 Ge GaAs SiO2, Si3N4
10Ω Si Wafer
Page 6
Intrinsic and Extrinsic Semiconductor
Group III IV V
Intrinsic semiconductor 5 6 7
B C N
A perfect semiconductor which has no impurities 13 14 15
Its characteristics comes from the semiconductor itself Al Si P
31 32
33
Ga Ge As
Extrinsic semiconductor -
A semiconductor to which impurity is doped
- -
Some part of its characteristics comes from the doped - -
- -
impurity
+ - -
- - -
-
Page 7
P-type Silicon - Acceptor
- - - - - -
- - -
Since the Boron atom will accept an electron, - Si
14+
-
B5+
- Si
14+
- - -
Page 8
N-type Silicon - Donor
If a Group V atom, such as Phosphorus, is introduced
into the Silicon lattice, it will have an extra electron
which may easily break away, becoming a conduction
electron
- - -
Page 9
MOS Capacitor
Semiconductor (substrate)
Page 11
Behavior of MOS Capacitor
Accumulation Depletion Inversion
Vg<0V Vg>0V Vg>>0V Gate electrode
+ + + + + + + +
Gate insulator
- - - - - - - - - - - -
ー+ ー+ ー+ ー+ ー ー ー ー ー ー ー ー
ー+ ー+ ー+ ー+ t ー+ ー+ ー+ ー+ t ー ー ー ー
ー+ ー+ ー+ ー+ ー+ ー+ ー+ ー+ ー+ ー+ ー+ ー+
ー+ ー+ ー+ ー+ ー+ ー+ ー+ ー+ t ー+ ー+ ー+ ー+
ー+ ー+ ー+ ー+ ー+ ー+ ー+ ー+ ー+ ー+ ー+ ー+
ー+ ー+ ー+ B+ ー+ ー+ ー+ B+ ー+ ー+ ー+ B+ Silicon substrate
(P-type)
Capacitance
S ex.
C=ax t t … 10nm
(a: constant) C… pF
Gate Voltage
Page 12
MOSFET
*** Focusing on n-channel transistor ***
Gate <Symbol>
Gate insulator
Gate
Source Drain Electrode
Drain
Electrode
W
Source
Electrode
N+
N+
L
Channel
ubstrate
P-S
L: channel length
W: channel width
N+: heavily doped silicon
FET: Field Effect Transistor
= low resistive electrode
Page 13
Operation of N-channel MOSFET (1)
- Gate characteristics Id
Ammeter Vd (ex. 1.2V)
Vd > 0 Vg (0V)
0
Drain current (Id)
Voltmeter
G
Threshold voltage (Vth) S D
extrapolation
Gate voltage Vg
Id = 0 (nearly)
Page 14
Operation of N-channel MOSFET (2)
- Gate characteristics
Id
Ammeter Vd (ex. 1.2V)
Vd > 0 Vg (<Vth)
0
Drain current (Id)
Voltmeter
G
Threshold voltage (Vth) S D
Gate voltage Vg
Page 15
Operation of N-channel MOSFET (3)
- Gate characteristics
Id
sub-threshold (weak inversion) Ammeter Vd (ex. 1.2V)
Vd > 0 Vg (=Vth)
0
Drain current (Id)
normal
Voltmeter
(strong inversion)
G
threshold voltage (Vth) S D
Gate voltage Vg
ex.
Vth: order of 1/10 V
Id : order of nA
Page 16
Operation of N-channel MOSFET (4)
- Gate characteristics
Id
Ammeter Vd (ex. 1.2V)
Vd > 0 Vg (>Vth)
0
Drain current (Id)
Voltmeter
G
Threshold voltage (Vth) S D
Gate voltage Vg
Page 17
Operation of N-channel MOSFET (5)
- Gate characteristics
Id
Ammeter Vd (ex. 1.2V)
Vd > 0 Vg (>>Vth)
0
Drain current (Id)
Voltmeter
G
Threshold voltage (Vth) S D
Gate voltage Vg
Page 18
Operation of N-channel MOSFET (6)
- Drain characteristics
Id
Ammeter Vd
Linear Saturation
Vg4 Vg 0
Voltmeter
Drain current Id
Vg3
G
Vg2 S D
Vg1
Vg<Vth
Drain voltage Vd
Page 19
Operation of N-channel MOSFET (7)
- Drain characteristics
Id
Ammeter Vd
Linear Saturation
Vg4 Vg 0
(=Vg3)
Voltmeter
Drain current Id
Vg3
G
Vg2 S D
Vg1
Vg<Vth
Drain voltage Vd
Page 20
Operation of N-channel MOSFET (8)
- Drain characteristics
Id
Ammeter Vd
Linear Saturation
Vg4 Vg 0
(=Vg3)
Voltmeter
Drain current Id
Vg3
G
Vg2 S D
Vg1
Vg<Vth
Drain voltage Vd
Page 21
Operation of N-channel MOSFET (9)
- Drain characteristics
Id
Ammeter Vd
Linear Saturation
Vg4 Vg 0
(=Vg3)
Voltmeter
Drain current Id
Vg3
G
Vg2 S D
Vg1
Vg<Vth
Drain voltage Vd
Page 22
Operation of N-channel MOSFET (10)
- Drain characteristics
Id
Ammeter Vd
Linear Saturation
Vg4 Vg 0
(=Vg3)
Voltmeter
Drain current Id
Vg3
G
Vg2 S D
Vg1
Vg<Vth
Drain voltage Vd
Page 23
Operation of N-channel MOSFET (11)
- Drain characteristics
Id
Ammeter Vd
Linear Saturation
Vg4 Vg 0
(=Vg3)
Voltmeter
Drain current Id
Vg3
G
Vg2 S D
Vg1 Leff
Vg<Vth
Drain voltage Vd
Page 24
Current characteristics of MOSFET (Summary)
<Fundamental Formula of drain current>
bn {Vd(Vg-Vthn) - Vd2/2 } bn = µCox W/L
(Linear region µ: Electron Mobility
0£ Vd £ Vg-Vthn) Cox: Gate capacitance per unit area
Id = W: Gate width
bn (Vg-Vthn)2 /2 L: Gate length
(Saturation region Vthn : Threshold voltage of NMOS
Vd > Vg-Vthn) (gate voltage required to switch ON transistor)
Saturation is called as
Vg
0.9V
Vd
0 Vd 1.2V
Page 25
Operations of nMOS Transistor
0V <Characteristics of drain current >
Source Gate 0®1.5V
0V
gs)
Drain
ltage (V
n+ n+ Saturation
Ids
p-well Current does not flow
Gate vo
0.5V
0®1.5V 0
0V 0 Vds 1.5
Page 26
Operations of pMOS Transistor
1.5V
Source
Gate 1.5"0V
1.5V <Current characteristics>
Drain 3
Gate
(|Vgs
1 p+ p+ saturation
volta
|)
n-well Current does not flow
-Ids
2
ge
1.0V
1.5"0V 1
1.5V 0
0 Vds+1.5 1.5
2 p+ p+
<Formula of current>
n-well Current starts flowing when
channel is created - bp{Vd×(Vg-Vthp)-Vd2/2}
0V (when Vg-Vthp £Vd £0)
1.5→0V Ids=
1.5V - bp(Vgs-Vthp)2/2
(when Vds<Vgs-Vthp)
3 p+ p+ bp : proportionality coefficient
Vthp: threshold voltage (gate voltage
n-well Channel expands and
current increases required to switch ON transistor)
Page 27
Structure of CMOS Transistor
Gate Gate
Source Drain Drain Source
p+ p+ n+ n+
gate oxide gate oxide
n-type substrate (n-) p-type substrate (p-)
(n-well) (p-well)
Page 28
Inverter
Input Output
Power supply
Power supply
(1.5V) GND Circuit VDD (1.5V)
Schematic
Gate Gate
p+ p+ n+ n+
= Input Output
n-well p-well
pMOS nMOS
GND
Simplest logic circuit with a pair of pMOS and
nMOS transistors
Page 30
Logic Circuit on Silicon Chip
Inverter
Input
Power supply Vin Vout
voltag
<Circuit VDD (1.5V)
Schematics>
e (Vin
0
)
pMOS
0
Drain voltage +1.5 ( Vout) 1.5 <Layout pattern>
Input Output
voltage voltage VDD
(Vin)
(Vin)
oltage
nMOS
Input v
GND A Vout
0
0 Drain voltage (Vout) 1.5
Page 31
Logic Gate
• 2 input NAND (O=A B) • 2 input NOR (O=A+B) • Combinational gate (O=A B+C)
A
A A
O O B O
B B C
A
O B A
A O
O
B
B
C
Page 32
Flip Flops
Principle of operation
setup
time (D) D 2. When clock rises, G1 is OFF
D D
and G2 is ON to pass data D
into next loop LP2.
hold
time
D 3. When clock goes low, G2 is
D OFF and LP2 keeps its data D.
Note FF output is not determined until any value is set from outside from logic
simulation standpoint. Especially cares should be taken after power on.
Page 33
Flip Flops
Metastable State (Metastability)
- To set logical threshold voltage (VLT) of each GATE at the same level
is important to secure noise margin: VLT = 1/2 VDD.
- But big problem in FLIP FLOPs.
VLT VLT
VIN VOUT
- When input VIN is held at VLT and then gate becomes OFF, the flip
flop MIGHT may keep this level for unpredictable period.
- But actually when small plus noise is applied to left node of loop,
VOUT accordingly becomes 0. In minus case, Vout goes to 1.
- Behavior of VOUT is not predictable depending upon noise level:
metastable.
< hypothetical case >
Page 34
Flip Flops
Metastable State (Metastability)
IN
OUT may be dependent
on many causes
~VLT or ~VLT
CLK
Page 35
Circuit libraries on SoC
1. Logic cell library
- Primitive cells (Inverter, Buffer, NAND, NOR, FF, etc.)
- Data Path (Execution unit, selector, multiple-bit width)
- Clock Buffer
- Power Control Circuits (Power Switch, Substrate Bias Controller)
2. Memory library
- Register File
- RAM (Random Access Memory)
- ROM (Read Only Memory)
Resistance(R) = 0 R ≠0
No signal attenuation. Voltage drops with current.
Power consumption.
Capacitance(C) = 0
C≠0
Voltage can change at once
Voltage cannot jump up or down
Reactance(L) = 0 L≠0
Electric current can change at once Current cannot jump up or down.
R=0
C = 0, L=0
Page 39
Effect of R, C and L
Voltage drop by R
The IR drop
The effect of R
Oscillation,
Delay increased
The effect of L
Over
shoot The actual
Ringing waveform is more
complicated.
Delay
Page 40
Delay definitions
Vin
Logic delay through a gate is conveniently described by the
propagation delay time, tp. This is average time needed for VDD
the output to respond to a change in the input logic state:
VDD/
2
tp = ½ (tpHL+tpLH)
Time
VSS
Falling propagation delay (tpHL):
Time for output to fall by 50% of VDD references to input tpHL tpLH
Vout
changes by 50% of VDD.
VDD
90%VDD
Rising propagation delay (tpLH):
Time for output to rise by 50% of VDD references to input VDD/2
changes by 50% of VDD
10%VDD Time
Fall time (tf): VSS
Time for output to fall from logical level “1” to level “0”. tf tr
Logical level:
Rise time (tr):
Time for output to rise from logical level “0” to level “1”. - Level “0”: from VSS to 10% of VDD;
- Level “1”: from 90% of VDD to VDD.
Page 41
Charge up & Discharge
Charge
up
1.2®0V 0®1.2V 0®1.2V Discharge
1.2®0V
CL CL
GND GND
Rise time and fall time: times required to charge or discharge the load capacitor.
Large load capacitance results in large delay.
Page 42
Rise time - Delay of charge up
Power
supply u Current flows when pMOS is ON,
(VDD)
Is= |Ids|
= ( bp/2)▪ (VDD - |Vthp|)2
u Electric charge to be charged
Charge up 0®VDD
VDD®0V
Q = CL▪VDD
CL
Rise time is:
GND tr = Q/|Ids|
Note: Assume at initial state, CL was CL VDD
fully dis-charged to 0V =
( bp/2) ▪(VDD-|Vthp|)2
Page 43
Fall time - Delay for discharge
Page 44
Summary of delay time
Page 45
Gate Delay & Wiring Delay
Input Input
Input Output
Page 47
Skew
For more-than-1-bit
skew signal, skew is always
a big problem.
Page 48
Hazard & Glitch
Hazard is a problem caused by a small timing difference among several signals.
X High Low
X Z
Y Low High
Y Z Low Low
X X
Y Logically Z Z may Y
must be become 1 for
Z short time Z
always zero
Page 49
How to avoid hazard?
It is difficult to prevent hazard. However, we can avoid using hazard signal
by selecting a timing to use the signal.
0 1
X
X Z
Y
Y 0 0
1 0 Z
Page 50
When handling edge signal, you must be very careful about
hazard, because edge signal is very sensitive to hazard.
Especially, clock signal is very sensitive to hazard.
To avoid hazard on clock signal, do not insert any combinational logic in clock line.
Page 51
Power Consumption
Electric power ~ V.I ~ V.Q/T ~ V.CV/T
~ C.V2/T
C
~ f.C.V2
Page 52
Short Circuit Power
short circuit
current
Input
Input
Out
t
Short circuit
current
Page 53
Leak Current
Isb leak current
Input
Out
Igs Devices with large leak current are not applicable
leak current to battery powered products.
(Gate leak)
Page 54
Metastability of Flip-Flop
Inv1
in1 out1 If In is given a value, such as mean value of low and
In Out high voltage, Out becomes unstable for some period
D and we can not tell what the final value shall be.
out2 in2 This is called “metastability”.
Inv2
or
clock
We cannot predict the result.
FF
In Out This may happen when input signal
changes at the instant of the clock pulse.
clock
Page 55
In many cases, metastability can be avoided by ensuring that inputs are held
constant for specified periods before and after the clock pulse.
Hold time
Setup time
If input signal changes
clock during Setup and Hold
time, metastability will
In occur.
Page 56
Unknown initial value of Flip-Flop
We can not tell the value of FF right after power on. (How about SRAM?)
If a logic you designed uses the unknown initial values of FFs in a way that they
cause unexpected operation, it means you have implemented a logic bug.
Page 57
Fan-out
Vcc
It is not zero.
Because of output voltage drop, there is a Vcc
limitation (fan-out) in the number of the High
Vin
circuits which can be connected to an output.
Low
Inserting buffers
with the help of
EDA tool.
Fan-out problem causes malfunction of
the circuits. EDA tools can help us to
avoid this problem. Must be
modified.
Page 58
Because larger load result in larger delay as shown below, fan out issue is also
related to speed.
small delay
large delay
Page 59
Ground bounce
Cannot keep the
potential of the ground
at zero when there is a
large current in the
Sharing the ground with other signals neighborhood.
Page 60
Cross talk
Capacitive coupling: Electrostatic induction
Cross talk
Inductive coupling: Electromagnetic induction
Victim
Cross talk creates false signal on certain signal line, thus sometimes causes a malfunction of a device.
Page 61
EMC/EMI
Electromagnetic pulse
Page 62
Radiation from the package and cosmic ray
neutron
The influence of neutron radiation
and so on, are becoming +
significant. - +
+-
-
N-type
Alpha ray, gamma ray and
neutron radiation
Page 63
The different characteristic of nMOS & pMOS
Tr Tf
When the driving
pMOS power of n/p MOS
Generally, nMOS
are the same
has a bigger
driving capability
nMOS In case of N > P
It becomes difficult to keep the duty ratio of on/off such as the clock at 50%.
Page 64
Electron migration
Atoms of wire material, aluminum or copper, are kicked out of the
wire line by electrons. This sometimes causes a breaking of wire.
aluminum
atoms kicked breaking
out of the wire
Page 65
Other issues
Slow rising of the input Over current of
Vcc voltage around the Vth. MOS
Vth
0 Ringing of the input False signal
1 voltage around the Vth.
0
Vcc
Runt pulse: a narrow pulse which does
Vth
not reach a valid high or low level
0
Page 66