Hades logoHades applet banner
Priority Encoder (8:3 bits)

applet icon

The image above shows a thumbnail of the interactive Java applet embedded into this page. Unfortunately, your browser is not Java-aware or Java is disabled in the browser preferences. To start the applet, please enable Java and reload this page. (You might have to restart the browser.)

Circuit Description

An 8-bit priority encoder. This circuit basically converts a one-hot encoding into a binary representation. If input n is active, all lower inputs (n-1 .. 0) are ignored. Please read the description of the 4:2 encoder for an explanation.

x7 x6 x5 x4 x3 x2 x1 x0   y2 y1 y0
----------------------------------
 1  X  X  X  X  X  X  X    1  1  1
 0  1  X  X  X  X  X  X    1  1  0
 0  0  1  X  X  X  X  X    1  0  1
 0  0  0  1  X  X  X  X    1  0  0
 0  0  0  0  1  X  X  X    0  1  1
 0  0  0  0  0  1  X  X    0  1  0
 0  0  0  0  0  0  1  X    0  0  1
 0  0  0  0  0  0  0  X    0  0  0

Print version | Run this demo in the Hades editor (via Java WebStart)
Usage | FAQ | About | License | Feedback | Tutorial (PDF) | Referenzkarte (PDF, in German)
Impressum http://tams.informatik.uni-hamburg.de/applets/hades/webdemos/10-gates/45-priority/priority83.html