0% found this document useful (0 votes)
397 views1 page

Priority Encoder

Priority encoders output the signal corresponding to the highest priority active input. They are used in interrupt controllers in computer systems to detect and output the highest priority interrupt, even if multiple interrupts occur simultaneously. There are two types: highest priority encoders output the code of the highest valued active input, while lowest priority encoders output the code of the lowest valued active input. An 8-to-3 line priority encoder is explained, with its truth table and logical circuit diagram shown.

Uploaded by

rudra_mazumdar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
397 views1 page

Priority Encoder

Priority encoders output the signal corresponding to the highest priority active input. They are used in interrupt controllers in computer systems to detect and output the highest priority interrupt, even if multiple interrupts occur simultaneously. There are two types: highest priority encoders output the code of the highest valued active input, while lowest priority encoders output the code of the lowest valued active input. An 8-to-3 line priority encoder is explained, with its truth table and logical circuit diagram shown.

Uploaded by

rudra_mazumdar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Priority Encoder

Priority Encoders output with the highest priority, corresponds to the currently active input. So when an input with a higher priority is present, all other inputs with a lower priority will be ignored. Priority encoders are used extensively in digital and computer systems as microprocessor interrupt controllers where they detect the highest priority input. They are used here because interrupt can occur simultaneous but the encoder outputs the higher prior device address only. Priority encoders can be two types: 1. Highest priority: the encoder outputs the highest value, corresponds to the current active inputs. E.g. suppose D0, D1, D9 is given active high input then the encoder produce the output for input D9 only. 2. Lowest Priority: the encoder outputs the lowest value, corresponds to the current active inputs. E.g. suppose D0, D1, D9 is given active high input then the encoder produce the output for input D0 only.

Why Priority Encoders are used?


One of the main disadvantages of standard digital encoders is that they can generate the wrong output code when there is more than one input present at logic level "1".

Explaining 8:3 encoder (highest Priority)


Here the encoder have 8 inputs naming the inputs as D7 , D6, D5 , D4, D3 , D2, D1, D0 and Q2, Q1, Q0 are the outputs where Q0 and Q2 signifies the lowest and highest respectively the significant bit of the output . Truth Table D7 D6 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 X Digital Inputs D5 D4 D3 D2 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 X 0 1 X X 1 X X X X X X X X X X X D1 0 1 X X X X X X D0 1 X X X X X X X Binary Output Q2 Q1 Q0 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1

** X realize the dont care condition. Since it is high priority encoder, if the higher input is set to active high then output will be correspond to that higher input the lower input activeness doesnt matter to the output. From the above truth table we can have the logical conclusion that Q0 is high only when D1 is ON and D2, D4, D6 are OFF or, D3 is ON and D4, D6 are OFF or D5 is ON and D6 are OFF or D7 is ON Q1 is high only when D2 is ON and D4, D5 are OFF or, D3 is ON and D4, D5 are OFF or U3A D6 is ON or D7 is ON
U3B

Logical Circuit Diagram

Q2 is high only when D4 is ON or, D5 is ON or D6 is ON or D7 is ON

You might also like