Upload
rahulrixx
View
230
Download
0
Embed Size (px)
Citation preview
8/10/2019 sWitching theory ppt
1/55
CSET 4650Field Programmable Logic Devices
Dan Solarek
Logic FamiliesIntroduction & Overview
8/10/2019 sWitching theory ppt
2/55
2
Logic Families
Logic Family : A collection of different ICs thathave similar circuit characteristics
The circuit design of the basic gate of each logicfamily is the same
The most important parameters for evaluating andcomparing logic families include :
Logic Levels
Power Dissipation
Propagation delayNoise margin
Fan-out ( loading )
8/10/2019 sWitching theory ppt
3/55
3
Example Logic Families
General comparison or three commonly available logic
families.
the most important to understand
8/10/2019 sWitching theory ppt
4/55
4
Implementing Logic Circuits
There are several varieties of transistorsthe
building blocks of logic gatesthe most important
are:
BJT (bipolar junction transistors)one of the first to be invented
FET (field effect transistors)
especially Metal-Oxide Semiconductor types (MOSFETs)
MOSFETs are of two types: NMOS and PMOS
8/10/2019 sWitching theory ppt
5/55
5
Transistor Size Scaling
Performance improves as size is decreased: shorter switching time, lower power consumption.
2 orders of magnitude reduction in transistor size in 30 years.
8/10/2019 sWitching theory ppt
6/55
6
Moores Law
In 1965, Gordon Moore predicted that the number of
transistors that can be integrated on a die would
double every 18 to 14 months
i.e., grow exponentially with timeConsidered a visionarymillion transistor/chip
barrier was crossed in the 1980s
2300 transistors, 1 MHz clock (Intel 4004/4040) - 1971
42 Million transistors, 2 GHz clock (Intel P4) - 2001
140 Million transistors, (HP PA-8500)
8/10/2019 sWitching theory ppt
7/55
7
Moores Law and Intel
From Intels 4040 (2300 transistors) to Pentium II (7,500,000 transistors) and beyond
8/10/2019 sWitching theory ppt
8/55
8
TTL and CMOS
Connecting BJTs together gives rise to a family of logic gatesknown as TTL
Connecting NMOS and PMOS transistors together gives rise
to the CMOS family of logic gates
BJTMOSFET
(NMOS, PMOS)
TTL CMOS
transistor types
logic gate families
8/10/2019 sWitching theory ppt
9/55
8/10/2019 sWitching theory ppt
10/55
10
Electrical Characteristics
TTL
faster (some versions)
strong drive capability
rugged
CMOS
lower power consumption
simpler to make
greater packing densitybetter noise immunity
Complex ICs contain many millions of transistors
If constructed entirely from TTL type gates would melt
A combination of technologies (families) may be used
CMOS has become most popular and has had greatest development
8/10/2019 sWitching theory ppt
11/55
11
For a High-state gate driving a second gate, we define:
VOH(min), high-level output voltage, the minimum voltage level that a logic
gate willproduce as a logic 1 output.
VIH(min), high-level input voltage, the minimum voltage level that a logic
gate will recognize as a logic 1 input. Voltage below this level will not be
accepted as high.IOH, high-level output current, current that flows from an output in the logic
1 state under specified load conditions.
IIH, high-level input current, current that flows into an input when a logic 1
voltage is applied to that input.
Voltage & Current
Ground
VIH
VOH
I OH I IHTest setup formeasuringvalues
8/10/2019 sWitching theory ppt
12/55
12
For a Low-state gate driving a second gate, wedefine:
VOL(max), low-level output voltage, the maximum voltage levelthat a logic gate willproduce as a logic 0 output.
VIL
(max), low-level input voltage, the maximum voltage levelthat a logic gate will recognize as a logic 0 input. Voltage abovethis value will not be accepted as low.
IOL , low-level output current, current that flows from an outputin the logic 0 state under specified load conditions.
IIL , low-level input current, current that flows into an input when
a logic 0 voltage is applied to that input.
Voltage & Current
Inputs areconnected to Vccinstead ofGround
Ground
VILVOL
IOL IIL
8/10/2019 sWitching theory ppt
13/55
13
Electrical Characteristics
Important characteristics are:
VOHmin
min value of output recognized as a 1
VIHminmin value input recognized as a 1
VILmaxmax value of input recognized as a 0
VOLmax max value of output recognized as a 0
Values outside the given range are not allowed.logic 0
logic 1
indeterminate
input voltage
8/10/2019 sWitching theory ppt
14/55
8/10/2019 sWitching theory ppt
15/55
15
Noise Margin
Manufacturers specify voltage limits to represent the logical0 or 1.
These limits are not the same at the input and output sides.For example, a particular Gate A may output a voltage of 4.8V when itis supposed to output a HIGH but, at its input side, it can take a
voltage of 3V as HIGH.
In this way, if any noise should corrupt the signal, there issome margin for error.
8/10/2019 sWitching theory ppt
16/55
16
Noise Margin
If noise in the circuit is high enoughit can push a logic 0 up or drop alogic 1 down into the indeterminateor illegal region
The magnitude of the voltagerequired to reach this level is thenoise margin
Noise margin for logic high is:NMH= VOHminVIHmin
VOHmin
VIHmin
VILmax
VOLmaxlogic 0
logic 1
indeterminate
input voltage
8/10/2019 sWitching theory ppt
17/55
17
Noise Margin
Difference between the worst case output voltage of
one stage and worst case input voltage of next stage
Greater the difference, the more unwanted signal that
can be added without causing incorrect gateoperation
NMhigh = VOHmin - VIHmin
NMlow= VILmax - VOLmax
8/10/2019 sWitching theory ppt
18/55
18
Given the following parameters, calculate the
noise margin of 74LS series.
Parameter 74LS
VIH(min) 2VVIL(max) 0.8V
VOH(min) 2.7V
VOL(max) 0.4V
Solution:High Level Noise Margin, VNH= VOH(min) - VIH(min)=2.7V-2.0V=0.7V
Low Level Noise Margin, VNL= VIL(max) - VOL(max)=0.8V-0.4V=0.4V
Worked Example
8/10/2019 sWitching theory ppt
19/55
19
Noise immunity of a logic circuit refers to the circuits abilityto tolerate noise voltages on its inputs.
A quantitative measure of noise immunity is called noisemargin
High Level Noise Margin, VNH= VOH(min) - VIH(min)Low Level Noise Margin, VNL= VIL(max) - VOL(max)
Noise Margin & Noise Immunity
Logic 1
Logic 0Logic 0
Logic 1VOH (min)
VOL (max)
VIH (min)
VIL (max)
VNH
VNL
Output Voltage Ranges Input Voltage Ranges
8/10/2019 sWitching theory ppt
20/55
20
Further Important Characteristics
Thepropagation delay (tpd) which is the time
taken for a change at the input to appear at the
output
Thefan-out, which is the maximum number ofinputs that can be driven successfully to either
logic level before the output becomes invalid
8/10/2019 sWitching theory ppt
21/55
21
Speed: Rise & Fall Times
Rise Time
Time from 10% to 90% of signal, Low to High
Fall Time
Time from 90% to 10% of signal, High to Low
rise time
10% 90% 90% 10%
fall time
8/10/2019 sWitching theory ppt
22/55
22
A logic gate always takes some time to change states
tPLHis the delay time before output changes from low to high
tPHLis the delay time before output changes from high to low
both tPLH& tPHL are measured between the 50% points on the
input and output transitions
Speed: Propagation Delay
50%Input
Output
0
0
tPHL tPLH
8/10/2019 sWitching theory ppt
23/55
23
Power Dissipation
Static
I2R losses due to passive components, no input signal
Dynamic
I2R losses due to charging and discharging capacitancesthrough resistances, due to input signal
8/10/2019 sWitching theory ppt
24/55
24
Speed (propagation delay) and power consumptionare the two most important performance parametersof a digital IC.
A simple means for measuring and comparing the
overall performance of an IC family is the speed-power product (the smaller, the better).
For example, an IC hasan average propagation delay of 10 ns
an average power dissipation of 5 mWthe speed-power product = (10 ns) x (5 mW)
= 50 picoJoules (pJ)
Speed-Power Product
8/10/2019 sWitching theory ppt
25/55
25
Logic Family Tradeoffs
Looking for the best
speed/power product
tpand Pd are normally
included in the data
sheet for each device
Older logic families
are the worst
CMOS is one of thebest
FPGAs use CMOS
8/10/2019 sWitching theory ppt
26/55
26
Comparison of Logic Families
8/10/2019 sWitching theory ppt
27/55
27
TTL - ExampleSN74LS00
Recommended operating conditionsVccsupply voltage 5V 0.5 V
input voltages VIH= 2VVIL= 0.8V
Electrical Characteristicsoutput voltage VOH= 2.7V(worst case) VOL= 0.5V
max input currents IIH= 20AIIL= -0.4mA
propagation delay tpd= 15 nS
noise margins for a logic 0 = 0.3Vfor a logic 1 = 0.7V
Fan-out 20 TTL loads
5 Volt
0 Volt
0.8
0.5
2.0
2.7
Input
Range
for 1
Input
Range
for 0
Output
Range
for 0
Output
Range
for 1
8/10/2019 sWitching theory ppt
28/55
28
Fan-In
Number of input signals to a gate
Not an electrical property
Function of the manufacturing process
NAND gate with a
Fan-in of 8
8/10/2019 sWitching theory ppt
29/55
29
Fan-Out
A measure of the ability of the output of one gate todrive the input(s) of subsequent gates
Usually specified as standard loads within a singlefamily
e.g., an input to an inverter in the same family
May have to compute based on current driverequirements when mixing families
Although mixing families is not usually recommended
8/10/2019 sWitching theory ppt
30/55
30
VOH
IIH
Low
VOL
IIL
High
Current Sourcing and Sinking
Current-source : the driving gate produces a
outgoing current
Current-sinking : the driving gate receives an
incoming current
8/10/2019 sWitching theory ppt
31/55
31
Fan-Out
An illustration of fan-out and the associated sourceand sink currents
8/10/2019 sWitching theory ppt
32/55
32
How many 74LS00 NAND gate inputs can be driven
by a 74LS00 NAND gate outputs ?
Solution:Refer to data sheet of 74LS00, the maximum values of
IOH = 0.4mA, IOL= 8mA, IIH= 20uA, and IIL= 0.4mA
Hence,
fan-out(high) = IOH(max) / IIH(max)=0.4mA/20uA=20
fan-out(low) = IOL(max) / IIL(max)=8mA/0.4mA=20,
the overall fan-out = fan-out(high) or fan-out(low) whichever is lower.
Hence, overall fan-out = 20
Worked Example
8/10/2019 sWitching theory ppt
33/55
33
A logic gate can supply a maximum outputcurrentIOH(max), in the high state or
IOL(max), in the low state
A logic gate requires a maximum inputcurrentIIH(max), in the high state or
IIL(max), in the low stateRatio of output and input current decide how many logicgates can be driven by a logic gate
fan-out(high) = IOH(max) / IIH (max)
fan-out(low) = IOL(max) / IIL(max)
overall fan-out = fan-out(high) or fan-out(low) whichever is lower
A typical figure of fan-out is ten (10)
Gate Drive Capability: Fan-Out
8/10/2019 sWitching theory ppt
34/55
34
Wired-AND
Open collector outputs connected together to a common pull-up resistor
Any collector can pull the signal line low
Logically an AND gate
8/10/2019 sWitching theory ppt
35/55
35
Tri-State Logic
Both output transistors of totem-pole output are turned off
Usually used to bus multiple signals on the same wire
Gates not enabled present high-Z to bus and therefore do
not interfere with other gates putting signals on the bus
8/10/2019 sWitching theory ppt
36/55
8/10/2019 sWitching theory ppt
37/55
37
Electronic Combinational Logic
Within each of these families there is a large variety of different devicesWe can break these into groups based on the number gates per device
Acronym Description No Gates Example
SSI Small-scale integration 1M 80486/80586
8/10/2019 sWitching theory ppt
38/55
38
SSI Devices
Each package contains a code identifying the package
N74LS00
Manufacturers Code
N = National Semiconductors
SN = Signetics
Specification
Family
LLS
H
Member00 = Quad 2 input NAND
02 = Quad 2 input Nor
04 = Hex Invertors
20 = Dual 4 Input NAND
8/10/2019 sWitching theory ppt
39/55
39
7400 Series History
1960s space program drove
development of 7400 seriesConsumed all available devices for
internal flight computer
$1000 / device (1960 dollars)
10:1 integration improvement over
discrete transistors
1963 Minuteman missile forced
7400 into mass productionDrove pricing down to $25 / circuit
(1963 dollars)
8/10/2019 sWitching theory ppt
40/55
40
7400 Series Evolution
BJT storage time reduction by using a BC Schottky diode.
Schottky diode has a Vfw=0.25V. When BC junction becomes forward
biased Schottky diode will bypass base current.
B
C
8/10/2019 sWitching theory ppt
41/55
41
Too Much of a Good Thing?
Families
Packages
Reliability options
Speed grades
Features
Functions
An availability nightmare! >> 500K unique devices
Diff t F ili D t ll S k
8/10/2019 sWitching theory ppt
42/55
42
Different Families Dont all Speakthe Same Language
8/10/2019 sWitching theory ppt
43/55
43
Sometimes Things Get Lost orAdded in the Translation*
Different families arent always on speaking terms with one another
8/10/2019 sWitching theory ppt
44/55
44
The World of TTL
8/10/2019 sWitching theory ppt
45/55
45
Success Drives Proliferation
New families introduced based onHigher performance
Lower power
New features
New signaling threshold
Spawned over 32 unique families!
19602003
8/10/2019 sWitching theory ppt
46/55
46
Success Drives Proliferation
Products introduced in the 1960are near the end of their lifecycle
Decreasing supplier base
Increasing prices
Not recommended for newdesigns
Products considered to bemature are about 2 decadesinto their life cycle
High-volume production
Multiple suppliers
Low prices
Newer products are only a fewyears into their life cycle
High performanceHigh level of vendor andsupplier support
Newest technologies
Higher prices
8/10/2019 sWitching theory ppt
47/55
47
Characteristics: TTL and MOS
TTL stands for Transistor-Transistor Logic
uses BJTs
MOS stands for Metal Oxide Semiconductoruses FETs
MOS can be classified into three sub-families:
PMOS (P-channel)
NMOS (N-channel)CMOS (Complementary MOS, most common)
Remember:
8/10/2019 sWitching theory ppt
48/55
48
A
B Y O/P
+Vcc
Q1
Q
2
Q3
Q4
4K 1.6K 130R1 R2
R3
R4
1K
I CQ1
D 3
D1 D2
A B ICQ1
Q1
Q2
Q3
Q4
Y O/P
0 0 + ON OFF OFF ON 1
0 1 + ON OFF OFF ON 1
1 0 + ON OFF OFF ON 1
1 1 OFF ON ON OFF 0
A standard TTL NAND gate circuit
Table explaining the operation of the
TTL NAND gate circuit
TTL Circuit Operation
8/10/2019 sWitching theory ppt
49/55
49
Transistor-Transistor Logic Families
Transistor-Transistor Logic Families:
74L Low power
74H High speed
74S Schottky74LS Low power Schottky
74AS Advanced Schottky
74ALS Advance Low power Schottky
8/10/2019 sWitching theory ppt
50/55
50
+VDD
O/P
I/P
S
D
D
S
Q
Q
1
2
I / P Q1 Q2 O / P
0 O N O F F 1
1 O F F O N 0
Table explaining the operation ofthe CMOS inverter circuit
A CMOS inverter circuit
MOS Circuit Operation
8/10/2019 sWitching theory ppt
51/55
51
CMOS Logic Families
CMOS Logic Families
40xx/45xx Metal-gate CMOS
74C TTL-compatible CMOS74HC High speed CMOS
74ACT Advanced CMOS -TTL compatible
8/10/2019 sWitching theory ppt
52/55
52
CMOS Family Evolution
CMOS Logic Trend: Reduction of dynamic losses
(cross-conduction, capacitive charge/discharge cycles)
by decreasing supply voltages:
12V5V 3.3V 2.5V 1.8V 1.5V
Reduction of IC power dissipation is the key to:lower cost (packaging)
higher integration
improved reliability
8/10/2019 sWitching theory ppt
53/55
53
Comparison of Logic Families
vi
vo
8/10/2019 sWitching theory ppt
54/55
54
Comparison Logic Families
8/10/2019 sWitching theory ppt
55/55
Comparison of Logic Families
speed power product = a constant