rohd icon indicating copy to clipboard operation
rohd copied to clipboard

Partial assignment of `Logic` indices

Open mkorbel1 opened this issue 5 months ago • 0 comments

Motivation

In SystemVerilog and some other HDLs/generator frameworks (e.g. Chisel) there are APIs for assigning an element/range of a bus/array where the index is itself a signal. This implies significant muxing hardware, but has a nice API. ROHD should have a similar API.

Desired solution

Perhaps some sort of expansion on withSet APIs to accept Logic in addition to just int.

Alternatives considered

No response

Additional details

No response

mkorbel1 avatar Sep 17 '24 18:09 mkorbel1