Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

How to simulate Nios II program with SOPC Builder

Altera_Forum
Honored Contributor II
1,512 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
811 Views

You could have a look on the AN351.

0 Kudos
Altera_Forum
Honored Contributor II
811 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.
0 Kudos
Altera_Forum
Honored Contributor II
811 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
0 Kudos
Reply