Forum Discussion
Altera_Forum
Honored Contributor
13 years agoAFAIK, the only way to achieve that is to use System Verilog instead of plain Verilog and use "enum" types for the state.
Example: enum { S_FIRST, S_SECOND, S_THIRD } state;AFAIK, the only way to achieve that is to use System Verilog instead of plain Verilog and use "enum" types for the state.
Example: enum { S_FIRST, S_SECOND, S_THIRD } state;