Hi! I need to create double buffer in my NIOS II project. I did it as follow:
static const uint32_t image_width = 768;
static const uint32_t image_height = 576;
typedef uint32_t gui_frame_t[image...
You can try these next steps and tell me what's happen?
1) add a new region called .video_buffer and assign it to the emif linker region / memory device name (they have already done this)
2) in the lower section of the window: Linker Memory Regions, click Add and give the name of the new region video_buffer with a memory device name set to emif
3) adjust the size of the original emif (I reduced it in half) and set the video buffer depth to half of what I had available
4) after building the bsp, and writing a simple hello_world program to intialize the video buffer and print it out, my elf size is approx 6KB