Forum Discussion
Altera_Forum
Honored Contributor
20 years agoReset software
Hello, I' ve implemented a web server in the FPGA 1c20 in my University. The University closes my IP obtained by DHCP after 24 hours working. I don't know why. So, I need to rest...
Altera_Forum
Honored Contributor
19 years agoHey,
This is a way to do a software reset: # define NIOS2_RESET() NIOS2_WRITE_STATUS(0); NIOS2_WRITE_IENABLE(0); ((void(*)(void))NIOS2_RESET_ADDR)() In your main program you just call this "function" and your NIOS will reset. Enjoy ... Karel - Gemidis