Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Visitor
nadidjka
Posts: 12
Registered: ‎11-05-2009
0
Accepted Solution

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

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
Regular Contributor
kavya@caps.fsu.edu
Posts: 73
Registered: ‎09-10-2009
0

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

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. 

Visitor
nadidjka
Posts: 12
Registered: ‎11-05-2009
0

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

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
Xilinx Employee
goran
Posts: 723
Registered: ‎08-06-2007
0

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

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

Visitor
nadidjka
Posts: 12
Registered: ‎11-05-2009
0

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

Thank you Goran,

 

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

 

 

Regards,
Nadidjka