vhdl implementation of sequential machine 6220301