0% found this document useful (0 votes)
162 views3 pages

Digital Logic Design Lab 11

This document describes an experiment on line encoders. It discusses different types of encoders including binary coded decimal, octal to binary, and decimal to binary encoders. The objective is to design, understand, and analyze these encoders. It provides the equipment, components, theory, connection diagrams, procedures, results and calculations for octal to binary and decimal to binary encoders.

Uploaded by

M. Ahmad Raza
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
162 views3 pages

Digital Logic Design Lab 11

This document describes an experiment on line encoders. It discusses different types of encoders including binary coded decimal, octal to binary, and decimal to binary encoders. The objective is to design, understand, and analyze these encoders. It provides the equipment, components, theory, connection diagrams, procedures, results and calculations for octal to binary and decimal to binary encoders.

Uploaded by

M. Ahmad Raza
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 3

Digital Logic Design Laboratory Hand Book

Experiment No. 11
STUDY OF LINE ENCODER
OBJECTIVE
 Designing Binary Code Decimal encoder, its understanding and its analysis.
 Designing of octal to binary encoder and decimal to binary encoder.
EQUIPMENT
 ePAL Trainer Board
 2 resisters 1K ohm
 Connecting wires
COMPONENTs
 IC Type 7432 Quadruple 2-input OR gates
THEORY
An encoder is a combinational circuit that performs the inverse operation of a decoder. If a
device output code has fewer bits than the input code has, the device is usually called an encoder.
e.g. 2n-to-n, priority encoders.
The simplest encoder is a 2n-to-n binary encoder, where it has only one of 2n inputs = 1 and the
output is the n-bit binary number corresponding to the active input.
Octal-to-Binary take 8 inputs and provides 3 outputs, thus doing the opposite of what the 3-to-8
decoder does. At any one time, only one input line has a value of 1.
For an 8-to-3 binary encoder with inputs D0-D7 the logic expressions of the outputs A0-A2.
A0 = D1 + D3 + D5 + D7
A1 = D2 + D3 + D6 + D7
A2 = D4 + D5 + D6 + D7
Decimal-to-Binary take 10 inputs and provides 4 outputs, thus doing the opposite of what the 4-
to-10 decoder does. At any one time, only one input line has a value of 1.
For 10-to-4 binary encoder with inputs D0-D9 the logic expressions of the outputs A0-A3
A3 = D8 + D9
A2 = D4 + D5 + D6 + D7
A1 = D2 + D3 + D6 + D7
A0 = D1 + D3 + D5 + D7 + D9

CONNECTION DIAGRAM

irfanriazshohab@gcuf.edu.pk 1

MSISDN +923338369095
Digital Logic Design Laboratory Hand Book

Figure 7.1 Equivalent Circuit of 4 input OR-Gate Figure 7.2 Equivalent Circuit of 5 inputs OR-Gate

Figure 7.3 Octal to Binary Encoder

Figure 7.4 Decimal to BCD Encoder


PROCEDURE
1. Connect the RIMS Trainer to the 220V AC supply.
2. Verify all gates of 74LS32.
3. For octal to binary encoder make connections as shown in figure 7.3 and verify the table 7.1.
irfanriazshohab@gcuf.edu.pk 2

MSISDN +923338369095
Digital Logic Design Laboratory Hand Book
4. For decimal to BCD encoder make connections as shown in figure 7.4 and verify the table 7.2.
5. As 4 input OR gate is used in figure 7.1 so to make 4 input OR gate with the help of 2 input OR
gate follow the figure7.1.
6. As 5 input OR gate is used in figure 7.2 so to make 5 input OR gate with the help of 2 input OR
gate follow the figure 7.1.
RESULTS & CALCULATIONS
Decimal Input Output
Digit D0 D1 D2 D3 D4 D5 D6 D7 A2 A1 A0
0 1 0 0 0 0 0 0 0 0 0 0
1 0 1 0 0 0 0 0 0 0 0 1
2 0 0 1 0 0 0 0 0 0 1 0
3 0 0 0 1 0 0 0 0 0 1 1
4 0 0 0 0 1 0 0 0 1 0 0
5 0 0 0 0 0 1 0 0 1 0 1
6 0 0 0 0 0 0 1 0 1 1 0
7 0 0 0 0 0 0 0 1 1 1 1
Table 7.1
Decimal Input BCD Code (output)
Digit D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 A3 A2 A1 A0
0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
1 0 1 0 0 0 0 0 0 0 0 0 0 0 1
2 0 0 1 0 0 0 0 0 0 0 0 0 1 0
3 0 0 0 1 0 0 0 0 0 0 0 0 1 1
4 0 0 0 0 1 0 0 0 0 0 0 1 0 0
5 0 0 0 0 0 1 0 0 0 0 0 1 0 1
6 0 0 0 0 0 0 1 0 0 0 0 1 1 0
7 0 0 0 0 0 0 0 1 0 0 0 1 1 1
8 0 0 0 0 0 0 0 0 1 0 1 0 0 0
9 0 0 0 0 0 0 0 0 0 1 1 0 0 1

Table 7.2
CONCLUSION
-------------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------

irfanriazshohab@gcuf.edu.pk 3

MSISDN +923338369095

You might also like