Forum Discussion
Altera_Forum
Honored Contributor
14 years agoAccessing memory in user logic
Hi everybody I am new to NIOS and has been learning how to control a system but is encountering some difficulties. I have added a VGA system to the NIOSII system and is trying to verify if...
Altera_Forum
Honored Contributor
14 years agoJust add the offset to the base address of the memory area.
There are a variety of ways of doing it, you also probably want to bypass any data cache as well. Personally I would use a C structure (or maybe an array in this case) that describes the IO locations and either set a C pointer to the address (0x81800000 to get cache bypass) or get the linker to assign the absolute address to a symbol.