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.

dsp64x.lib recompile

I am trying to modify one of the DSP routines in dsp64x.src.  However, when I try to rebuild DSPLIB via "mk6x dsp64x.src -mv6400 -l dsp64x.lib" I get:  "dsp64x.src not achive".  If I make a slight modification (switching B-register for A-register for example) I will get compiler error as expected.

Thanks

Oleg

  • Oleg,

    The example in the User's Guide shows the command without the -mv6400 parameter. Have you tried it without that?

    This will be moved to the Compiler Forum because they know more about the Compiler tools than we do here in the C64x Forum (for silicon device questions).

    Regards,
    RandyP

  • Randy,

    The command will fail without the -mv6400 switch

     

  • nchukeg said:
    I am trying to modify one of the DSP routines in dsp64x.src.  However, when I try to rebuild DSPLIB via "mk6x dsp64x.src -mv6400 -l dsp64x.lib" I get:  "dsp64x.src not achive". 

    Are you trying to rebuild the dsplib source included with CCS3.x? If so, there was a known issue with some releases of DSPLIB included with CCS where the format was incorrect and gave this error when building with mk6x. You should be able to download the DSPLIB from the web and that version should allow you to rebuild properly.
    http://www.ti.com/tool/sprc265

     

     

  • I have used -mv6400 option and I am not trying to trebuild the dsplib source with CCS3.x.  It appears that I cannot modify dsp64x.src directly.   One of the FAE has suggested

    1. Run
      the following command to extract the contents  of the dsp64x.src into
      individual source files (*.asm)
    • ar6x –x dsp64x.src
    1. Modify
      the desired source files, for my case I changed autocor.asm
    2. Run
      the following command to replace the archive with the modified files
    • ar6x –r dsp64x.src autocor.asm  (for my
      case)
    • ar6x-r dsp64x.src <filename>
      <filename> (generic command)
    1. Run
      the following command to rebuild the library
    • mk6x –k dsp64x.src –mv6400 dsp64x.lib

    Right now I have just extracted the particular routine that I need and added as a separate assembly file into the project.