EEE3821 Chapter7 Decoder MUX
EEE3821 Chapter7 Decoder MUX
EEE3821 Chapter7 Decoder MUX
Chapter 3
EEE3821
DIGITAL CIRCUITS
CHAPTER 7 ENCODERS & MULTIPLEXERS
1
to explain and analyse decoders & encoders in digital
circuits applications.
ENABLE
inputs
(a)With E’2=1, the decoder is disabled and all of its output will
be in their inactive HIGH state.
(b) All of the enable inputs are activated, so the decoding portion
is enabled. It will decode the input code 0112=310 to activate the
output O’3.This the O’3 will be LOW and all other outputs will be
HIGH.
10
Decoders
7442
BCD-to-decimal
decoder.
This decoder
does not have
an enable input.
13
Review Questions :
Solutions:
1. No
2. To enable input controls whether or not the decoder logic responds to
the input binary code
3. 7445 has open-collector output that can handle up to 30V and 80 mA.
4. 24 pins : 2 enables, 4 inputs, 16 outputs, Vcc and ground.
14
BCD-to-7 Segment Decoder/Drivers
• The 7-segment display is a common way to display decimal or hexadecimal
characters.
• One common arrangement uses light emitting diodes (LEDs) for each segment.
The 7446/47
activates specific
segment patterns
in response to
input codes
18
BCD-to-7 Segment Decoder/Drivers
This is a common-
anode LED display.
The anodes all of
segments are tied
together to VCC .
solution
1. An encoder produces an output code corresponding to the activated input. A
decoder activates one output corresponding to an applied input code.
2. In priority encoder, the output code corresponds to the highest-numbered input
that is activated.
3. Normal BCD=0110
25
Multiplexers (Data Selectors)
• A multiplexer (MUX) selects 1 of N input data sources and transmits the
selected data to a single output—called multiplexing.
• A digital multiplexer or data selector is a logic circuit that performs the same task.
Solutions:
The enable input must be active; E’=0. In order for Za to equal Ioa,
the select input must be LOW. These same conditions will produce
Zb=Iob, Zc=Ioc, Zd=Iod
With E’=0, S=1, the outputs will follow the set of I1 inputs; that is
Za= I1a Zb=I1b, Zc=I1c, Zd=I1d
30
Other types of Mux:
31
Multiplexer Applications
• Multiplexer circuits find numerous and varied applications in digital
systems of all types.
• Data selection/routing, parallel-to-serial conversion.
• Operation sequencing.
• Waveform/logic-function generation.
System for
S=0, output from displaying two
Counter 2 will be multi digit BCD
allowed to pass counters one at
through the Mux a time.
to decoder to be
displayed on the
LED readouts.
Waveforms for
X7X6X5X4X3X2X1X0
A three-bit
counter is used 10110101
to provide the
select code bits The LSB (X0) is transmitted
S2S1S0. (cycle first and the MSB (X7) is
from 000 – 111) transmitted last.
Digital Systems: Principles and
Applications, 11/e
Ronald J. Tocci, Neal S. Widmer,
Gregory L. Moss
Multiplexer Applications
Multiplexer used to implement a logic
function described by the truth table.
36
Demultiplexers (Data Distributors)
• A demultiplexer (DEMUX) takes a single input and distributes it
over several outputs.
• The select input code determines to which output
the DATA input will be transmitted.
A 1 line to 8 line
demultiplexer.
They produce a
HIGH when a door
is open and a LOW
when it is closed.
40
Demultiplexers (Data Distributors)
Synchronous data transmission system
A synchronous data
transmission system that is
used to transmit four, four-
bit words serially from a
transmitter to a remote
receiver.
Synchronous data
transmission
system
receiver block
1. A MUX selects one of many inputs signals to be passed to its output; a DEMUX
selects one of many outputs to receive the input signal.
2. True; provided that the decoder has an ENABLE input
3. The LEDs will go on and off in sequence
44
Question
Consider the system of security monitoring system as in
previous slide. Assume that the clock frequency is 10 pps.
Describe what the monitoring panel indications will be for
each of the following cases.
45