- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
please help, urgent : How can I know where the data is residing in EDK?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-10-2010 09:34 AM
Hello everyone,
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.
Thank you,
Nadidjka
Nadidjka
Solved! Go to Solution.
Re: please help, urgent : How can I know where the data is residing in EDK?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-10-2010 10:05 AM
Hello,
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.
Cheers,
KSR.
Re: please help, urgent : How can I know where the data is residing in EDK?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-10-2010 10:19 AM
Hello KSR,
Thank you so much for your reply.
though all i could find in my linker scripts window is the following :
.text
.rodata
.sdata2
.sbss2
.data
.sdata
.sbss
.bss
Which ones refer to the instructions and which one refers to the data?
Thank you again,
Regards,
Nadidjka
Nadidjka
Re: please help, urgent : How can I know where the data is residing in EDK?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-10-2010 11:40 PM
Hi Nadidjka,
Have you read the manuals?
You can find the information on these linker sections in "Embedded System Tools Reference Manual" under "GNU Compiler tools".
Göran
Re: please help, urgent : How can I know where the data is residing in EDK?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-26-2010 03:28 AM
Thank you Goran,
I skimmed through the manual and didn't notice them info before. :)
Nadidjka











