Forum Discussion

gomezramones's avatar
gomezramones
Icon for New Contributor rankNew Contributor
3 years ago
Solved

Problem 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...
  • gomezramones's avatar
    gomezramones
    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.