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

how to find the APIs of the ip in nios?

Altera_Forum
Honored Contributor II
1,190 Views

hi everyone 

if i add an ip from the library in Qsys, how should i use it in Eclipse? 

is there an pdf or reference design to teach me how to use it?(like read/write, setup interrupt) 

and how can i find the APIs of the ip?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
502 Views

Hi, 

 

it depends which IP you use. Try google the name of the ip or try the documentation button inside the opened qsys-ip...
0 Kudos
Altera_Forum
Honored Contributor II
502 Views

Almost every IP core comes with some documentation, which can be more or less complete. 

If it's an IP from Altera or if the IP has been designed as a Qsys component, usually you have the HAL driver or, at least a register map to access it through IOWR/IORD. 

If you need to integrate a generic IP (i.e. from opencores.org) you may need to add a wrapper to interface it to Avalon bus, create a new custom device in Qsys and write the APIs yourself.
0 Kudos
Reply