Chargement…
Chargement…
The priority encoder takes an 8-bit request vector and produces the 3-bit binary code of the highest-priority active request. Bit 7 has the highest priority, bit 0 the lowest. If no request is active, o_valid='0'.
Purely combinational circuit.
| Signal | Direction | Width | Description |
|---|---|---|---|
i_req | Input | 8 bits | Request vector |
o_code | Output | 3 bits | Binary code of highest-priority request |
o_valid | Output | 1 bit | Valid request indicator |