Computer
An electronic device which is capable of
receiving information (data) in a particular form
and of performing a sequence of operations in
accordance with a predetermined but variable set
of procedural instructions (program) to produce a
result in the form of information or signals.
EE370
Digital Electronics
Yogesh S. Chauhan
Department of Electrical Engineering
IIT Kanpur
Email: chauhan@iitk.ac.in
Office: WL125, Phone: 7244
Why Digital?
Digital System
7/31/2015
17,468 vacuum
tubes
7200 crystal
diodes
1500 relays
70,000 resistors
10,000 capacitors
Weight > 27 Ton
1800 sq. ft.
150 kW of
electricity
The Babbage
Difference Engine
(1832)
25,000 parts
cost: 17,470
Y. S. Chauhan, IIT Kanpur
First transistor
Bell Labs, 1948
Y. S. Chauhan, IIT Kanpur
7/31/2015
1971
1000transistors
1MHzoperation
Moores Law
10
Transistor Counts
1975
1974
1973
1972
1971
1970
1969
1968
1967
1966
1965
1964
1963
1962
1961
1960
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
1959
11
12
7/31/2015
1000
100
Transistors(MT)
100
10
P6
Pentium proc
486
Diesize(mm)
2Xgrowthin1.96years!
386
286
0.1
8086
8085
8080
8008
4004
0.01
0.001
1970
10
8080
8008
4004
1980
1990
Year
2000
1
1970
2010
TransistorsonLeadMicroprocessorsdoubleevery2years
Y. S. Chauhan, IIT Kanpur
8086
8085
286
386
P6
486 Pentiumproc
~7%growthperyear
~2Xgrowthin10years
1980
1990
Year
2000
2010
Diesizegrowsby14%tosatisfyMooresLaw
13
Frequency
14
Power Dissipation
100
P6
Pentiumproc
10000
Frequency(Mhz)
1000
100
486
10
8085
1
0.1
1970
8086 286
Power(Watts)
Doublesevery
2years
P6
Pentiumproc
386
8086 286
1
4004
8080
8008
4004
1980
10
8008
486
386
8085
8080
0.1
1971
1990
Year
2000
1974
1978
1985
1992
2000
Year
2010
LeadMicroprocessorspowercontinuestoincrease
LeadMicroprocessorsfrequencydoublesevery2years
Y. S. Chauhan, IIT Kanpur
15
Courtesy,Intel
16
7/31/2015
Power density
1000
100
Rocket
Nozzle
Nuclear
Reactor
8086
10 4004
HotPlate
P6
Pentium proc
8008 8085
386
286
486
8080
1
1970
1980
1990
2000
Year
18KW
5KW
1.5KW
500W
10000
Power(Watts)
PowerDensity(W/cm2)
10000
1000
Pentium proc
100
286
486
8086 386
10
8085
8080
8008
1 4004
0.1
1971
2010
1974
2000 2004
2008
Powerdeliveryanddissipationwillbeprohibitive
Powerdensitytoohightokeepjunctionsatlowtemp
Y. S. Chauhan, IIT Kanpur
17
Macroscopic Issues
Microscopic Problems
Small
SignalRF
18
Time-to-Market
Millions of Gates
High-Level Abstractions
Reuse & IP: Portability
Predictability
etc.
Power
RF
Power
Management
Analog
Baseband
DigitalBaseband
(DSP+MCU)
CellPhone
19
20
7/31/2015
Why Scaling?
MODULE
+
GATE
CIRCUIT
DEVICE
G
S
n+
21
Design Metrics
DesignAutomationisthekey.
Y. S. Chauhan, IIT Kanpur
22
Cost
Reliability
Scalability
Speed (delay, operating frequency)
Power dissipation
Energy to perform a function
Y. S. Chauhan, IIT Kanpur
D
n+
Recurring costs
Silicon processing, packaging, test
proportional to volume
proportional to chip area
23
24
7/31/2015
25
Die Cost
26
Single die
cost:
-per-transistor
1
0.1
0.01
0.001
Wafer
0.0001
0.00001
0.000001
Going up to 12 (30cm)
From http://www.amd.com
27
0.0000001
1982
1985
1988
1991
1994
1997
2000
2003
2006
2009
2012
28
7/31/2015
Yield
Yield
die area
2 die area
29
Defects
30
is approximately 3
die cost f (die area)4
Y. S. Chauhan, IIT Kanpur
31
32
7/31/2015
Reliability
Noise in Digital Integrated Circuits
Crosstalkvs.Technology
v(t)
V DD
PulsedSignal
0.12mCMOS
0.16mCMOS
i(t)
Inductive coupling
Currentchangeonone
wirecaninfluencesignal
ontheneighboringwire
Capacitive coupling
33
Blacklinequiet
Redlinespulsed
0.25mCMOS
Glitchesstrengthvstechnology
0.35mCMOS
FromDunlop,Lucent,2000
34
35
36
7/31/2015
37
Input-Output characteristics of an
Inverter
38
Lets draw.
39
40
10
7/31/2015
DC Operation
Voltage Transfer Characteristic (VTC)
IsitInverter?
Noise Margins
Insensitivity of the inverter output to the
exact value of vI within allowed regions is a
great advantage that digital circuits have
over analog circuits.
Consider an inverter driving inverter.
Exactvalueofinputdoesntmatter.
Y. S. Chauhan, IIT Kanpur
41
Noise Margins
42
Four parameters, VOH, VOL, VIH, and VIL, define the VTC of an
inverter and determine its noise margins
Vout
OH
Vout=Vin
ImportantParametersoftheVTCoftheLogicInverter
VM SwitchingThreshold
V OL
V OL
43
OH
Vin
NominalVoltageLevels
44
11
7/31/2015
Vout=f(Vin)
V(x)
V(y)
V(y)=V(x)
VM
V
0
VIH
V(x)
VDD
VDD
"1"
VOH
NMH = VOH - VIH
Noise Margin High
Noise Margin Low
Slope = -1
IL
V
OL
45
Noise Margins
"0"
Gnd
Gate Input
OL
Y. S. Chauhan, IIT Kanpur
IL
IH
in
46
VIH
Undefined
Region
VIL
Gnd
Gate Output
Slope = -1
OH
Switching Threshold
VOL
out
Undefined
Region
VOL = f (VIH)
VIL
V
IH
VOH = f (VIL)
V
OH
v1
v2
v3
v4
v5
v6
v2
5
V (volts)
V(y)
v0
v1
1
-1
t (nsec)
Y. S. Chauhan, IIT Kanpur
10
48
12
7/31/2015
v1
v2
v3
v4
v5
Noise Immunity
v6
v1 = f(v0) v1 = finv(v2)
out
out
v3
f(v)
finv(v)
v1
v3
v1
finv(v)
v2
in
v0
Regenerative Gate
f(v)
v0
v2
in
Nonregenerative Gate
49
Directivity
50
51
Fan-out N
Fan-in M
52
13
7/31/2015
V out
Ri =
Ro = 0
Fanout =
NMH = NML = VDD/2
g=
53
An Old-time Inverter
5.0
4.0
VOH
NM L
Vout (V)
3.0
VM
NM H
1.0
VOL
0.0
VOL 1.0
VIL
2.0
3.0
Vin (V)
VOH 4.0
V
IH Kanpur
Y. S. Chauhan, IIT
V in
54
Performance
VOH=3.5V
VIH=2.35V
VM=1.64V
NMH=1.15V
VOL=0.45V
VIL=0.66V
NML=0.21V
2.0
Note
Asymmetric
NML is low
Swing=3.05V
5.0
<VDD=5V
55
56
14
7/31/2015
Delay Definitions
Vin
Vout
Vin
Vout
Vin
Propagationdelay
input
waveform
50%
tp =(tpHL +tpLH)/2
tpHL
tpLH
Vout
90%
output
waveform
10%
tf
signalslopes
50%
tr
57
RingOscillator
V
0
v0
v1
v2
v3
v4
v5
v1
vin
v5
T = 2 tp N
where = RC
vout
C
v0
58
N=numberofinverters
59
60
15
7/31/2015
V
0
R
vout
C
V
0
where = RC
Time to reach 90% from 10% point is
vin
where = RC
vout
C
vin
61
62
63
64
16
7/31/2015
A First-Order RC Network
R
vin
A First-Order RC Network
R
vout
vin
CL
Energydissipated V(t)=VDD
fromsource
T
E
= P t dt
01
0
vout
CL
Energydissipated
Vdd
fromsource
T
T
E 0 1 = P t dt = V dd i sup ply t dt = Vdd CL dV out = C L V dd 2
0
0
0
Energytransferred
tocapacitor
T
T
Vdd
1
2
E
= P
t dt = V
i
t
= C V
dV
= --- C V
dd
ca p
cap
out ca p dt
L out out
2 L
0
0
0
Energytransferred
tocapacitor
T V(t)=Vout
E
= P
t dt
ca p
cap
0
Y. S. Chauhan, IIT Kanpur
65
Whereisotherhalf?
66
67
quality metric
of gate = E tp
Y. S. Chauhan, IIT Kanpur
68
17
7/31/2015
Digital
Analog
Digital
1. Computewithcontinuousvaluesof
physicalvariablesinsomerange
Computewithdiscretevaluesofphysical
variables
4.
Noiseisduetothermalfluctuationsin
physicaldevices.
2.
Primitivesofcomputationarisefromthe
physicsofthecomputingdevices:
physicalrelationsoftransistors,
capacitors,resistors,floatinggate
devices,Kirchoffs currentandvoltage
lawsandsoforth.Theuseofthese
primitivesisanartformanddoesnot
lenditselfeasilytoautomation. The
amountofcomputationsqueezedoutof
asingletransistorishigh.
Primitivesofcomputationarisefromthe
mathematicsofBooleanlogic:logicalrelations
likeAND,OR,NOT,NAND,andXOR.Theuseof
theseprimitivesisascienceandlendsitself
easilytoautomation.Thetransistorisusedas
aswitch,andtheamountofcomputation
squeezedoutofasingletransistorislow.
5.
Signalisnotrestoredateachstageofthe Signalisrestoredto1or0ateachstageof
computation.
thecomputation.
6.
Inacascadeofanalogstages,noise
startstoaccumulate.Thus,complex
systemswithmanystagesaredifficultto
build.
Roundofferrordoesnotaccumulate
significantlyformanycomputations.Thus,
complexsystemswithmanystagesareeasy
tobuild.
7.
Staticpowerdissipation
PA=N.VDD.I
Static powerisduetoleakagecurrentsonly.
8.
Littleornodynamicpowerdissipation
DynamicpowerconsumptionPD=N.f.C.VDD2
Computationisoffsetpronesinceitis
sensitivetomismatchesinthe
parametersofthephysicaldevices.The
degradationinperformanceisgraceful.
Computationisnotoffsetpronesinceitis
insensitivetomismatchesintheparameters
ofthephysicaldevices.However,asinglebit
errorcanresultincatastrophicfailure.
3.
69
Inside chip
70
Acknowledgement
Noiseisduetoroundofferror.
71
72
18