A priority encoder has inputs that are assigned in some predetermined order. The output is the binary encoding of the first "1" valued input from the ordered list, and it is zero otherwise.
- Give the truth table for a 3-input priority encoder.
- Give a sum of products realization of this priority encoder.
Solution:
-
Assume the inputs are A, B, C with A having priority 3, B priority 2 and C priority 1:
A B C | P1 P0
========|=========
0 0 0 | 0 0
0 0 1 | 0 1
0 1 0 | 1 0
0 1 1 | 1 0
1 0 0 | 1 1
1 0 1 | 1 1
1 1 0 | 1 1
1 1 1 | 1 1
About the Author
Murugavel Ganesan
Product Director | SerDes · IVN · Edge AI · Compute | Ex Intel · Infineon
A semiconductor product leader working across product architecture, definition, strategy, and silicon and software execution, from concept through volume production. He has worked with teams across Asia, Europe and the USA, including at Intel, Infineon and ArrayComm.
His work covers ASICs, SoCs, FPGAs and chiplets for wireless, wireline, automotive, IoT and AI, including PCIe, CXL and DDR interfaces alongside RF and mixed-signal design.
Your comments will be moderated before it appears here.