Altera_Forum
Honored Contributor
9 years agoSynchronizing a state machine
Hi,
I've got a state machine in a component and there's something I don't understand correctly.
See attachments for code of the component and test bench.
I'd like everything of the s2 state to be done during s1. So I simply copied everything from line 130 to 161 between 126 and 127 but the simulation result is not what I expect: cur_blk isn't correct. Do I have a problem with th RAMs management?