Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write part-assign automation for LogicArrays #377

Closed
mkorbel1 opened this issue Jun 5, 2023 · 3 comments · Fixed by #456
Closed

Write part-assign automation for LogicArrays #377

mkorbel1 opened this issue Jun 5, 2023 · 3 comments · Fixed by #456
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@mkorbel1
Copy link
Contributor

mkorbel1 commented Jun 5, 2023

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 mkorbel1 added enhancement New feature or request good first issue Good for newcomers labels Jun 5, 2023
@RPG-coder-intc
Copy link
Contributor

Hey Max, I would like to take this one on

@RPG-coder-intc
Copy link
Contributor

reference: panda

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

@mkorbel1
Copy link
Contributor Author

mkorbel1 commented Aug 2, 2024

Closed in #456

@mkorbel1 mkorbel1 closed this as completed Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants