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++
12745 Discussions

List of macro functions (i.e. IOWR_ALTERA_AVALON_PIO_DATA)

Altera_Forum
Honored Contributor II
3,181 Views

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.  

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
2,293 Views

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.
0 Kudos
Reply