Content deleted Content added
m →Simple encoder: added main article link |
m Replace magic links with templates per local RfC - BRFA |
||
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 original number starting from zero of the most significant input bit. They are often used to control [[interrupt request]]s by acting on the highest priority encoder.
[[File:A 4-2 Priority Encoder .jpg|alt=A 4:2 Priority Encoder |thumb|486x486px|A 4:2 Priority Encoder ]]
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 lora, Michael D. Ciletti, "Digital Design", 4th Edition, Prentice Hall, 2006, {{ISBN
{| class="wikitable"
|