mhytr
Member level 3
The following is the statemachine in my design:
initialize->a1->a2->a3->a1->a2->a3->a1.............
The state is setted to "initilize" and it is supposed to change to "a1" at the next posedge clock .In the behavioral simulation it works so,but in the post-translate simulation it waits for 2 cycles(in these 2 cycles the state is "initialize") and then change to "a1" and it waits for 3 cycles in the post-place&route simulation .
Though the state machine works well except several delay cycles in the "initialize" state ,i really want to know the reason of these delay cycles.
Thanks!
initialize->a1->a2->a3->a1->a2->a3->a1.............
The state is setted to "initilize" and it is supposed to change to "a1" at the next posedge clock .In the behavioral simulation it works so,but in the post-translate simulation it waits for 2 cycles(in these 2 cycles the state is "initialize") and then change to "a1" and it waits for 3 cycles in the post-place&route simulation .
Though the state machine works well except several delay cycles in the "initialize" state ,i really want to know the reason of these delay cycles.
Thanks!