Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

NIOS II variables in C

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

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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