Nothing Special   »   [go: up one dir, main page]

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

SystemVerilog accessing slice of Union member not handled #2353

Open
rherveille opened this issue Mar 1, 2024 · 0 comments
Open

SystemVerilog accessing slice of Union member not handled #2353

rherveille opened this issue Mar 1, 2024 · 0 comments

Comments

@rherveille
Copy link

I got an error "Accessing member of a slice of type AST_UNION is unsupported.
This is triggered in uhdm_ast.cc
I believe changing line 965
else if (current_struct_elem->type == AST::AST_STRUCT)
to
else if (current_struct_elem->type == AST::AST_STRUCT || current_struct_elem->type == AST::AST_UNION)
fixes this. At least in my use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant