Digital Logic Design Lab Spring 2022
Title:Implementation Of 4-Line-To -2-line Encoder & 8-Line-To-3-Line
Encoder
Lab Worksheet #10
Name: ______________________ Semester: ________________
Sapid#: ______________________ Section: _________________
INTRODUCTION & BASIC CONCEPTS:
An encoder performs a function that is the opposite of decoder. It receives one or more
Signals in an encoded format and output a code that can be processed by another logic circuit.
One of the advantages of encoding data, or more often data addresses in computers, is that it
Reduces the number of required bits to represent data or addresses.
Objectives
The objectives of this experiment:
1. To design a 4 × 2 encoder using basic gates s
2. To understand the operation of 4 × 2 encoder.
Equipment Required
IC 74LS08 Cutter
IC 74LS32 Single Core Wire
IC 74LS04 Tweezers
Multi-meter Pair of Pliers
Diagram
4 Outputs
2 inputs 4 2 Encoder
Figure 1. The block diagram of 4 2 Encoder
1
Faculty of computing, Riphah International University, I-14, Islamabad
Digital Logic Design Lab Spring 2022
Logical Diagram of 4 X 2 Encoder:
Function table
Complete the table given below carefully by using circuit developed by you.
Inputs Outputs
D0 D1 D2 D3 Y1 Y2
0 0 0 1
0 0 1 0
0 1 0 0
1 0 0 0
2
Faculty of computing, Riphah International University, I-14, Islamabad
Digital Logic Design Lab Spring 2022
Procedure
• _______________________________________________________________
• _______________________________________________________________
• _______________________________________________________________
• _______________________________________________________________
• _______________________________________________________________
• _______________________________________________________________
• _______________________________________________________________
• _______________________________________________________________
• _______________________________________________________________
• _______________________________________________________________
• _______________________________________________________________
• _______________________________________________________________
• _______________________________________________________________
• _______________________________________________________________
Write a Boolean function for output of 4 x 2 Encoder for Each Case
F(y1, y2)=
Y1___________________________________________________
Y2___________________________________________________
3
Faculty of computing, Riphah International University, I-14, Islamabad
Digital Logic Design Lab Spring 2022
8 x 3 Line Encoder:
3 Outputs
8 inputs 8 3 Encoder
Develop: 8 – To- 3 Line Encoder (using Basic Gates)
4
Faculty of computing, Riphah International University, I-14, Islamabad
Digital Logic Design Lab Spring 2022
Function table
Complete the table given below carefully by using circuit developed by you.
Inputs Outputs
D0 D1 D2 D3 D4 D5 D6 D7 O2 O1 O0
0 0 0 0 0 0 0 1
0 0 0 0 0 0 1 0
0 0 0 0 0 1 0 0
0 0 0 0 1 0 0 0
0 0 0 1 0 0 0 0
0 0 1 0 0 0 0 0
0 1 0 0 0 0 0 0
1 0 0 0 0 0 0 0
Write a Boolean function for output of 8x3 Line Encoder:
Teaching Fellow
Mr. Umar Sultan
Faculty of Computing,
Riphah International University
Sector I-14, Islamabad.
Email: umer.sultan@riphah.edu.pk
The End
5
Faculty of computing, Riphah International University, I-14, Islamabad