Altera_Forum
Honored Contributor
20 years agoabsolute address accessing in NIOS2
HI, eveyone:
i just a beginner of NIOS, i have a quetion about software development of absolute address's accessing. for example, the system have one 1kbytes ram, its start avalon address is 0x0, and length is 0x3ff. i want to access the space which address is 0x100 in my program. can i use pointer of C language like this? unsigned char *p=(unsigned char *)0x100; when i want to know what's byte's data, then x=*p; when i want to give this byte's data, then *p=0xff; how about another way to access absolute address in NIOS2 IDE? is there any document about this?