Forum Discussion
Altera_Forum
Honored Contributor
20 years agoNIOS II HW/SW Interface
Hi all, I'm new on working with Nios. I want to build a spezial Hardware (with the dsp Builder) on the FPGA and connect this Hardware to the NIOS Software. I want to do this with a Avalon S...
Altera_Forum
Honored Contributor
20 years agoHallo
Thanks for your answers. But i have some more questions. I use this IOWR(<BASE_ADDRESS_GIVEN_IN_SYSTEM.H>, <OFFSET>, <DATA>); IORD(<BASE_ADDRESS_GIVEN_IN_SYSTEM.H>, <OFFSET>); makros. But i have some questions about the OFFSET. How can i know which offset i have to use. I have 4 address Read Slave and 4addr Write Slave Bus IOWR(<BASE_ADDRESS_GIVEN_IN_SYSTEM.H>, 0, a); IOWR(<BASE_ADDRESS_GIVEN_IN_SYSTEM.H>, 1, http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/cool.gif ; IOWR(<BASE_ADDRESS_GIVEN_IN_SYSTEM.H>, 2, c); IOWR(<BASE_ADDRESS_GIVEN_IN_SYSTEM.H>, 3, d); Is it correct that i write a,b,c and d to the 4 adresse ligns? Can i read things like datatreadyforread....