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.

TMS320DM6446: reuse code from 64+ to 674+ processor

Part Number: TMS320DM6446

I am writing code for 64+ DSP processor on DM 6446. Can i resue the code for 674+ DSP processor.?

IF yes what are the changes required?

  • Hi, Mark,

    We do not have any collateral or resource beyond what you see in the product folder. You may search the E2E forum for archived posts of previous discussions which may help address your questions. For more info on TMS320DM6446 support, please see the FAQ in 

        https://e2e.ti.com/support/processors/f/791/t/813421

    By the way if my recollection is correct, C64x is fixed-point core, C67x is floating-point. They are not compatible.

    Rex

  • Mark,

    Is your code using floating point operations or is the code pretty much fixed point code? The C674x architecture merges the C64x+ and C67x instruction code so it is binary compatible with C64x+ code. The code will run on C674x and will provide similar performance as compared to C64x+ if you don`t recompile it. If you recompile it with C674x with -mv 6740 settings, the compiler will try to take benefit of the updated architecture.

    Please also note we will recommend that you also look at the version of the compiler and try to use something that is CGT version 7.2 and higher as older compilers only support TI COFF binary format and newer compiler will provide support for ELF binary format which is used in the C674x software stacks. 

    Once the code is recompiled, you can also take advantage of improved memory architecture, EDMA, to get higher performance on the C674x DSP. 

    Regards,

    Rahul

  • Rahul,

    So if i dont recompile the code for C674X I can load C64x code on the C674X?  C64X does not support floating point code.  But C674X is fixed and floating point dsp. So iC674X code can be reused for 64X?

    Regards,

    Mark

  • Mark,

    Your understanding is correct. code for C64x if not recompiled will run on C674x and provide same performance as C64x+. C674x code however will not run as is on C64x+ since C64x+ doesn`t have floating point support. If the code is purely C code a simple recompile will allow you to target the code for C64x+ and C674x. 

    Regards,

    Rahul