Fix sel_current synthesis inferred latch warning. Testbench OK.
Fix nextState synthesis inferred latch warning by filling out the case statement with "default".