Digital-techniques-microprocessors
Digital Techniques and Applications - PART 8
g) Encoder
An encoder is a device or a circuit, a software
program, algorithm or person that converts information from one format or code
to another, for the purposes of standardization, speed, secrecy, security or
compressions.
The above figure shows 8:3 Encoder. The Encoder above has 8 inputs
and 3 outputs.
Examples of commonly used
Encoder:
1) A compressor encodes data (e.g., audio/video/images) into a
smaller form
2) An audio encoder converts digital audio to analog audio signals
3) A video encoder converts digital video to analog video signals
4) A multiplexer combines multiple inputs into one output
h) Decoder
Decoder is a digital circuit that converts ‘n’ bit
binary input code to ‘m’ output lines. Here, each output line will be activated
for only one of possible combination of input.
There are 2N possible codes to achieve
this. Depending upon these combinations or codes, one of ‘M’ lines will be
activated. All other lines will be deactivated. Active logic can be low or high
depending upon the chip.
0 comments:
Post a Comment