This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

problem project in code composer studio

i have design a c code for single-sideband modulator and demodulator using DSK TMS320C6713....but there have a error when i build it ....is about the filter coefficient file 

can anyone help...i cant generated the filter file....or help me fix the c code 

//SSB.C
#include"dsk6713_aic23.h"
Uint32 fs=DSK6713_AIC23_FREQ_16KHZ; //set sampling rate
#include "LPfilt.cof" //low pass filter coefficient file
#include "BPfilt.cof" //band pass filter coefficient file
#define carrierBufLen 16
#define sigLength 256
static short LPbuff[N], BPbuff[N];
short input[256], lpfiltOut[256], dsbscSig[256], bpfiltOut[256];
short filter(short newinp, short*dlyinp, short filtcoff[]); //function declaration
void main()
{
     short i;
     short sigIndex;
     short carrier[16]={1000, 383, -707, -924, 0, 924, 707, -383,
      -1000, -383, 707, 924, 0, -924, -707, 383}; //carrier signal with frequency 3kHz
     comm_poll(); //init DSK using polling
     for(i=0; i<N; i++)
      {
         LPbuff[i]=0;  //init the LP filter buffer
BPbuff[i]=0; //init the BP filter buffer
      }
      i=0;
      sigIndex=0;
      while(1)
      {
         input[sigIndex]=input_sample(); //input new sample data
         lpfiltOut[sigIndex]=filter(input[sigIndex], Lpbuff, LPfiltCoff);
         dsbscSig[sigIndex]=(lpfiltOut[sigIndex]*carrier[i])>>15; //scale the product of the baseband signal and the carrier signal
         bpfiltOut[sigIndex]=filter(dsbscSig[sigIndex], Bpbuff, BpfiltCoff);
         output_sample(bpfiltOut[sigIndex]);
         i++;
         sigIndex++;
         i=i%carrierBufLen; //reint table index if it exceeds the limit
         sigIndex=sigIndex%sigLength;
      }
}
short filter(short newinp, short*dlyinp, short filtcoff[]) //implement FIR
{
     short i;
     int yn;
     dlyinp[N-1]=newinp; //insert the newest sample into the buffer
     yn=dlyinp[0]*filtcoff[N-1]; //y(0)=x(n-(N-1))*h(N-1)
     for(i=1; i<N; i++) //loop for the rest
     {
         yn +=dly[i]*filtcoff[N-(i+1)]; //y(n)=x[n-(N-1-i)*h[N-1-i]
         dly[i-1]=dly[i]; //update the filter buffer
     }
     yn = (yn>>15); //filter's output
     return yn; //return y(n) at time n
}