Vous êtes sur la page 1sur 3

DATE:

Experiment:-6 (A) PAGE NO:

AIM:- Implement 3:8 decoder using logic gates or IC 74138.

APPARATUS:- Digital trainer kit ,IC 74138,7400,7432,Connecting wires,etc.

THEORY:-

A decoder is a logic circuit that converts an N bit binary input code into M output lines such that
only one output line is activated for each one of the possible combination of input.

3 Line To 8 Line Decoder:

Fig (1),shows the circuitry for a decoder with three inputs and eight output.It uses all AND gates,
and therefore the output are active High.

For active low outputs,NAND gate are used.It is also called 3 line to 8 line decoder or binary to
octal decoder or 1 to 8 decoder.The truth table for 3:8 decoder is shown in table (1).

INPUTS OUTPUTS

A B C Q0 Q1 Q2 Q3 Q4 Q5 Q6 Q7

0 0 0 1 0 0 0 0 0 0 0

0 0 1 0 1 0 0 0 0 0 0

0 1 0 0 0 1 0 0 0 0 0

0 1 1 0 0 0 1 0 0 0 0

1 0 0 0 0 0 0 1 0 0 0

1 0 1 0 0 0 0 0 1 0 0

1 1 0 0 0 0 0 0 0 1 0

1 1 1 0 0 0 0 0 0 0 1
Enable Inputs:-
Some decoders have one or more ENABLE INPUTS,that are used to control the operation of the
decoder.

In 3 line to 8 line decoder,if a common ENABLE line is connected to the fourth input of each
gate,a particular output as determined by A,B,C input code will go HIGH only when the
ENABLE line is held High.When the ENABLE line is held LOW,however,all the output will be
forced to the LOW state regardless of the level at the A,B and C inputs.thus the decoder is only
when the ENABLE is High.

In the 74138 decoder shown in fig (2) A2 A1 A0 is the input code and E3 E2 and E1 are the
seperate enable inputs that are combined in the NAND gate ,then E3E2 E1 is the ENABLE signal
.only when the ENABLE is HIGH ,the decoder output is HIGH.

PROCEDURE:-

 First of all collect the IC 74138,trainer kit & connecting wires.

 Place the IC on the ckt board and make connections.


 Give three inputs to the three pins of the IC 74138 as shown in pindiagram.

 See the truth table and verify it .

 Note that only when ENABLE is HIGH,the decoder works.

CONCLUSION:-

Vous aimerez peut-être aussi