Encoder Circuit Using Logic Gates. X or gate assumes logic 1 state when any of its two inputs assumes a logic 1 state. To construct a decoder we require to know the number of all possible output lines that totally.
A complete truth table would be. Give the number of used logic gates and draw the corresponding circuit. The output of the x or gate will be the sum of the modulo sum of its inputs.
The circuit diagram of 4 to 2 encoder is shown in the following figure.
An encoder is a digital combinational circuit that converts binary information of maximum 2n input lines into n output lines. These or gates encode the four inputs with two bits. However in a simple encoder only one of the inputs is considered to be high out of all the 2 n inputs. A block diagram of decoder consists of input lines one or more enable inputs and a maximum number of output lines.
