How to make an array with all the enum values in system verilog?

后端 未结 0 930
无人共我
无人共我 2021-01-24 15:51

I have an enum :

typedef enum { enum_A = 1, enum_B = -5, enum_C = 10 } enum_t;

I want to make an array that has all the values of the enum:

<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题