0% found this document useful (0 votes)
38 views10 pages

DLD Lab 8

The document describes an experiment on decoder and encoder circuits. The objectives are to understand the basic concepts of decoders and encoders and experimentally verify their operation. The experiment involves designing a 2-4 line decoder and 4-2 line encoder using logic gates. Truth tables are completed and logic equations derived. The decoder and encoder are connected in series and the input and output values are verified to be the same, demonstrating that connecting a decoder and encoder of the same order results in the original input.

Uploaded by

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

DLD Lab 8

The document describes an experiment on decoder and encoder circuits. The objectives are to understand the basic concepts of decoders and encoders and experimentally verify their operation. The experiment involves designing a 2-4 line decoder and 4-2 line encoder using logic gates. Truth tables are completed and logic equations derived. The decoder and encoder are connected in series and the input and output values are verified to be the same, demonstrating that connecting a decoder and encoder of the same order results in the original input.

Uploaded by

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

AIR UNIVERSITY

DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING

EXPERIMENT NO 8

Lab Title: Decoder and Encoder Circuits


Student Name: M HAMZA AMIN Reg. No:191862
190502
Objective: To have a basic understanding of decoders and encoders.
To experimentally verify the operation of decoder and encoder.

LAB ASSESSMENT:

Excellent Good Average Satisfactory Unsatisfactory


Attributes (5) (4) (3) (2) (1)
Ability to Conduct
Experiment
Ability to assimilate the
results
Effective use of lab
equipment and follows
the lab safety rules

Total Marks: Obtained Marks:

LAB REPORT ASSESSMENT:

Excellent Good Average Satisfactory Unsatisfactory


Attributes
(5) (4) (3) (2) (1)

Data presentation

Experimental results

Conclusion

Total Marks: Obtained Marks:


Date: Mark Signature:

EXPERIMENT 08

Decoder and Encoder

Objectives:
 To have a basic understanding of decoders and encoders.
 To experimentally verify the operation of decoder and encoder.

Equipment required:
 ICs as required
 Digital Electronics Trainer

Background Knowledge:

Decoder:

In digital electronics, a decoder can take the form of a multiple-input, multiple-output logic circuit that
converts coded inputs into coded outputs, where the input and output codes are different e.g. n-to-2n ,
binary-coded decimal decoders. Decoding is necessary in applications such as data multiplexing, 7
segment display and memory address decoding.

Encoder:

An encoder is a device, circuit, transducer, software program, algorithm or person that converts
information from one format or code to another.

Task 1:

Use basic gates to implement and design a 2 to 4 line decoder.


Steps:
1. Complete the truth table given below for a decoder
2. Write the logic equations formed.
3. Patch the equations on the trainer (do not UN patch the circuit, as it will be used later)
Truth Table

A B D0 D1 D2 D3

0 0 1 0 0 0

0 1 0 1 0 0

1 0 0 0 1 0

1 1 0 0 0 1

Equations:
D3 = A.B
D2 = A.B

D1 = A.B

D0 = A.B

Simulation Results:
Task 2:
Use basic gates to implement and design a 4 to 2 line encoder.
Steps:
1. Complete the truth table given below for an encoder.
2. Write the logic equations formed.
3. Patch the equations on the trainer accordingly.

Truth Table

D0 D1 D2 D3 A B

1 0 0 0 0 0

0 1 0 0 0 1

0 0 1 0 1 0
0 0 0 1 1 1

Equations:
A1=Y3+Y2

A0=Y3+ Y1
Simulation Results:
Task 3:

Consider the following diagram, which means if we connect a decoder and an encoder (of same
order) in series we should get back our input.

Connect the above designed decoder and encoder in series and verify the results.

Truth Table:

A B D0 D1 D2 D3 A B
0 0 1 0 0 0 0 0
0 1 0 1 0 0 0 1
1 0 0 0 1 0 1 0
1 1 0 0 0 1 1 1

Simulation Results:
Conclusion:
If we connect the 2-4 line decoder’s output to the input of 4-2 line encoder, then the output would
be the same as we provide the input to the 2-4 line decoder.

You might also like