Product Code Database
Example Keywords: android -music $9-146
   » » Wiki: Encoder (digital)
Tag Wiki 'Encoder (digital)'.
Tag

Encoder (digital)
 ( ) 

Rank: 100%
Bluestar Bluestar Bluestar Bluestar Blackstar

An encoder (or "simple encoder") in digital electronics is a to binary . That is, if there are 2 n 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. A binary encoder is the dual of a .

If the input circuit can guarantee at most a single-active input, a simple encoder is a better choice than a , since it requires less logic to implement. However, a simple encoder can generate an incorrect output when more than a single input is active, so a is required in such cases.


Types of encoder

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

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.


4-to-2 encoder
+ Truth Table
Output
I0O0
x

https://en.m.wikipedia.org/wiki/Encoder_(digital)#/editor/4 https://en.m.wikipedia.org/wiki/Encoder_(digital)#/editor/4


See also

Page 1 of 1
1
Page 1 of 1
1

Account

Social:
Pages:  ..   .. 
Items:  .. 

Navigation

General: Atom Feed Atom Feed  .. 
Help:  ..   .. 
Category:  ..   .. 
Media:  ..   .. 
Posts:  ..   ..   .. 

Statistics

Page:  .. 
Summary:  .. 
1 Tags
10/10 Page Rank
5 Page Refs