Forum Discussion
Altera_Forum
Honored Contributor
9 years agoif the RAM is connected as 8Bit addressable memory:
printf("%x", 0xff & mem_fb[i]); if the RAM is connected on a 32Bit bus teh upper bits may filled up with 0: printf("%x", 0xff & mem_fb[4*i]);