Skip to content

Add a helper function to encode 1-hot to binary #455

@vaaniarora

Description

@vaaniarora

https://github.com/intel/rohd-hcl/blob/main/doc/components/onehot.md

Implement a 1-hot to binary that takes a wirevector with only 1 bit set to 1 and returns the bit position of that 1 in binary.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions