Create statemachine.vhdl