Forum Discussion
Altera_Forum
Honored Contributor
15 years agoow to define an uncached linker region
Can anyone tell me how to define a region in the linker to be uncached? An example - I have a block ram I am using for SGDMA descriptor tables that I need to define as uncached... Thanks - Chris
Altera_Forum
Honored Contributor
15 years agoWhy don't you use the alt_remap_uncached() function at run time? If you use it on a pointer to the descriptors, it will force the CPU to avoid the cache.
Another alternative could be to flush/invalidate the cache when needed, as is done in the Altera HAL functions that handle the descriptors.