In digital communication system there is a common name (decorder and encoder) to transfer data to desire position. In digital electronics we use decorder and encoder for this purpose. To simply speaking we use encoder to collect data of from a large number of channels or lines and transmitted as a few number of channels or lines. On the other hand we use decorder to collect the data that is transmitted by the encoder by a few number of channel or line and then distributed it to greater number of channels or lines (as required by the authority).
Discrete quantities of information are represented in digital system with binary codes.A binary code of n bits is capable of representing up to 2^n distinct elements of the coded information.A decorder is a combinatinal circuit that converts binary information from n inputs lines or channels to a maximum of 2^n unique lines.If the n-bit decoded information has unused or don’t-care combinations, the decorder output will have less than 2^n outputs.
Now we will try to construct a 3 to 8 line decorder. As mentioned earlier that, if a decorder has 3 input lines, it can handle data up to 2^3 or 8 output lines. Let we represent inputs as A0, A1 and A2 and outputs as D0, D1, D2, D3, D4, D5, D6 and D7.
Truth Table
|