0% found this document useful (0 votes)
31 views12 pages

Expt 2 For Print

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)
31 views12 pages

Expt 2 For Print

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/ 12

Experiment No: 2 Digital Electronics

Experiment No: 2
Study of IC-74LS138 as a Demultiplexer / Decoder.Design and Implement full
adder and subtractor function using IC-74LS138.Design & Implement 3-bit
code converter using IC-74LS138. (Gray to Binary/ Binary to Gray).

Name of the Student: ____________________________

Class: _________________ Batch: ___________

Date of Performance: ____________________________

Signature of the Staff: ___________________________

VPKBIET, Baramati Page 1


Experiment No: 2 Digital Electronics

TITLE: DEMULTIPLEXER/ DECODER


AIM: Study of IC-74LS138 as a Demultiplexer / Decoder.
 Design and Implement full adder and full subtractor function using IC-74LS138.
 Design & Implement 3-bit code converter using IC-74LS138. (Gray to Binary/ Binary to
Gray).
LEARNING OBJECTIVE:
 To learn about IC 74138 and its internal structure.
 To realize Full Adder, Full Subtractor, Gray to Binary/ Binary to Gray code converter using
IC 74138.

COMPONENTS REQUIRED: IC 74138, IC 7400, IC 7432, CDS, wires, Power supply.


IC PINOUT:

1) IC 74138

2) IC 7400: 3) IC 7432

VPKBIET, Baramati Page 2


Experiment No: 2 Digital Electronics

THEORY:
Demultiplexer:
 Demultiplexer is a logic circuit used to perform exactly reverse function performed by
multiplexer.
 It accepts a single input and distributes among several outputs. The selection of a particular
output line is controlled by a set of selection line. Hence, demultiplexer is equivalent to a
single pole multiple way switch.
 There are ‘n’ output lines & ‘2 m’ is the number of selection line whose bit combinations
determine which output to be selected.

Fig1: Bock Diagram of 1: n DEMUX

Types of Demultiplexer

1. 1:2 Demux 2. 1:4 Demux 3. 1:8 Demux


4. 1:16 Demux 5. 1:32 Demux

VPKBIET, Baramati Page 3


Experiment No: 2 Digital Electronics

1:4 Demux:
 The 1:4 Demux is shown in fig. & its truth table is given below.
 Input D is connected to Y0 when S 1S0= 00 it is connected to Y1 when S1S0= 01 & so on, the
other output will remain zero. The enable input ‘E’ needs to high in order to enable the
Demux. If E=0 then all the outputs will be low irrespective of any input.

Fig. (a) Block diagram of 1:4 Demux (b)Truth Table

Fig (c) Logic Diagram

Decoder:

VPKBIET, Baramati Page 4


Experiment No: 2 Digital Electronics

A decoder is a combinational circuit. Figure shows block diagram of decoder. It has ‘m’ inputs
and ‘n’ outputs where ‘n= 2m’ outputs. Decoder is identical to demultiplexer without any data
input.

Fig. Block Diagram of Decoder

2: 4 Decoder
The block diagram of 2:4 decoder is shown in figure A and B are the two inputs where as Y0 to
Y3 are the four outputs. Truth table shows output is ‘1’ for only a specific combination of inputs.

Fig. (a) Block diagram of 2: 4 Decoder (b) Truth table

VPKBIET, Baramati Page 5


Experiment No: 2 Digital Electronics

Fig. (c) Logic Diagram

Difference between demultiplexer and decoder


Sr. Parameter Demultiplexer Decoder
No.
1 Number of data inputs One More than one
2 Select Inputs Present Absent
3 Applications As a distributor switch, in Code converter, relay actuator,
TDM system at receiving end. BCD to seven segment decoder.

1:8 demux operated as 3:8 decoder:

Fig. Use of 1:8 demux as 3:8 decoder

VPKBIET, Baramati Page 6


Experiment No: 2 Digital Electronics

Truth Table

In order to operate 1:8 demux as 3:8 decoder, the connections are to be made as shown in
figure. The data input Din is connected to logic 1 permanently. The three select inputs S0, S1, S2
will act as three inputs of the decoder and Y0 to Y7 are the 8- outputs of the decoder.

IC 74LS138 as 3:8 Decoder/ Demultiplexer


The IC 74LS138 decodes one-of-eight lines; based upon the conditions at the three binary
select inputs and the three enable inputs. Two active-low ( ) and one active-high (E3)
enable inputs reduce the need for external gates or inverters when expanding. are the
eight active low output lines.
Ex: Design and Implement full adder function using IC-74LS138.
Following table shows the truth table for full adder.

From the truth table we can write the functions for Sum and Carry as,
For SUM = Σ m (1, 2, 4, 7) and
For CARRY = Σ m (3, 5, 6, 7)

VPKBIET, Baramati Page 7


Experiment No: 2 Digital Electronics

Fig. Full Adder using IC 74LS138


Ex: Design and Implement full subtractor function using IC-74LS138.
Following table shows the truth table for full subtractor.

From the truth table we can write the functions for Difference and Borrow as,
For Difference= Σ m (1, 2, 4, 7) and
For Borrow = Σ m (1, 2, 3, 7)

VPKBIET, Baramati Page 8


Experiment No: 2 Digital Electronics

Fig. Full Subtractor using IC 74LS138

Ex: Design & Implement 3-bit Binary to Gray code converter using IC-74LS138.
Following table shows the truth table for Binary to Gray code converter.

From the truth table we can write the functions for G3, G2 and G1 as,

VPKBIET, Baramati Page 9


Experiment No: 2 Digital Electronics

G3 = Σ m (4, 5, 6, 7), G2= Σ m (2, 3, 4, 5), G1 = Σ m (1, 2, 5, 6)

Fig. Binary to Gray code converter using IC-74LS138

Ex: Design & Implement 3-bit Gray to Binary code converter using IC-74LS138.
Following table shows the truth table for Gray to Binary code converter.

From the truth table we can write the functions for B3, B2 and B0 as,

VPKBIET, Baramati Page 10


Experiment No: 2 Digital Electronics

B3 = Σ m (4, 5, 6, 7), B2= Σ m (2, 3, 4, 5), B1 = Σ m (1, 2, 4, 7)

Fig. Gray to Binary code converter using IC-74LS138

PROCEDURE:
1) Design given Boolean equation according to requirement.
2) Check all the components for their working.
3) Give biasing to the IC.
4) Make connections as shown in the diagram and observe output.

VPKBIET, Baramati Page 11


Experiment No: 2 Digital Electronics

CONCLUSION:

APPLICATIONS:

ORAL QUESTIONS FOR ASSIGNMENT:


 What is demultiplexer?
 Define the terms encoder and decoder.
 Enlist applications of decoder.
 Can we use demultiplexer as a decoder? How?
 What is name of IC 74LS138?

VPKBIET, Baramati Page 12

You might also like