0% found this document useful (0 votes)
218 views5 pages

Title:Implementation of 4-Line-To - 2-Line Encoder & 8-Line-To-3-Line Encoder Lab Worksheet #10

This document describes a lab experiment on implementing 4-line to 2-line and 8-line to 3-line encoders using logic gates. The objectives are to design and understand the operation of these encoders. It provides details on the required equipment, diagrams of the encoder block and logic diagrams, truth tables to complete, procedures to implement the circuits using gates, and Boolean functions for the outputs. The lab worksheet is for a digital logic design course and aims to have students design and test the different encoders using a logic gate simulator.

Uploaded by

MUNEEB SHAH
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
218 views5 pages

Title:Implementation of 4-Line-To - 2-Line Encoder & 8-Line-To-3-Line Encoder Lab Worksheet #10

This document describes a lab experiment on implementing 4-line to 2-line and 8-line to 3-line encoders using logic gates. The objectives are to design and understand the operation of these encoders. It provides details on the required equipment, diagrams of the encoder block and logic diagrams, truth tables to complete, procedures to implement the circuits using gates, and Boolean functions for the outputs. The lab worksheet is for a digital logic design course and aims to have students design and test the different encoders using a logic gate simulator.

Uploaded by

MUNEEB SHAH
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Digital Logic Design Lab Spring 2021

Title:Implementation Of 4-Line-To -2-line Encoder & 8-Line-To-3-Line


Encoder

Lab Worksheet #10


Name: SYED MUNEEB Semester: 2ND

Sapid#: 25420 Section: CYBER SECURITY


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 decoder using basic gates


2. To understand the operation of 4 × 2
decoder.
Equipment Required Cutter
IC 74LS08 Single Core Wire
IC 74LS32 Tweezers
IC 74LS04 Pair of Pliers
Multi-meter

Diagram

2 inputs 4  2 Encoder
4 Outputs

Figure 1. The block diagram of 4  2 Encoder

1
Faculty of computing, Riphah International University, I-14, Islamabad
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 0 0 1
0 1
0 0 1 0
1 0
0 1 0 0
1 1
1 0 0 0
Procedure

1) Firstly, we will open logic gate simulator.


2) Then we will add 8 inputs which will take inputs
3) And select OR and gate
4) Implement the circuit using and gate which IC is 7432
5) Connect the inputs to the input switches.
6) Connect the outputs to the switches.
7) Apply various combinations of inputs according to the truth table and
observe the condition of LEDs.
8) Note down the corresponding output readings for various combinations of
inputs.

Write a Boolean function for output of 4 x 2 Encoder for Each Case


F (y1, y2) =
Y1: D0’D1D2’D3’+D0D1’D2’D3’= D3+D1

Y2: D0’D1’D2D3’+D0D1’D2’D3’=D3+D1
8 x 3 Line Encoder:

8  3 Encoder 3 Outputs
8 inputs

Develop: 8 – To- 3 Line Encoder (using Basic Gates)


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 0 0 0 1 0 0 0 1
0 0 0 0 0 1 0 0 0 1 0
0 0 0 0 1 0 0 0 0 1 1
0 0 0 1 0 0 0 0 1 0 0
0 0 1 0 0 0 0 0 1 0 1
0 1 0 0 0 0 0 0 1 1 0
1 0 0 0 0 0 0 0 1 1 1

Write a Boolean function for output of 8x3 Line Encoder:

O0:D1+D2+D5+D7
O1:D2+D3+D6+D7
O2:D4+D5+D6+D7

Teaching Fellow
Mr. Umar Sultan
Faculty of Computing,
Riphah International University
Sector I-14, Islamabad.
Email: umer.sultan@riphah.edu.pk

The End

You might also like