Altera_Forum
Honored Contributor
11 years agowriting information into avalon slave in c
Hi,
I have a NIOS II which is connected to a vga component with avalon memory mapped slave. In the VHDL entity, i have address, writedata, readdata, and chip select. the address base of the avalon memory mapped slave is 0x3008. I am not sure how to write information into the memory mapped slave. The address is used so i can write data into different signals. So far i have something like this in c: # define x (char *) 0x3008 main(){ while(1) *x=0x0F; // whatever values i need to pass. }