UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor nadidjka
Visitor
5,145 Views
Registered: ‎11-05-2009

please help, urgent : How can I know where the data is residing in EDK?

Jump to solution

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

 

Regards,
Nadidjka
0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
6,533 Views
Registered: ‎08-06-2007

Re: please help, urgent : How can I know where the data is residing in EDK?

Jump to solution

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

0 Kudos
4 Replies
5,129 Views
Registered: ‎09-10-2009

Re: please help, urgent : How can I know where the data is residing in EDK?

Jump to solution

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. 

0 Kudos
Visitor nadidjka
Visitor
5,123 Views
Registered: ‎11-05-2009

Re: please help, urgent : How can I know where the data is residing in EDK?

Jump to solution

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

Regards,
Nadidjka
0 Kudos
Xilinx Employee
Xilinx Employee
6,534 Views
Registered: ‎08-06-2007

Re: please help, urgent : How can I know where the data is residing in EDK?

Jump to solution

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

0 Kudos
Visitor nadidjka
Visitor
5,020 Views
Registered: ‎11-05-2009

Re: please help, urgent : How can I know where the data is residing in EDK?

Jump to solution

Thank you Goran,

 

I skimmed through the manual and didn't notice them info before. :)

 

 

Regards,
Nadidjka
0 Kudos