Skip to content

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

@acaravind

Description

@acaravind

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions