encoder
Sign in to saveencoder in digital electronics, a one-hot to binary converter
In the Vinony graph
Within Vinony's link graph, encoder is referenced by 12 other articles, and connects out to code, digital electronics and multiplexer.
It is catalogued under the topic Digital electronics.
Its subject is documented across 31 Wikipedia language editions.
~2 min read
Encyclopedic overview
A General encoder's block diagram. An encoder (or "simple encoder") in digital electronics is a one-hot to binary converter. That is, if there are 2 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 binary decoder.
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. However, a simple encoder can generate an incorrect output when more than a single input is active, so a priority encoder is required in such cases.
Excerpted from Wikipedia’s “encoder” article, available under the CC BY-SA 4.0 licence.