Question: what is the difference between priority encoder?
Answer: Binary Encoder converts one of 2n inputs into an n-bit output. It has fewer output bits than the input code. The Priority Encoder is another type of combinational circuit similar to a binary encoder, except that it generates an output code based on the highest prioritized input.