Forum Discussion
Altera_Forum
Honored Contributor
14 years agoIORD and IOWR are declared in "io.h"
Usually you don't have to specifically include it, because it's included by other Altera headers. For example, "altera_avalon_performance_counter.h" will include this for you. If you're using IOWR and IORD directly, then you should include the io.h header in your main function. Let the# ifdef pragmas take care of removing subsequent includes.