请输入您要查询的百科知识:

 

词条 Encoder (digital)
释义

  1. Types of encoder

      -to-n encoders    4-to-2 encoder    8-to-3 encoder  

  2. See also

  3. References

A simple encoder or simply an encoder in digital electronics is a one-hot to binary converter. That is, if there are 2n input lines, and at most only one of them will ever be high, the binary code of this 'hot' line is produced on the n-bit output lines.

For example, a 4-to-2 simple encoder takes 4 input bits and produces 2 output bits. The illustrated gate level example implements the simple encoder defined by the truth table, but it must be understood that for all the non-explicitly defined input combinations (i.e., inputs containing 0, 2, 3, or 4 high bits) the outputs are treated as don't cares.[1]

It is the reverse of a Decoder in its function.

4 to 2 Simple Encoder
I3I2I1I0O1O0V
0000xx0
0001001
0010011
0100101
1000111

If the input circuit can guarantee at most a single-active input, a simple encoder is a better choice than a priority encoder, since it requires less logic to implement but if not this become the major disadvantage of simple encoder that is they can generate the wrong output when there is more than one input present in a high state (logic state “1”). To rectify this problem a Priority encoder is used. They act on the request of higher priority and the rest cases go in "don't care condition".

Types of encoder

-to-n encoders

A -to-n encoder has n number of outputs in correspondence to the number of inputs. It thus reduces the number of transmission lines and can be compared to a multiplexer.only one of the inputs become "high" (logic state "1") at a time.

Some typical examples would be 4:2 encoder, 8:3 encoder, 16:4 encoders etc.

4-to-2 encoder

{{clear}}

8-to-3 encoder

{{clear}}
A Truth Table representing 8:3 Encoder.
INPUTOUTPUT
a[7]a[6]a[5]a[4]a[3]a[2]a[1]a[0]d[2]d[1]d[0]
00000000XXX
00000001000
00000010001
00000100010
00001000011
00010000100
00100000101
01000000110
10000000111

See also

  • Binary decoder
  • Multiplexer (MUX)
  • Priority encoder

References

1. ^{{Cite news|url=http://www.electronicshub.org/binary-encoder/|title=Binary Encoders And Their Applications|date=2015-06-29|work=Electronics Hub|access-date=2017-05-01|language=en-US}}

1 : Digital electronics

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/23 18:18:21