Forum Discussion
Altera_Forum
Honored Contributor
13 years agoI've done it, I've implemented a 4 CPU system in DE0-Nano. There were several challenges:
1) First I had to control the reset signal of the "slave" CPUs from CPU0. In my case I had to manuallly modify the VHDL code generated by SOPC builder to be able to use a diferent reset signal for the slave CPUs. 2) I had to do a special bootloader for the slaves CPUs. This bootloader is run in the Master CPU. The bootloader, assert a reset, copy the code stored in flash to the memory of slave CPUs. and then deasserts the reset. 3) The memory location of the slave programs in flash is not obvious, so I had to do a parsing utility that parses the flash files to know the exact code positions. As a consequence the compilation of a new software variation always requires two compilations. The first to apply the functional change, the second to update the code locations. I think that with QSys it is easier to control the reset signal.