--- Quote Start ---
Altera recommends using localparams (or in system verilog use an enumerated type) because it makes the code easier to read. The synth tool can still extract the state machine from either style and will auto assign state values for you based on your synthesis settings (1 hot, grey code, counter)
--- Quote End ---
Thank you for your advisement. What I wonder is if there are hundreds of states how I can define them quickly such as using system verilog enum. Do I have to type all the code as follow.
localparam IDLE 0;
localparam SYSEN 1;
...
...
...
localparam KILLSLEF 299;
If what I interested in is just give them each a meaningful name, is system verilog my better choice?