Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
21618 Discussions

NIOS II variables in C

Altera_Forum
Honored Contributor II
1,186 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
530 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
530 Views

Sorry, I'm new to this. 

Could you please explain more?
0 Kudos
Reply