Content deleted Content added
Fixed multiple errors in simple encoder section (broken table, sentence structure errors, typos, etc). |
|||
Line 29:
==Simple encoder==
A simple encoder circuit is a [[one-hot]] to binary converter. That is, if there are of 2<sup>''n''</sup> input lines
For example, a
{|align="right"
Line 39:
|}
{| class="wikitable" style="margin:0;"
!style="border-bottom:2px solid #000;"|
!style="border-bottom:2px solid #000;"|
!style="border-bottom:2px solid #000;"|
!style="border-bottom:2px solid #000;"|
!style="border-bottom:2px solid #000; border-left:2px solid #000;"|
!style="border-bottom:2px solid #000;"|
!style="border-bottom:2px solid #000;"|V
|-
| 0 || 0 || 0 || 0 ||style="border-left:2px solid #000;"| x || x || 0
|-
Line 55 ⟶ 57:
| 1 || 0 || 0 || 0 ||style="border-left:2px solid #000;"| 1 || 1 || 1
|}
{{caption|4 to 2 Simple Encoder}}
If input circuit guarantees one and only one bit high on the input or if it is understood that non-single-active-inputs will produce garbage encodings, a simple encoder is a better choice than a prioriy encoder, since it requires less logic.
==References==
|