Forum Discussion
ATsao3
New Contributor
8 months agoState machine question in Arria X device
Hello all, In my design, there has a state machine having 28 states. The function is all good in RTL simulation. After full compilation and program to the device. There will be some state doesn't ...
sstrell
Super Contributor
8 months 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?