Forum Discussion
sstrell
Super Contributor
1 month agoYes, you should first try adding a Safe State Machine assignment in the Assignment Editor. That will ensure your SM can't get into one of the many illegal states possible with one-hot encoding. But you also should be coding your next state logic properly. Can you show in your code how you're defining states and the next-state logic?