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 it's working by outputting "Hello world". The strings hello world is stored in a RAM which has its own memory map in the VGA system. when trying to run in C, I got really confused at this point.. Since I am writing to this RAM, the address it takes is definitely different from the base address of the entire VGA system added. eg. The 'H' char is stored at address 9203 of the RAM. but the base address of the peripheral is 0x01800000 (VGA_BASE , from system.h) Could anyone please give me a hint to how to write to the address of the RAM that I am interested in ? Thank you !