FunctionDecodes a binary value on the input to an output vector with a single one bit. Notation"BIN_TO_BIT" = Decode binary input to output vector with single one bit. |
Name |
Description |
WIDTH |
Width of the input port. |
Name |
Variants |
Registered |
No, Yes |
Enable |
UnUsed, Used |
Name |
Width |
Condition |
Description |
D |
WIDTH |
None |
Input bits to be encoded. |
Enable |
|
Registered = No |
if (Enable) Y = BIN_TO_BIT; else Y=D; |
ClockEn |
|
Registered = Yes |
if (ClockEn) Q = BIN_TO_BIT |
Name |
Width |
Condition |
Description |
Y |
2**WIDTH |
Registered = No |
BIN_TO_BIT |
Q |
2**WIDTH |
Registered = Yes |
BIN_TO_BIT |