--- Quote Start ---
what should I do to write all the process in the sdram (it's the finality I want to obtain)?
--- Quote End ---
Its a bit difficult to comment on this, as I don't really understand what you are trying to do.
As I commented earlier, you should be using simulation to test your design, and use SignalTap II to determine real-world stimulus for your simulation.
If you have not created a simulation of your system, you're making your life more difficult than it needs to be.
Create a simulation, create stimulus, and then try to make the simulation match your real world signals.
Cheers,
Dave