okay I understand and now know how to implement it, but I ran into a bit of a problem trying it out on the dev board. Everytime I boot up the board it goes into the user region of the flash memory. How do I make it go back to the way it was when I first took it out of the box? I tried restoring it to the factory settings as specified in Appendix B in the Nios Development Board Reference Manual but that didn't work. Everytime I boot the board up, it still goes into the user region instead of factory region.
Also, I have created a program which will boot on internal ram blocks. I program it on the fpga. Will it run the program once I boot(power down and power it back up) the board up or will it stay in the factory or user regions?
Patel