rohd icon indicating copy to clipboard operation
rohd copied to clipboard

Write part-assign automation for `LogicArray`s

Open mkorbel1 opened this issue 1 year ago • 2 comments

Motivation

Currently, to assign a group of elements in a LogicArray, you need to operate on each of elements you're interested in individually. This is tiresome.

Desired solution

Some automation that allows assigning a range or ranges of elements in a LogicArray all at once.

Alternatives considered

No response

Additional details

There's some discussion to be had on API design.

mkorbel1 avatar Jun 05 '23 23:06 mkorbel1

Hey Max, I would like to take this one on

RPG-coder-intc avatar Oct 26 '23 20:10 RPG-coder-intc

reference: panda

Case: data[i:j] = Const(defaultValue) data[i:j] = [Const(value1), Const(value2)] or LogicArray() of length (j-i+1)

RPG-coder-intc avatar Dec 14 '23 19:12 RPG-coder-intc

Closed in #456

mkorbel1 avatar Aug 02 '24 18:08 mkorbel1