rohd-hcl icon indicating copy to clipboard operation
rohd-hcl copied to clipboard

Add `extension`s for converting to/from one-hot/binary

Open mkorbel1 opened this issue 1 year ago • 0 comments

Motivation

Since both OneHotToBinary and BinaryToOneHot have one input and one output, it would be nice to access them with an API on top of Logic and LogicValue to convert easily.

Desired solution

Add oneHotToBinary and binaryToOneHot as extensions on Logic and LogicValue.

Alternatives considered

No response

Additional details

No response

mkorbel1 avatar Apr 13 '23 18:04 mkorbel1