Forum Discussion
Altera_Forum
Honored Contributor
21 years agoHow can I add two Nios in FPGA?
I have a stratix board,but when I add two Nios in my project and compiled it, I found that the system.h generated by Nios IDE can't involved the other CPU and its peripherals. How can I do...
Altera_Forum
Honored Contributor
21 years agoNios II has supported multiple CPUs since the first release.
Each CPU has a system library associated with it, so the system.h and autogenerated linker script apply only to that CPU. You need to create system libraries (and application projects) for all the CPUs in your system. The appropriate memory map will be chosen depending on which memories are visible to the CPU. You also need to ensure that the text and data sections of the different CPUs are in different memories, and that they don't share the same reset and exception addresses.