Logic Families
Logic Families
Logic Families
Dan Solarek
Logic Families
Logic Family : A collection of different ICs that have similar circuit characteristics The circuit design of the basic gate of each logic family is the same The most important parameters for evaluating and comparing logic families include :
Logic Levels Power Dissipation Propagation delay Noise margin Fan-out ( loading )
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 time
From Intels 4040 (2300 transistors) to Pentium II (7,500,000 transistors) and beyond
BJT
transistor types
TTL
CMOS 8
Electrical Characteristics
TTL
faster (some versions) strong drive capability rugged
CMOS
lower power consumption simpler to make greater packing density better 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 10
I OH VOH
I IH VIH
11
OL
I IL
V IL
V OL
12
Electrical Characteristics
logic 1
logic 0
13
Logic 1
14
Noise Margin
Manufacturers specify voltage limits to represent the logical 0 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 it is 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 is some margin for error.
15
Noise Margin
If noise in the circuit is high enough it can push a logic 0 up or drop a logic 1 down into the indeterminate or illegal region The magnitude of the voltage required to reach this level is the noise margin Noise margin for logic high is:
NMH = VOHmin VIHmin
VOHmin VIHmin
logic 1
logic 0
VILmax VOLmax
16
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 gate operation
NMhigh = VOHmin - VIHmin
Worked Example
Given the following parameters, calculate the noise margin of 74LS series.
Parameter VIH(min) VIL(max) VOH(min) VOL(max) 74LS 2V 0.8V 2.7V 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
18
VNH
VNL
19
20
Fall Time
Time from 90% to 10% of signal, High to Low
rise time fall time
10%
90%
90%
10%
21
50%
Power Dissipation
Static
I2R losses due to passive components, no input signal
Dynamic
I2R losses due to charging and discharging capacitances through resistances, due to input signal
23
Speed-Power Product
Speed (propagation delay) and power consumption are the two most important performance parameters of a digital IC. A simple means for measuring and comparing the overall performance of an IC family is the speedpower product (the smaller, the better). For example, an IC has
an average propagation delay of 10 ns an average power dissipation of 5 mW the speed-power product = (10 ns) x (5 mW) = 50 picoJoules (pJ)
24
26
5 Volt
Electrical Characteristics
output voltage (worst case) max input currents
propagation delay noise margins Fan-out
27
Fan-In
Number of input signals to a gate
Not an electrical property Function of the manufacturing process
28
Fan-Out
A measure of the ability of the output of one gate to drive the input(s) of subsequent gates Usually specified as standard loads within a single family
e.g., an input to an inverter in the same family
May have to compute based on current drive requirements when mixing families
Although mixing families is not usually recommended
29
Low
IIH
Fan-Out
An illustration of fan-out and the associated source and sink currents
31
Worked Example
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 32
Ratio of output and input current decide how many logic gates 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
33
Wired-AND
Open collector outputs connected together to a common pullup resistor Any collector can pull the signal line low Logically an AND gate
34
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
35
Tri-State Logic
Tri-state logic includes a switch at the output In the figure below, the three states are illustrated:
a) Logic High output b) Logic Low output c) High impedance (Hi-Z) output
36
Description Small-scale integration Medium-scale integration Large-scale integration Very large-scale integration
37
SSI Devices
Each package contains a code identifying the package
N74LS00
Manufacturers Code N = National Semiconductors SN = Signetics Specification
Family L LS H
Member 00 = Quad 2 input NAND 02 = Quad 2 input Nor 04 = Hex Invertors 20 = Dual 4 Input NAND
38
40
42
43
44
2003
1960
45
Products considered to be mature are about 2 decades into their life cycle
High-volume production Multiple suppliers Low prices
Newer products are only a few years into their life cycle
High performance High level of vendor and supplier support Newest technologies Higher prices
46
47
A 0 0
Y O/P Q 3
B 0 1 0 1
ICQ1 + + +
Q1 ON ON ON OFF
Q4 ON ON ON OFF
Y O/P 1 1 1 0
D3
1 1
48
49
Q1
D D
O/P Q2
I/P 0 1
Q1 ON OFF
Q2 OFF ON
O/P 1 0
I/P
50
51
52
vi
53
54
55