Logic Families and Characteristics
Logic Families and Characteristics
Introduction
Gate Characteristics
Logic Families
Logic Family Characteristics
A Comparison of Logic Families
Complementary Metal Oxide Semiconductor
Transistor-Transistor Logic
Introduction
Earlier we looked at a range of digital
applications based on logic gates at
that time we treated the gates as
black boxes
We will now consider the construction
of such gates, and their
characteristics
Gate Characteristics
The inverter or NOT gate
consider the characteristics of a simple
inverting amplifier as shown below
we normally use only the linear region
Gate Characteristics
We can use an inverting amplifier as
a logical inverter but using only the
non-linear region
Gate Characteristics
We can use an inverting amplifier as
a logical inverter but using only the
non-linear region
Gate Characteristics
Choose input values to ensure that
always are outside of the linear region
as in (a)
Unlike linear amplifiers, use circuits with
a rapid transition between the nonlinear regions as in (b)
Gate Characteristics
Logic levels
The voltage ranges representing 0 and 1
represent the logic levels of the circuit
Often logic 0 is represented by a voltage close
to 0 V but the allowable voltage range varies
considerably
The voltage used to represent logic 1 also
varies greatly. In some circuits it might be 2-4
V, while in others it might be 12-15 V
In order for one gate to work with another the
logic levels must be compatible
Gate Characteristics
Noise immunity
Noise is present in all real systems
To cope with noise, the voltage ranges defining
the logic levels are more tightly constrained at
the output of a gate than at the input
Thus small amounts of noise will not affect the
circuit
The maximum noise voltage that can be
tolerated by a circuit is termed its noise
immunity, VNI
Gate Characteristics
Transistors as switches
Both FETs and bipolar transistors make
good switches
Both forms of device take a bit of time
to switch and this produces a slight
delay in the operation of the gate
This is termed the propagation delay
of the circuit
FET -Switch
The FET as a logical switch
FET-Switch characteristics
Rise and fall times
Because the waveforms are not
perfectly square there is a way of
measuring switching times
Measure the rise time, tr and fall time,
tf as shown below:
Logic Families
Different devices use different voltages ranges for
their logic levels
They also differ in other characteristics
In order to assure correct operation when gates are
interconnected they are normally produced in
families
The most widely used families are:
Complementary Metal Oxide Semiconductor
(CMOS)
Transistor-Transistor Logic (TTL)
Emitter-Coupled Logic (ECL)
A Comparison of Logic
Families
Parameter
CMOS
TTL
ECL
Basic gate
NAND/NOR
NAND
OR/NOR
>50
10
25
1 @ 1 MHz
1 - 22
4 - 55
Excellent
Very good
Good
1 - 200
1.5 33
1-4
Fan-out
Power per gate (mW)
Noise immunity
tPD (ns)
Inverter
CMOS Characteristics
CMOS logic levels and noise
immunity
Transistor-Transistor Logic
Discrete TTL inverter and NAND
gate circuits
TTL Circuits
TTL Inverter
Transistor-Transistor Logic
A basic integrated circuit TTL
NAND gate
Transistor-Transistor Logic
A standard TTL NAND gate
TTL Circuits
TTL Circuits
Key Points
Physical gates are not ideal components
Logic gates are manufactured in a range of logic
families
The ability of a gate to ignore noise is its noise
immunity
Both MOSFETs and bipolar transistors are used in
gates
All logic gates exhibit a propagation delay when
responding to changes in their inputs
The most widely used logic families are CMOS and
TTL
CMOS is available in a range of forms offering high
speed or very low power consumption
TTL logic is also produced in many versions, each
Logic levels
TTL Circuits
Primary
Memory
Secondary
Memory
I/O
Data
Address
Control
35
Tri-State Logic
The problem with connecting multiple
normal outputs together on a bus is that
each has to be in one logic state (0) or the
other (1) - driving voltage on each bus
signal high or low
This represents a conflict over the state of
the signal
Logically
Electrically
Truth Table
We resolve this conflict with tri-state logic
A
enable
+5v
output
0v
enable
0
0
1
1
A
0
1
0
1
Output
(Z)
(Z)
1
0
37
Bus
Device
enableout
38
39
Bus Arbitration
Bus arbitration is used to hand off a
bus between one of several potential
bus masters using signals that are a
part of the bus itself
A bus arbitration protocol
implements some form of bus
request and bus grant handshake to
determine which device will be the
master on the bus for the next bus
cycle
40
41
DMAC Operation
When requested, the DMAC arbitrates with
the CPU to be the master on the address
and control busses
It executes a bus cycle to transfer a byte
of data from memory (or I/O device) to I/O
device (or memory)
While DMA controller is bus master, the
CPU can not access memory or I/O devices
This is called Cycle Stealing (the DMA
controller steals bus cycles from the
processor)
44
DMAC
DMA Request
Memory
Processor
Time
45
46
Hi-Impedance Outputs
Three-state logic adds a third logic value, HiImpedance (Hi-Z), giving three states: 0, 1, and
Hi-Z on the outputs.
The presence of a Hi-Z state makes a gate output
as described above behave quite differently:
1 and 0 become 1, 0, and Hi-Z
cannot becomes can, and
only one becomes two
Hi-Impedance Outputs
(continued)
Symb
ol
IN
OUT
EN
Truth
Table
EN IN
0
1
1
X
0
1
OUT
Hi-Z
0
1