Module prim_onehot_enc
Block Diagram of prim_onehot_enc
Name |
Default |
Description |
---|---|---|
OneHotWidth |
32 |
Name |
Type |
Direction |
Description |
---|---|---|---|
in_i |
wire logic [InputWidth - 1 : 0] |
input |
|
en_i |
wire logic |
input |
out_o == '0 when en_i == 0 |
out_o |
var logic [OneHotWidth - 1 : 0] |
output |
×
One-hot encoder Outputs a one-hot encoded version of an integer input.