Encoder
An Encoder is a device that converts the active data signal into a coded message format or it is a device that converts analogue signal to digital signals. It is a combinational circuit, that converts binary information in the form of 2N input lines into N output lines which represent N bit code for the input. When an input signal is applied to an encoder the logic circuitry involved within it converts that particular input into coded binary output.
To decode is to perform the reverse operation: converting a code back into an unambiguous form code and the device which performs this operation is termed a Decoder.
Difference Between Encoder and Decoder
Combinational Logic is the concept in which two or more input states define one or more output states. The Encoder and Decoder are combinational logic circuits. In which we implement combinational logic with the help of boolean algebra.
To encode something is to convert an unambiguous piece of information into a form of code that is not so clearly understood and the device which performs this operation is termed ad Encoder.