intel / rohd-hcl

A hardware component library developed with ROHD.
https://pub.dev/packages/rohd_hcl
BSD 3-Clause "New" or "Revised" License
81 stars 23 forks source link

Multi-bit mux with (at least) 1-hot encoding option #95

Open mkorbel1 opened 2 months ago

mkorbel1 commented 2 months ago

Motivation

If you have a 1-hot encoded selection, it is common to want to select something based on it. A mux that can select using a mult-bit index with a 1-hot encoding (perhaps other encodings as well?) would be helpful.

Desired solution

A mux component that can select based on 1-hot encoding, and maybe more. Include useful APIs and extensions as necessary

Alternatives considered

No response

Additional details

No response