/    /  Digital Logic-Encoder

Encoder

 

A combinational circuit that performs a reverse operation on a decoder is known as an encoder. It has a maximum of 2^N input lines and ‘N’ output lines and will produce a binary code equivalent to the input, which is active High. 

There are various types of encoders, some of them are mentioned below:

 

4 to 2 Encoder

It has 4 inputs and 2 outputs.

 

Truth Table:

 

InputsOutputs
Y3Y2Y1Y0A1A0
000100
001001
010010
100011

 

Boolean Function:

A1=Y3+Y2

A0=Y3+Y1

 

Reference

Encoder