DSPRelated.com
Forums

Reg .VDSP

Started by Sendhil Kumar April 29, 2007
Hai all,
I'm using VDSP-4.0 for SHARC 21065 processor.
In assembly i'm able to initialize a data to an array through the following
code

.segment/dm seg_dmda;
.var array1[5]="1.dat";
.endseg;

But the same to be done in C coding. Kindly give me the solution for the
same.

regards,
sendhil
Hi Sendhil,

Try this:

float a[20]={

#include "cBuff_a.dat"

};

float pm b[20]={

#include "cBuff_b.dat"

};

The 'pm' will place the buffer in the PM memory block, so that you can do a
dual data fetch.

Cheers,

George Kadziolka

Kaztek Systems

www.kaztek.com

_____

From: a... [mailto:a...] On Behalf Of
Sendhil Kumar
Sent: Sunday, April 29, 2007 9:31 AM
To: A...
Subject: [adsp] Reg .VDSP

Hai all,

I'm using VDSP-4.0 for SHARC 21065 processor.

In assembly i'm able to initialize a data to an array through the following
code

.segment/dm seg_dmda;

.var array1[5]="1.dat";

.endseg;

But the same to be done in C coding. Kindly give me the solution for the
same.

regards,

sendhil