Description: A priority encoder is a circuit or algorithm that compresses multiple binary inputs into a smaller number of outputs. The output of a priority encoder is the binary representation of the ordinal number starting from zero of the most significant input bit. They are often used to control interrupt requests by acting on the highest priority request.
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 an irrelevant value - i.e. any input value there yields the same output since it is superseded by higher-priority input.
File list (Check if you may need any files):
PRIORITY_ENCODER\SOURCE
................\......\PRIORITY_ENCODER.cr.mti
................\......\PRIORITY_ENCODER.mpf
................\......\PRIORITY_ENCODER.mpf.bak
................\......\PRI_ENCO_IF.vhd
................\......\PRI_ENC_IF.vhd
................\......\PRI_ENC_WHEN.vhd
................\......\transcript
................\......\vsim.wlf
................\......\work
................\......\....\priority_if
................\......\....\...........\if_else.dat
................\......\....\...........\if_else.psm
................\......\....\...........\_primary.dat
................\......\....\pri_enc_when
................\......\....\............\pri_enc_when.dat
................\......\....\............\pri_enc_when.psm
................\......\....\............\_primary.dat
................\......\....\_info
................\STM(WAVWFORM)
................\.............\PRIORITY ENCODER.bmp
................\.............\PRI_IF.bmp
................\SYS(HARDWARE)
................\.............\PRI_ENCODER.bmp
PRIORITY_ENCODER