Content deleted Content added
m Reverted edits by 2401:4900:4FF1:2556:0:0:43E:118E (talk): nonconstructive edits (HG) (3.4.10) |
Made the description of the priority encoder output easier to understand. Tags: Mobile edit Mobile web edit |
||
Line 1:
A '''priority encoder''' is a [[Electronic circuit|circuit]] or [[algorithm]] that compresses multiple [[Binary code|binary]] inputs into a smaller number of outputs. The output of a priority encoder is the binary representation of the
[[File:A 4-2 Priority Encoder .jpg|alt=A 4:2 Priority Encoder|thumb|486x486px|A 4:2 Priority Encoder|center]]
If two or more inputs are given at the same time, the input having the highest priority will take [[:wikt:precedence|precedence]].<ref>M. Morris Mano, Michael D. Ciletti, "Digital Design", 4th Edition, Prentice Hall, 2006, {{ISBN|978-0-13-198924-5}}.</ref> An example of a single bit 4 to 2 encoder is shown, where highest-priority inputs are to the left and "x" indicates an irrelevant value - i.e. any input value there yields the same output since it is superseded by higher-priority input. The output V indicates if the input is valid.
|