CPLD example: Priority Decoder

From DP

Jump to: navigation , search


It determines which of the eight inputs has the highest priority and outputs that. If multiple inputs occur then the highest is output. Good for a keyboard with the outputs connected to LED's in the keyboard. The BCD and interrupt outputs can go to a uP.