Forum Discussion
gomezramones
New Contributor
3 years agoProblem FSM
There is a problem that when I tried to design a FSM, the code never enters to that part. I simulated the same code in ModelSim and it was working fine.
FSM_I2C : process(current_state,next_sta...
- 3 years ago
The problem was not the triggered in the FSM. When you have a FSM and some signals are going to change in some cases, you need to initialize them at the beginning so the FSM can see signals change in every case possible.
ShengN_altera
Super Contributor
3 years agoHi,
Let me know if any further update or concern?
Thanks,
Best regards,
Sheng
p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer.
gomezramones
New Contributor
3 years agoThe problem was not the triggered in the FSM. When you have a FSM and some signals are going to change in some cases, you need to initialize them at the beginning so the FSM can see signals change in every case possible.