Forum Discussion
Altera_Forum
Honored Contributor
15 years agoyou don't need to avoid IDE for this one. For ALL of my memory mapped SOPC components, I declaire a pointer to my HW\memories in C code like this:
#define data_cache_bypass_mask 0x80000000
volatile alt_u32 * uart_pointer = (volatile alt_u32*)(avalon_uart_0_base|data_cache_bypass_mask); then you can access your block\memory like uart_pointer[0] = 0xDEADBEEF; and the datacache bypass mask is already applied by the compiler.