priority-encoder
Priority Encoder Explained: 4-to-2 and 8-to-3
TL;DR: A priority encoder is a combinational circuit that takes N input lines and outputs a -bit binary code identifying the highest-priority active input. Unlike a plain encoder (which assumes...