Altera_Forum
Honored Contributor
15 years agoalt_remap_uncached, alt_uncached_malloc?
Hi,
I'm writing to off chip DDR2. My question is should I use either of the alt_remap_uncached or the alt_uncached_malloc functions? I saw that they use it in the NEEK demo. But I don't understand why. My driver is stored in on-chip mem, but the video buffers are stored in off-chip DDR2, so I'm not sure if I need those functions for my design. I should say that my controller worked without these functions, but now that I'm troubleshooting a bigger design, I'd like to know a little more about them. My guess is that I want to actually use alt_remap_cached for the entire buffer ddr2 memory, so that the processor can cache some of the video buffer data and speed up the stream. Is this correct? Thanks.