Typical structure of a hardware state transition machine