Forum Discussion
Altera_Forum
Honored Contributor
20 years agoabout the head file io.h in the nios2 ide
Hello: i created a project template "hello led" in the nios2 ide.then i see the content of the io.h file.there are something i don't know what they are. for example:# define IORD_32DIRECT...
Altera_Forum
Honored Contributor
20 years agoi have found the answer from altera.
this is altera's reply: These built-in functions now are used instead of doing direct peripheral register access. They mean reading/writing register REGNUM offset from base address BASE. They use LDxIO or STxIO instructions. Please find the detailed Nios II instruction set reference in NiosII Processor Reference Book ( <NiosII Installation Path>\documents\n2cpu_nii5v1.pdf, chapter 8).