Content deleted Content added
Fabrictramp (talk | contribs) Dead-end pages tagging and other minor cleanup; you can help!, using AWB |
Katharineamy (talk | contribs) Adding links |
||
Line 1:
{{orphan|date=January 2010}}
A '''priority encoder''' is a circuit or algorithm that compresses multiple binary inputs into a smaller number of outputs. They are often used to control interrupt requests by acting on the highest priority request.▼
▲A '''priority encoder''' is a [[circuit]] or [[algorithm]] that compresses multiple [[binary]] inputs into a smaller number of outputs. They are often used to control [[interrupt
If two or more inputs are given at the same time, the input having the highest priority will take precedence. An example of a single bit 4 to 2 encoder is shown, where highest-priority inputs are to the left and "x" indicates either a 1 or a 0 (i.e., either input value yields the same output when superseded by a higher-priority input).▼
▲If two or more inputs are given at the same time, the input having the highest priority will take [[precedence]]. An example of a single bit 4 to 2 [[encoder]] is shown, where highest-priority inputs are to the left and "x" indicates either a 1 or a 0 (i.e., either input value yields the same output when superseded by a higher-priority input).
{| class="wikitable" style="margin:0;"
Line 25:
Priority encoders can be easily connected in arrays to make larger encoders, such as a 16 to 4 encoder made from six 4 to 2 priority encoders (four encoders having the signal source connected to their inputs, and two encoders that take the output of the first four as input).
The priority encoder is an improvement on a simple encoder circuit, in terms of handling all possible input
==Simple Encoder==
|