Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
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.
21615 Discussions

NIOS II variables in C

Altera_Forum
Honored Contributor II
1,165 Views

Hello, 

 

When I add a component in SOPC builder and deal with them in NIOS II in C language, there are usually variables declares automatically. What are they? 

 

What I mean is, suppose that there is a component in SOPC builder called "message_buffer_ram", in NIOS II using a C code, I know there is a variable called message_buffer_ram_base to access the base. 

 

What are the rest? is there a place where I can see all of them and know how to deal with them? 

 

 

Regards, 

Khalid 

0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
509 Views

You're probably referring to system.h file. This is located either in your "BSP" (if using the software build tools flow) or in your System Library (if using the soon-to-be-deprecated IDE flow). 

 

- slacker
0 Kudos
Altera_Forum
Honored Contributor II
509 Views

Sorry, I'm new to this. 

Could you please explain more?
0 Kudos
Reply