INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING
Digital Logic Design Laboratory
Lab 4
Multiplexers
Full name: …………………………………………….
Student number: ………………………………….
Class: ……………………………………………….......
Date: …………………………………………………....
Digital Logic Design Laboratory 1-8
INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING
I. Objectives
In this laboratory, students will study:
- Understand and design a multiplexer.
- Use a multiplexer and design/implement a circuit based on a function definition.
- Design combinational circuits using MUX.
II. Procedure
1. Design multiplexer using logic gates
a. Design 2-to-1 multiplexer using logic gates:
A 2-to-1 multiplexer has I0 and I1 are the two inputs, S is the selector input, and Y is
the output. When S = 0 then Y = I 0 but when S = 1 then Y = I 1. The Figure 1 shows the
illustration of MUX 2-1.
I0
Y
I1 MUX 2- 1
Figure 1. The illustration of MUX 2-1.
Built the truth table:
Input Output
S I0 I1 Y
Digital Logic Design Laboratory 2-8
INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING
The expressions:
Implement the circuit via simulation software and paste the result in here
Make comment on the results
b. Design 4-to-1 MUX using logic gates.
Build the circuit. The inputs S0, S1, I0, I1, I2, I3 are driven by 6 switches.
Input Output
S0 S1 I0 I1 I2 I3 Y
0 0 0 X X X
0 0 1 X X X
0 1 X 0 X X
0 1 X 1 X X
1 0 X X 0 X
1 0 X X 1 X
1 1 X X X 0
1 1 X X X 1
Digital Logic Design Laboratory 3-8
INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING
The expressions:
Implement the circuit via simulation software and paste the result in here
Make comment on the results
c. Design 4-to-1 MUX using 3 MUX 2-1.
Implement the circuit via simulation software and paste the result in here
Make comment on the results
2. Investigate IC 8-to-1 Multiplexer (74HC151)
Digital Logic Design Laboratory 4-8
INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING
Construct the circuit as below:
Figure 2. IC 8-to-1 Multiplexer (74HC151)
- 2 outputs are connected by using LEDs.
- The inputs are controlled by switches.
- Observe the results and fulfill the truth table
INPUT OUTPUT
S2 S1 S0 E Y Y
X X X 1 0 1
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 0
Implement the circuit via simulation software and paste the result in here
Briefly describe the operation of the IC
Digital Logic Design Laboratory 5-8
INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING
3. Implement the 3-variable logic function using 74HC151
- Implement Boolean expression using IC 74HC151.
- The data inputs S0, S1, S2 are connected to switches.
- Implement the circuit and verify the truth table
a. f (S 2 , S1 , S 0)= ∑ ( 1,3,5,6)
S2 S 1 S 0
Implement the circuit via simulation software and paste the result in here
Make comment on the results
b. f (S 2 , S1 , S 0)= ∑ (2,3,4,7)
S 2 S 1 S0
Implement the circuit via simulation software and paste the result in here
Digital Logic Design Laboratory 6-8
INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING
Make comment on the results
4. Implement the 4-variable logic function using 74HC151
a. Implement the connected diagram using 74HC151.
Construct the circuit as Figure 3:
Change the logic levels of the inputs C, B, A.
Observe and make comment on the results.
Implement the circuit via simulation software and paste the result in here
Digital Logic Design Laboratory 7-8
INTERNATIONAL UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING
Write down the expression of f (D , S 2 , S 1 , S0 ) and make comments on the results
b. Implement logic expression using 74HC151
Given the expression:
f ( D , S2 , S 1 , S 0 ) =D S2 S 1 S 0+ S 2 S1 S 0 +S 2 S1 S 0 + D S 2 S1 S 0
Draw the block diagram
Implement the circuit via simulation software and paste the result in here
Make comments on the results
Digital Logic Design Laboratory 8-8