i am running a state machine.
Simulation shows everything is OK.
Real life implementation is showing otherwise.
I keep track of the states using on board LEDS showing the current FSM
The problem is that at a certain point (couldn't figure out if there is
a specific sequence except that its not from the WAIT STATE), the FSM
transfer to the INIT STATE and gets stuck there until i do a POWER
reset, which is weird by itself because there is no such transition
possible, as i made sure that the reset_L signal is not LOW.
and gets stuck at that state, even though that even if such a transfer
should happen, an immediate transfer to WAIT state should happen but
I cant find the reason and the solution, please help...
THE CODE IS ATTACHED