M
Mohammed A khader
Guest
Hi all,
I am designing a fsm which has more then 8 states.I would like to have
a one-hot machine but at the same time it should have the fail-safe
condition that is if accidentally fsm goes into illegal state(i:e Two
or more FFs are high) then it should be forced back to initial state.
That is having WHEN others => next_state <=Inital_state clause as
the last statement.
But if I implement that then the function for next state becomes as
many states as my fsm is having.
Do we have any technique to detect an illegal state while making the
fsm as one-hot.
Thanks in Advance.
I am designing a fsm which has more then 8 states.I would like to have
a one-hot machine but at the same time it should have the fail-safe
condition that is if accidentally fsm goes into illegal state(i:e Two
or more FFs are high) then it should be forced back to initial state.
That is having WHEN others => next_state <=Inital_state clause as
the last statement.
But if I implement that then the function for next state becomes as
many states as my fsm is having.
Do we have any technique to detect an illegal state while making the
fsm as one-hot.
Thanks in Advance.