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 agohi,
you're right in identifying that the iss is being over cautious by erroring on unitialized memory accesses. This has been identified as a problem and will be addressed in the next version. As a workaround for now though, edit the "clear_x_bits_ld_non_bypass" parameter and set it to 1 in the ptf file. This parameter should be located within the WIZARD_SCRIPT_ARGUMENTS for the nios2 module. This will cause the errors to be output as warnings instead, so your program won't error out. If you would like to suppress all the warnings altogether, when running the iss, go to the menu bar: Run->Run... and select the launch configuration for your project (identified by the project name). Select the ISS Settings tab, and uncheck the Warning tick box.