Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12409 Discussions

How to simulate Nios II program with SOPC Builder

Altera_Forum
Honored Contributor II
801 Views

Hi everyone, 

 

I have an SOPC builder Avalon system with a NIOS-II processor. I want to simulate the whole thing with a program runnin in the NIOS-II. The program itself is very basic, a "hello world" message sent to the UART and some I/O operations. 

 

I have instantiated an onchip-memory in the SOPC. I have modified the linker script using the BSP editor tool to make the gcc compiler link the program to the address of the on-chip memory. 

 

But now I'm stuck, I can't find how to tell SOPC builder to use the hello_world.elf binary to initialize the content of the on-chip memory. 

 

What am I missing or what am I doing wrong? 

 

Thanks
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
100 Views

You could have a look on the AN351.

Altera_Forum
Honored Contributor II
100 Views

Thanks, but I use SOPC Builder (PCI core is not available with QSYS). 

 

I'll take a look but AFAIK, a lot of things don't apply.
Altera_Forum
Honored Contributor II
100 Views

Try to find an older release. I found one here http://www.scribd.com/doc/36117105/an-351 

 

The old NIOS doc is available here : http://www.altera.com/literature/lit-nio2.jsp
Reply