Forum Discussion
Altera_Forum
Honored Contributor
22 years agoNIOS II ISS Simulator error
Hi all, I'm getting this error when running a simple application: the application works fine; at a given point I need to change the stack pointer to another (fresh, never used) location. ...
Altera_Forum
Honored Contributor
22 years agoI wouldn't characterize the ISS as being over cautious at all. One of the main benefits of running on a simulator is that it can easily catch this sort of error in you code. It can be very hard to find these sort of errors when running on real hardware: the uninitialized value might not cause a problem most of the time (but it surely will during product demos!).
If your code is reading values off the stack that it hasn't set, it could potentially signal a problem (unless, as in this trivial case, you don't actually use the data).