At the first, second and last options the input is correct.however in the rest there is a problem and the input is incorrect.I assume the problem is somehow connected to the FSM,and that for some reason the next state in the FSM is depended on the current state.any idea what is the problem?I attached above the a capture of the wave-form of the simulated and synthesized program by modelsim and the pr