Professional Documents
Culture Documents
EXPERIMENT - 8
THEORY:
INTRODUCTION: Binary code of N digits can be used to store
2 distinct elements of coded information. This is what encoders and
N
decoders are used for. Encoders convert 2N lines of input into a code of
N bits and Decoders decode the N bits into 2N lines.
If Enable is 0, all AND gates are supplied with one of the inputs as 0
and hence no output is produced. When Enable is 1, the AND gates get
one of the inputs as 1, and now the output depends upon the
remaining inputs. Hence the output of the decoder is dependent on
whether the Enable is high or low.
ENCODER:
An Encoder is a combinational circuit that performs the reverse
operation of Decoder. It has maximum of 2n input lines and ‘n’ output
lines, hence it encodes the information from 2n inputs into an n-bit
code. It will produce a binary code equivalent to the input, which is
active High. Therefore, the encoder encodes 2n input lines with ‘n’
bits.
DHRUV TOMAR 2K20/SE/46
DECODER:
DHRUV TOMAR 2K20/SE/46
ENCODER: