Penc(k) circuit

In the solution for 2018 semester A moed A test they used a penc(k) gate.
I searched for a penc circuit that we leaned and did not find any.
what is the output and functionality of penc(k) circuit?

thats the question:

we learned about this circuit in the recitation, this circuit is similar to an Encoder, only that it doesnt require a one hot input, and instead encodes the MS 1 in the string. this is called a priority encoder.

1 Like