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

Encoder

An Encoder is a combinational circuit that converts 2^n input lines into an n-bit binary code. Types of encoders include 4 to 2 encoders, octal to binary encoders, decimal to BCD encoders, and priority encoders, each serving different input-output configurations. The document provides details on the operation and truth tables for various encoders.
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)
61 views5 pages

Encoder

An Encoder is a combinational circuit that converts 2^n input lines into an n-bit binary code. Types of encoders include 4 to 2 encoders, octal to binary encoders, decimal to BCD encoders, and priority encoders, each serving different input-output configurations. The document provides details on the operation and truth tables for various encoders.
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

What is Encoder?

An Encoder is a combinational circuit. It has a maximum of 2n input lines and ‘n’ output lines, hence
it encodes the information from 2^n inputs into an n-bit code. It will produce a binary code
equivalent to the input, which is active High. Therefore, the encoder encodes 2^n input lines with ‘n’
bits.

The basic principle of an encoder is to assign a unique binary code to each possible input. For
example, a 2-to-4-line encoder has 2 input lines and 4 output lines.

Types of Encoders

There are different types of Encoders which are mentioned below.

 4 to 2 Encoder

 Octal to Binary Encoder (8 to 3 Encoder)

 Decimal to BCD Encoder

 Priority Encoder

4 to 2 Encoder

The 4 to 2 Encoder consists of four inputs Y3, Y2, Y1 & Y0, and two outputs A1 & A0. At any time,
only one of these 4 inputs can be ‘1’ in order to get the respective binary code at the output. The
figure below shows the logic symbol of the 4 to 2 encoders.
The Truth table of 4 to 2 encoders is as follows.

INPUTS OUTPUTS

Y3 Y2 Y1 Y0 A1 A0

0 0 0 1 0 0

0 0 1 0 0 1

0 1 0 0 1 0

1 0 0 0 1 1

BOOLEAN LOGIC

Octal to Binary Encoder (8 to 3 Encoder)

The 8 to 3 Encoder or octal to Binary encoder consists of 8 inputs: Y7 to Y0 and 3 outputs: A2, A1 &
A0. Each input line corresponds to each octal digit value and three outputs generate corresponding
binary code. The figure below shows the logic symbol of octal to the binary encoder.
The truth table for the 8 to 3 encoder is as follows.

INPUTS OUTPUTS

Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 A2 A1 A0

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

BOOLEAN LOGIC
Decimal to BCD Encoder

The decimal-to-binary encoder usually consists of 10 input lines and 4 output lines. Each input line
corresponds to each decimal digit and 4 outputs correspond to the BCD code. This encoder accepts
the decoded decimal data as an input and encodes it to the BCD output which is available on the
output lines. The figure below shows the logic symbol of the decimal to BCD encoder:

INPUTS OUTPUTS

Y9 Y8 Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 A3 A2 A1 A0

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

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

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

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

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

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

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

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

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

1 0 0 0 0 0 0 0 0 0 1 0 0 1
BOOLEAN LOGIC

You might also like