SystemRDL / PeakRDL-cheader

GNU General Public License v3.0
9 stars 11 forks source link

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

Open acaravind opened 2 months ago

acaravind commented 2 months ago

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 commented 2 months ago

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

roowatt commented 2 months ago

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

acaravind commented 2 months ago

Thank you for the response. Somehow couldn't find it when i did the search! Glad to know that it is being addressed.

On Sat, Sep 14, 2024 at 4:06 PM Roo @.***> wrote:

This is expected, if you had a look at the open issues you would see that it is discussed in #10 https://github.com/SystemRDL/PeakRDL-cheader/pull/10

— Reply to this email directly, view it on GitHub https://github.com/SystemRDL/PeakRDL-cheader/issues/17#issuecomment-2350946263, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPN3OYB6UUNYVR7IGITDXLZWQGRLAVCNFSM6AAAAABODY22VOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJQHE2DMMRWGM . You are receiving this because you authored the thread.Message ID: @.***>

roowatt commented 2 months ago

No worries, I have been keeping an eye on it myself.

On Sat, 14 Sept 2024, 23:57 acaravind, @.***> wrote:

Thank you for the response. Somehow couldn't find it when i did the search! Glad to know that it is being addressed.

On Sat, Sep 14, 2024 at 4:06 PM Roo @.***> wrote:

This is expected, if you had a look at the open issues you would see that it is discussed in #10 https://github.com/SystemRDL/PeakRDL-cheader/pull/10

— Reply to this email directly, view it on GitHub < https://github.com/SystemRDL/PeakRDL-cheader/issues/17#issuecomment-2350946263>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABPN3OYB6UUNYVR7IGITDXLZWQGRLAVCNFSM6AAAAABODY22VOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJQHE2DMMRWGM>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/SystemRDL/PeakRDL-cheader/issues/17#issuecomment-2351000928, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJASSGUGKGJYWI3UXI3PNI3ZWQ6DXAVCNFSM6AAAAABODY22VOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJRGAYDAOJSHA . You are receiving this because you commented.Message ID: @.***>