Tim10
New Contributor
7 years agoState Machine Wizard
I used the State Machine Wizard to create a machine with 9 states. Looking through the generated code I saw this: reg [8:0] fstate;
reg [8:0] reg_fstate;
parameter State1=0,State2=1,State3=2,State4...