Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21610 Discussions

NIOS II multi core system

Altera_Forum
Honored Contributor II
1,725 Views

hi i am using cyclone II EP2C35F6726C6, i have try to create dual core system but unable to download .elf file. so can you suggest NIOS II IDE software building step

0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
571 Views

I would like to do the same on Arria and Stratix ... where each NIOS has its own IMEM for code and stack/heap ... did you get any answers Sachin ?

0 Kudos
Altera_Forum
Honored Contributor II
571 Views

You need to think about: 

- how to get the code loaded for the final system - ie when not using JTAG. 

- whether the two nios are completely independant, or whether they work as a pair. 

- whether you are going to compile the code separately, or as a single object (might be difficult if you use the Altera build scripts). 

 

You almost certainly need to expose the 'soft reset' signals - maybe so that the second nios is held in reset until the first has finished its initialisation and loaded the code for both from EPCS.
0 Kudos
Altera_Forum
Honored Contributor II
571 Views

Ok thanks DSL 

 

 

"how to get the code loaded for the final system - ie when not using JTAG." 

The first issue I have is loading code into the independent NIOS II's via the ECLIPSE ... I guess I can easily duplicate the one NIOS II and see if the  

ECLIPSE environment understands that there are two "hello_world" .elf's that are to be loaded into separate NIOS II's ... if I could do that then I  

could test each NOIS II at a time then try them both running together . 

 

 

"whether the two nios are completely independant, or whether they work as a pair" 

I would like them to be completely independent... where the Avalon MM fabric handles arbitration to shared Avalon MM slaves.  

 

"- whether you are going to compile the code separately, or as a single object (might be difficult if you use the Altera build scripts)." 

I would like to be able to compile code separately as two .elf's that could be loaded into separate IMEM instantiated for each NIOS II. 

 

I am looking for a pointer to an example by Altera or a thread here where it has been done before. 

 

Thanks, Bob.
0 Kudos
Altera_Forum
Honored Contributor II
571 Views
0 Kudos
Altera_Forum
Honored Contributor II
571 Views

Ted,  

 

No but I will ... 

 

Many Thanks, Bob.
0 Kudos
Reply