Forum Discussion
[NIOS] New CPU Memory HEX file -> should all NIOS system be regenerated?
- 3 years ago
You do not have to regenerate the NIOS sub-system if you change the .hex file that you are using to initialize the memory.
You only have to do 2 steps in Quartus:
1) Run 'Update Memory Initialization File' in the Processing menu.
2) Run 'Start Assembler' under 'Start' in the Processing menu.
This will create a new SOF file using the new .HEX file.
Hi,
The Platform Designer have its own interconnection in the background and generate the HDL files based of the design that you have connected in the Platform Designer, thus using different .HEX meaning, different .qsys files generated, different HDL files, which will have issue.
Thus, you need to have it re-generated. To answer your question again, it is due to the memory you mentioned having a connection with the Nios II itself, meaning any connection to the Nios II whatsoever, there will be changes in the hardware thus require a re-generation. Nevertheless, we still recommend user to re-generate whenever there's any hardware changes.