[gem5-users] Re: Expose C++ enum in SLICC

2021-11-08 Thread Sampad Mohapatra via gem5-users
Hi Gabriel, Thanks for the detailed information. My enum is small, so I think this will work just fine. Regards, Sampad On Mon, Nov 8, 2021 at 6:43 AM Gabriel Busnot via gem5-users < gem5-users@gem5.org> wrote: > Hi Sampad, > > I don't think that you can import C++ enums in SLICC in a general a

[gem5-users] Re: Expose C++ enum in SLICC

2021-11-08 Thread Gabriel Busnot via gem5-users
Hi Sampad, I don't think that you can import C++ enums in SLICC in a general and sage way. SLICC does not support "external enums" so any enum declared in SLICC will result in a C++ enum being generated under the gem5::ruby namespace. One way of safely using external enums (any namespace, scope