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

enumeration encoding in fields is not reflected in the generated c header #17

Open
acaravind opened this issue Sep 12, 2024 · 4 comments

Comments

@acaravind
Copy link

If the rdl contains
:
field {
enum xyz{
XXX= 3'b000 {
desc = "XXXXX";
};
YYY= 3'b001 {
desc = "YYYY";
};
encode = xyz;
} bits[3];

:
I was expecting the generated C header to contain the enumerated data type elaborated in the usual lexical/hierarchical namespace..

This seems to be an omission, in what is otherwise a fantastic, high quality tool!

@acaravind
Copy link
Author

hi, any update? i just want a confirmation that this is a real issue and i am not mistaken !

@roowatt
Copy link

roowatt commented Sep 14, 2024

This is expected, if you had a look at the open issues you would see that it is discussed in #10

@acaravind
Copy link
Author

acaravind commented Sep 14, 2024 via email

@roowatt
Copy link

roowatt commented Sep 14, 2024 via email

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

2 participants