Encoders

An encoder can also be described as a combinational circuit that performs the inverse operation of a decoder. An encoder has a maximum of 2^n (or less) input lines and n output lines.

In an Encoder, the output lines generate the binary code corresponding to the input value.

The following image shows the block diagram of a 4 * 2 encoder with four input and two output lines.

Encoders

The truth table for a 4-to-2 line encoder can be represented as:

A3A2A1A0D1D0
000100
001001
010010
100011

From the truth table, we can write the Boolean function for each output as:

D1 = A3 + A2
D0 = A3 + A1

The circuit diagram for a 4-to-2 line encoder can be represented by using two input OR gates.

Encoders

The most common application of an encoder is the Octal-to-Binary encoder. Octal to binary encoder takes eight input lines and generates three output lines.

The following image shows the block diagram of an 8 * 3 line encoder.

Encoders

The truth table for an 8 * 3 line encoder can be represented as:

D7D6D5D4D3D2D1D0xyz
00000001000
00000010001
00000100010
00001000011
00010000100
00100000101
01000000110
10000000111

From the truth table, we can write the Boolean function for each output as:

x = D4 + D5 + D6 + D7
y = D2 + D3 + D6 + D7
z = D1 + D3 + D5 + D7

The circuit diagram for an 8 * 3 line encoder can be represented by using two input OR gates.

Encoders
Next TopicMultiplexers




Latest Courses