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

Unpack array initialization #527

Closed
dalance opened this issue Mar 7, 2024 · 0 comments · Fixed by #656
Closed

Unpack array initialization #527

dalance opened this issue Mar 7, 2024 · 0 comments · Fixed by #656
Labels
lang Language design

Comments

@dalance
Copy link
Collaborator

dalance commented Mar 7, 2024

Unpack array initialization syntax is lack like below:

var a: logic<10>[2];
var b: logic<10>[2];
assign a = '{1, 2};
assign b = '{default:0};
@dalance dalance added the lang Language design label Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang Language design
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant