Forum Discussion
Altera_Forum
Honored Contributor
11 years agoWriting via the Avalon master interface in assembly
What is required when writing to the Avalon master interface instantiated with the Nios, specifically with assembly? I understand that in C, use can use the following macros to read/write to a ...
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- Those C macros are simply wrappers to provide access to the IO instructions. See the stwio and ldwio descriptions in the instruction set reference. https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/hb/nios2/n2cpu_nii51017.pdf --- Quote End --- I see. So if my understanding is correct, I will simply want to read and write to the address given to the Avalon master interface in Qsys using the common load/store operations? In doing so, I can initiate Avalon reads and writes? Thanks.