CH-1 Logic Families
CH-1 Logic Families
Synthesis
EC9040
Department of Computer Engineering,
Faculty of Engineering
University of Jaffna.
Digital Logic Gates & Family
1
Digital Logic Gates NOT
The electrical circuits which perform logical operations are called gates. A C
0 1 A
All data manipulation is based on logic 1 0
Logic follows well defined rules, producing predictable digital output from certain input.
Main Logic gates are AND, OR, NOT, NAND, NOR and XOR
AND OR NAND NOR XOR
AB C AB C AB C AB C AB C
0 0 0 0 0 0 0 0 1 0 0 1 0 0 0
0 1 0 0 1 1 0 1 1 0 1 0 0 1 1
1 0 0 1 0 1 1 0 1 1 0 0 1 0 1
1 1 1 1 1 1 1 1 0 1 1 0 1 1 0
A A A A A
B C B B B B
Digital logic gates NAND and NOR are called universal logic gate because we can construct
all other logic gates using NAND gate or NOR gate alone.
NOT
NOR
A C
AB C A
0 1
0 0 1 C 1 0
0 1 0
1 0 0 B
A A’
1 1 0
OR AND
AB C AB C A
0 0 0 A 0 0 0 C
0 1 1 C 0 1 0
1 0 1 B 1 0 0 B
1 1 1 1 1 1
5
XOR –Logic Gates
A
B
C
6
Logic Family / Level Of Integration
➢IC logic gates fall under SSI, combinational logic circuits fall under MSI, and
Microprocessor system come under LSI and VLSI.
7
Digital Logic Family
Digital Logic Family
Logic families can be classified broadly according to the
technologies they are built with
The prefix of the part number represents the manufacturer code and the suffix at
the middle denotes the subfamily of the ICs and suffix at the end denotes the
packaging type.
For example: If the part number is S74F08N. The 7408 is the basic number used
by all manufacturer for quad AND gate. The S prefix is the manufacture’s code for
Signetics, F stands for FAST TTL subfamily, and the N suffix at the end is used to
specify the plastic dual in line packaging
OR
XY Z
0 0 0
0 1 1
1 0 1
1 1 1
Diode Logic suffers from voltage degradation from one stage to the next.
Diode Logic only permits OR and AND functions, cannot perform a NOT function.
X Y Z
0 0 0
0 1 1
1 0 1
1 1 1
TTL NOT Gate
Schematic of TTL NOT gate
Resistor Transistor Logic (RTL) Family
In RTL (resistor transistor logic), all the logic are implemented using resistors and
transistors. One basic thing about the transistor (NPN), is that HIGH at input causes
output to be LOW (i.e. like a inverter).
NOR
A
XY Z B
0 0 1
0 1 0
1 0 0
1 1 0
X Y Z
0 0 1
0 1 0
1 0 0
1 1 0
Transistor Transistor Logic (TTL) Family
The idea of variable RC is accommodated by TTL IC. It uses another transistor Q3 in place of
RC to act like a varying resistance.
Q3 is cutoff (act like a high RC ) when output
transistor Q4 is saturated and Q3 is
saturated (act like a low RC ) when output
transistor Q4 is cutoff . Thus one transistor is
ON at one time.
OR VOUT
VIN Q1 Q2 VOUT
0.0 (L) OFF ON 5.0 (H)
5.0 (H) ON OFF 0.0 (L)
CMOS NAND Gate
A B Q1 Q2 Q3 Q4 Z
L L OFF ON OFF ON H
L H OFF ON ON OFF H
H L ON OFF OFF ON H
H H ON OFF ON OFF L
CMOS NOR Gate
A B Q1 Q2 Q3 Q4 Z
L L OFF ON OFF ON H
L H OFF ON ON OFF L
H L ON OFF OFF ON L
H H ON OFF ON OFF L
Transistor Transistor Logic (TTL) Family
One basic function of TTL IC is as a complimenting switch or inverter.
When Vin equals 1 (+5V), the transistor is turned on (saturation) and Vout equals 0 (0V).
When Vin equals 0 (0V), the transistor is turned off and Vout equals 1 (5V), assuming RL > RC
RL +5V
Vout VCC
(R C R L )
IC RC
Thus level 1 of inverter output is very much
dependent on RL , which can typically vary Vout
IB C
by factor of 10. Thus we need very small RC
B
compared to RL i.e. RL > > RC .
RB E
But when transistor is saturated (Vout = 0V), Vin IE RL
IC will be very large if RC is very small. RE
IC 7400
Dual In Line package (DIP) is the most common pin layout for integrated circuits. The pins
are aligned in two straight lines, one on each side of the IC.
21
Transistor Transistor Logic - Dual In Line Packaging (DIP)
IC 7408 IC 7402
IC 7404
Some common digital ICs used in labs are: IC7400 (Quad NAND gate), IC 7404 ( hex
inverter), IC 7408 (quad AND gate) and IC7402 (quad NOR gates).
22
NAND gate using TTL logic / Static analysis
NAND
AB C
0 0 1
0 1 1
1 0 1
1 1 0
A
B
When one or both inputs low (connected to When inputs high, base-emitter junction of
GND), base-emitter junction of Q1 is forward Q1 is reverse bias so Q1 OFF and output at
bias so Q1 ON (saturated) and output at collector will be high making Q2 ON.
collector will be low making Q2 off. Q4 ON and Q3 & D1 OFF so output is LOW.
• Q4 off and Q3 & D1 on making output HIGH. • Power dissipation in R1, Q1, R2, Q2, R3, Q4.
• Power dissipation in R1, Q1, R2, R4, Q3, D1 15
Performance Parameters of logic families
• Fan-out
• Noise Margin
•Power Dissipation.
24
Fan In
• Fan in or gate is the number of inputs that can practically be supported
without degrading practically input voltage level.
•Fan Out is calculated from the amount of current available in the output of
a gate and the amount of current needed in each input of the connecting
gate.
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.
Propagation Delay
28
29
Comparison of a logic family
Evolution of TTL Logic Family TTL 74H Series
TTL 74 Series High speed TTL logic – decrease the
resistance to lower the internal time
Standard TTL logic – saturated constant but increase in Pdis. Typical Pdis
BJT, Obsolete now, Don’t use in =22mW and t = 6ns
new designs
Low power Schottky TTL. Low power, high speed Schottky TTL
Typical Pdis =2mW and t = 10ns logic-Innovations in IC design and
fabrication. Improvement in speed and
power dissipation. Popular.
References