Forum Discussion
Altera_Forum
Honored Contributor
14 years agoNios 2 to custom component communication
Hi, I'd like to know what instructions of Nios C program Do I need for writing and reading data to/from a custom component of sopc system??? I saw in some AN people use IORD() /IOWR() macros or...
Altera_Forum
Honored Contributor
14 years agoIt depends what kind of interface the custom component has.
IORD/IOWR are the most common and they are used for memory mapped Avalon slaves. On the other hand printf involves the use of a driver that redirects stdout to the specific component interface; so, at a low level, printf itself is possibly made of IOWRs .