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

struct packed by default #118

Closed
dalance opened this issue Feb 1, 2023 · 2 comments
Closed

struct packed by default #118

dalance opened this issue Feb 1, 2023 · 2 comments
Labels
lang Language design

Comments

@dalance
Copy link
Collaborator

dalance commented Feb 1, 2023

Currently, struct is transpiled to struct in SystemVerilog.
How about to struct packed?
Is there any usecase of unpacked struct?

@dalance dalance added the lang Language design label Feb 1, 2023
@taichi-ishitani
Copy link
Contributor

I think it is better for RTL development that packed is default because a bit vector variable can be assigned to a packed struct variable directory.

@dalance
Copy link
Collaborator Author

dalance commented Feb 6, 2023

I think so too.

dalance added a commit that referenced this issue Feb 6, 2023
@dalance dalance closed this as completed Feb 6, 2023
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

No branches or pull requests

2 participants