title: FSM machine in VHDL with each state DOING CERTAIN OPERATIONS
body: <p>I have a FSM with five states (s1, s2, s3, s4, s5).</p>
  
  <p>However, for each state, a sequence of operations should be done. For example, in s2, a counter should count from 1 to 10.</p>
  
  <p>Here comes my question: how could the FSM know that "I should change from s2 to s3"? Or to speak in another way, how could s2 inform FSM that "I am done", and new state should be started according to a LookUpTable? </p>