Forum Discussion
Altera_Forum
Honored Contributor
13 years agoMultiple Nios II and Qsys
Hello,
Is there anybody that used/have experience with Qsys to fit five Nios II on a Cyclone IV EP4CE22 FPGA? I could only fit one. I need to use SDRAM controller. I'd like to know how many Nios II have ever fit on 22,300 Logic Elements. Thanks, Alan15 Replies
- Altera_Forum
Honored Contributor
Hi,
I have my SDRAM at 0x80_0000. 1st Core: Reset Vector: 0x80_0000 Exception Vector: 0x80_0020 2nd Core: Reset Vector: 0x81_0000 Exception Vector: 0x81_0020 3rd Core: Reset Vector: 0x82_0000 Exception Vector: 0x82_0020 4th Core: Reset Vector: 0x83_0000 Exception Vector: 0x83_0020. Though when I run my 1st core, it runs & says "starting at address 0x80_0020". But when I run my 2nd core, it freezes the 1st core and itself runs in a weird way and says "starting at address 0x80_0000". Can anyone please suggest why 2nd core is starting to run at 0x80_0020. It should start at 0x81_0020. - Altera_Forum
Honored Contributor
It could be a problem in your link script. Check that the application for the second core is indeed mapped in the 0x81xxxx range in the link script. Did you create separate link sections for all 4 cores?
- Altera_Forum
Honored Contributor
Hi Daixiwen,
Here I am attaching screenshots of my linker scripts settings for all 4 cores. Please suggest. Thanks - Altera_Forum
Honored Contributor
It looks okay to me. You can always try and run the nm command on the generated elf files to check that everything is put in the correct memory area, but I don't see any problem in your linker script settings.
My next suggestion would be to put some signaltap probes around the two CPU's Avalon masters to try and figure out what they are doing and why your first CPU is freezing. - Altera_Forum
Honored Contributor
Multiple Nios II and Qsys,can you think boot and load?