02-10-2010 09:34 AM
Please help me, it's urgent.. I'm doing some experiments in EDK. I designed two microblaze cores connected through FSL links, and I am running the matrix multiplication (parallelized) on both cores.
The problem is, that i want to know how i can put the data (matrix data like A[i][j] ) in the external memory (DDR2 or SRAM) or in the BRAM of each processor; because i assume that when i write the normal C code in the software application project, it automatically puts everything in the BRAM. Am I right?
Is this done by hardware or software? or both?
Your help would be much appreciated.
Solved! Go to Solution.
02-10-2010 10:05 AM
You change your code and data sections to DDR2 ./SDRAM in linker script file.
Go to Software --> Generate Linker script there you can find pulldown menu options where we can change our sections, stack of memory to DDR2.
02-10-2010 10:19 AM
Thank you so much for your reply.
though all i could find in my linker scripts window is the following :
Which ones refer to the instructions and which one refers to the data?
Thank you again,
02-10-2010 11:40 PM
Have you read the manuals?
You can find the information on these linker sections in "Embedded System Tools Reference Manual" under "GNU Compiler tools".