Lecture 18 PDF
Lecture 18 PDF
The multiplexer has two sets of 4-bit active-high inputs 1A, 2A, 3A, 4A and 1B,
2B, 3B, 4B respectively. The multiplexer has 4-bit active-high outputs 1Y, 2Y, 3Y 4Y.
The single select input allows either the 4-bit input A or the 4-bit input B to be connected
to the 4-bit output Y. The G active-low pin enables or disables the Multiplexer.
Inputs Outputs
G S 1Y 2Y 3Y 4Y
1 X 0 0 0 0
0 0 1A 2A 3A 4A
0 1 1B 2B 3B 4B
Expanding Multiplexers
Multiplexers have to be connected together to form larger multiplexer to fulfil
specific application requirements.
1. 8-Input Multiplexer
A single dual, 4-input multiplexer 74X153 can be connected to form an 8-input
multiplexer. The circuit diagram and the function table are shown in fig. 18.2 and table
18.2 respectively. The two active-low enable inputs of the two 4-input multiplexers are
connected together using a NOT gate to form the C input of the 8-input multiplexer.
When C is set to 0, the first multiplexer is selected allowing its inputs 1C0, 1C1, 1C2 and
1C3 to be selected through select inputs A and B. When C is set to 1, the second
multiplexer is selected allowing its inputs and outputs to be used. The two outputs are
connected through an OR gate.
Input Output
C B A F
0 0 0 1C0
0 0 1 1C1
0 1 0 1C2
0 1 1 1C3
1 0 0 2C0
1 0 1 2C1
1 1 0 2C2
1 1 1 2C3
2. 16-Input Multiplexer
Two 74XX153 Dual, 4-input multiplexer can be connected to form a 16-input
multiplexer. The circuit diagram and the function table of the 16 input multiplexer are
shown in Figure 18.3 and table 18.3 respectively.
The select inputs A and B of the two dual, 4-input multiplexers are connected
together which allows selection of any one input out of the four set of 4-bit inputs. The
four active-low multiplexer enable inputs which allow selection of any one of the four
multiplexers are connected to the active-low outputs of a 2-to-4 decoder. The decoder
inputs C and D enable one out of the four multiplexers. The four outputs are connected
together through a 4-input OR gate. The G enable input of the decoder when set to 1
disables the decoder and the multiplexers.
Inputs Output
G D C B A F
1 x x x x 0
0 0 0 0 0 1C0 (M1)
0 0 0 0 1 1C1 (M1)
0 0 0 1 0 1C2 (M1)
0 0 0 1 1 1C3 (M1)
0 0 1 0 0 2C0 (M1)
0 0 1 0 1 2C1 (M1)
0 0 1 1 0 2C2 (M1)
0 0 1 1 1 2C3 (M1)
0 1 0 0 0 1C0 (M2)
0 1 0 0 1 1C1 (M2)
0 1 0 1 0 1C2 (M2)
0 1 0 1 1 1C3 (M2)
0 1 1 0 0 2C0 (M2)
0 1 1 0 1 2C1 (M2)
0 1 1 1 0 2C2 (M2)
0 1 1 1 1 2C3 (M2)
Applications of Multiplexers
Multiplexers are used in a wide variety of applications. Their primary use is to
route data from multiple sources to a single destination. Other than its use as a Data
router, a parallel to serial converter, logic function generator and used for operation
sequencing.
1. Data Routing
A two digit 7-Segment display uses two 7-Segments Display digits connected to
two BCD to 7-Segment display circuits. To display the number 29 the BCD number 0010
representing the MSD is applied at the inputs of the BCD to 7-Segment display circuit
connected to the MSD 7-Segment Display Digit. Similarly, the BCD input 1001
representing the numbers 9 is applied at the inputs of the LSD display circuit. The circuit
uses two BCD to 7-Segment decoder circuits to decode each of the two BCD inputs to the
respective 7-Segment display outputs. Figure 18.5. The display circuit can be
implemented using a single BCD to 7-Segment IC and a Multiplexer.
Ground or 0 volts. 7-Segment displays are of two types, the Common Anode type and the
Common Cathode type.
digits to be seen on the 2-digit display. This circuit can be expanded to incorporate any
number of digits.
An 8-bit parallel data can be converted into serial data by using an 8-to-1
multiplexer such as 74X151 which has 8 inputs and a single output. The 8-bit data which
is to be transmitted serially is applied at the 8 inputs I0-7 of the multiplexer. A three bit
counter which counts from 0 to 7 is connected to the three select inputs S0, S1 and S2. The
counter is connected to a clock which sends a clock pulse to the counter every 1
millisecond. Initially, the counter is reset to 000, the I0 input is selected and the data at
input I0 is routed to the output of the multiplexer. On receiving the clock signal after 1
millisecond the counter increments its count from 000 to 001 which selects I1 input of the
multiplexer and routes the data present at the input to the output. Similarly, at the next
clock pulse the counter increments to 010, selecting I2 input and routing the data to the
output. Thus after 8 milliseconds the parallel data is routed to the output 1-bit at a time.
The output of the multiplexer is connected to the wire through which the serial data is
transmitted. Figure 18.8
0 1 2 3 4 5 6 7
C0
C1
C2
Input Output
A B C Y
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 1
1 1 0 0
1 1 1 1
Figure 18.9 Logic Function Generator based on 3-variable logic function table
4. Operation Sequencing
Many industrial applications have processes that run in a sequence. A paint
manufacturing plant might have a four step process to manufacture paint. Each of the
four steps runs in a sequence one after the other. The second step can not start before the
first step has completed. Similarly, the third and fourth step of the paint manufacturing
process can not proceed unless steps two and three have completed. It is not necessary
that each of the manufacturing steps is of the same duration. Each manufacturing step can
have different time duration and can be variable depending upon the quantity of paint
manufactured or other parameters. Normally, the end of each step in the manufacturing
process is indicated by a signal which is actuated by some machine which has completed
its part of the manufacturing process. On receiving the signal the next step of the
manufacturing process is initiated.
the Decoder. The input to Process 1 is deactivated and Process 2 is activated by Y1. On
completion of Process 2 its output is set to logic 1, which is routed by the multiplexer to
the clock input of the 2-bit counter which increments to the next count. This continues
until Process 4 signals its completion after which the Decoder and the Multiplexer is
deselected completing the manufacturing process.