Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
3-6 Encoders
3-7 Multiplexers
Convert numbers to be
displayed
BCD
to 7-segment
display decoder
Hex
to 7-segment
display decoder
7-Segment Display
Configuration
Common Anode
Requires logic 0 to
light up (ON) a
segment.
Common Cathode
Requires logic 1 to
light up (ON) a
segment.
3-5 DECODERS
n
DECODER
m 2n
Converts binary information, from n coded inputs to
a maximum of 2n outputs
3-5 DECODERS
Functional Specs:
To
3-to-8-Line Decoder
A 2-to-4-Line Decoder
Decoder Expansion
Its Operation
Enable Input
Very
Exercise
Construct
using:
Four
a 6-to-64-line decoder,
Combinational Circuit
Implementation of
Decoders
Binary Adder
Implementing a Binary
Adder Using a Decoder
S(X,Y,Z) = m (1, 2, 4, 7)
C(X,Y,Z) = m (3, 5, 6, 7)
3 inputs and 8 minterms
3-6 ENCODERS
m
ENCODER
m 2n
3-6
ENCODERS
Inverse
operation of decoder.
The output lines generate the binary
code corresponding to the input value.
Assume only 1 input has the value of 1
at any given time.
Example:
Octal-to-binary encoder.
Priority Encoder
e.g.
D3 = D6 = 1
Output = 110
(D6 has a higher priority than D3)
Priority Encoder
3-7 Multiplexers
(Pemultipleks)
Selects
The
Mutiplexer (MUX)
4-to-1-Line Multiplexer
Multiplexer
Also
called MUX.
Resembles a decoder circuit.
2n input lines.
n selection inputs (SEL0, , SELn).
Can be constructed from:
Decoders.
Transmission gates.
Multiplexer
May
EN
Quadruple 2-to-1-Line
Multiplexer
Quadruple 2-to-1-Line
Multiplexer
Implementing a Boolean
Function with a Multiplexer
A multiplexer is basically a decoder that
includes the OR gate within the block.
To implement a Boolean function of n
variables with a mux having n selection
inputs and 2n data inputs, one for each
minterm.
Implementing a Boolean
Function with a Multiplexer
Example 1:
F (X,Y,Z) = m (1, 2, 6, 7)
Example 1
Implementing a Boolean
Function with a Multiplexer
General procedure:
1.
2.
3.
Implementing a Boolean
Function with a Multiplexer
4.
5.
Example 2
Demultiplexer
1-to-4-Line Demultiplexer
Adders &
Multipliers
To be covered in Lab 3 Preview