vhdl state machine generator