binaryToOneHot method

Logic binaryToOneHot()

Encodes this binary index using BinaryToOneHot.

The output has 2^width bits.

Implementation

Logic binaryToOneHot() => BinaryToOneHot(this).encoded;