Forum Discussion

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

List of macro functions (i.e. IOWR_ALTERA_AVALON_PIO_DATA)

Hello,

Is there a list available where they explain all the possible macro functions somewhere? I've looked through every possible datasheet and I can't find them. An example of such a macro function is IOWR_ALTERA_AVALON_PIO_DATA (although I know how that one works :P).

Esp. interested in DDR2 and Flash usage. After which I need to implemented a Serial RapidIO MegaCore (IP core).

The only explaining of functions I can find is in the Nios II Software Developer’s Handbook, where they explain for example how usleep works.

Thanks in advance.

1 Reply

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

    Most of the standard SOPC components are described in this document (http://www.altera.com/literature/ug/ug_embedded_ip.pdf). Each component have a "Software Programming Model" that describes how to use them. If the macro names aren't specified in the document, they say what header file to look for.

    There aren't any macros to access a DDR2, it's just RAM. For the flash you have specific driver functions, that depend on the kind of flash that you have.