Altera_Forum
Honored Contributor
14 years agoShared memory
Hello,
I would like to make a big (e.g. 8Mbyte) buffer for my core, but also share the same DRAM chip with Nios. Here are my options: 1) Use SGDMA and allocate memory in software. 2) Use memory for my core and Nios, but edit linker script to skip first 8MB of memory. The first idea would be great, but my packet size is 188 bytes, so to fill 8MB of data I would need a huge list of descriptors. Or there are any other options using SGDMA? The second idea would be ok if it is safe to use? I know that I could place .reset in a certain place of RAM, but the .reset vector in the design will be placed in on-chip memory for bootloader to start. Since there are DRAM and SRAM chips on almost every Altera devkit, so they use SRAM for Nios and DRAM for specified application. I don't have so much space on the board to fit two memory devices. What other options can I have?