binary_encoder
A binary encoder.
Transforms a unary encoded value into a binary encoding.
Parameters
| UNARY_WIDTH | u32 | Width of the input unary vector |
|---|
Ports
| i_en | input | logic | Enable Signal. Dynamic power is minimzed when not enabled. | ||||
|---|---|---|---|---|---|---|---|
| i_unary | input | logic| Unary encoded input.
|
o_bin |
output |
logic | Binary encoded output.
|
|