Altera_Forum
Honored Contributor
15 years agoInput decay and state machine deadlock
Hello,
I have an Altera device that gets an input from another board. This input drives a complex state machine. When I remove the power from the other board, the input goes low in a 5ms non-monotonous decay. This causes my state machine to lock up. What I did to get this to work is double flop the input, then feed it into the state machine. Is this a recommended solution? I have signal tap displaying the state machine register, which in normal operation, shows STATE_1, STATE_2, ... When the deadlock happens, signal tap shows 0 for the state. The case for the state machine handles all of the states and includes a default state. Thank you for any insight on this.