Priority Encoder Logic Diagram. 4 to 2 priority encoder. A priority encoder overcomes this disadvantage of the binary encoder.
In this truth table for all the non explicitly defined input combinations i e. Lec11 intro to computer engineering by hsien hsin sean lee. Here and gate inverter combination are used for producing a valid code at the outputs even when multiple inputs are equal to 1 at the same time.
A1 a0 here the input y3 has the highest priority whereas the input y0 has the lowest priority in this case even if more than one input is 1 at the same time the output will be the binary code corresponding to the input which is having higher priority.
Priority encoder a 4 to 2 priority encoder has 4 inputs. Y3 y2 y1 y0 and 2 outputs. A circuit diagram of this encoder is shown below. Priority encoder a 4 to 2 priority encoder has 4 inputs.
