ASM to VHDL State Machines : 4 state value idle 0000 right_1 0001 right_2 0011 right_3 0010 left_1 1000 left_2 1100 left_3 0100 both_1 1001 both_2 1011 both_3 1010