Hi
I'd like to know how I can find out what DSPs are code-compatible with C64x.
Actually, I'm searching if the C64x is code-compatible with C54x.
Thanks,
Pedro
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.
Hi
I'd like to know how I can find out what DSPs are code-compatible with C64x.
Actually, I'm searching if the C64x is code-compatible with C54x.
Thanks,
Pedro
Pedro,
Specifically, C64x is not compatible with the C54x. As a rule of thumb, processors in different families (i.e. C5000 for the 54x and C6000 for the 64x) are not code compatible because their architecture is totally different.
The C64x code compatibility looks like the chain below. But you can only move to the right. I.e. you can run C64x object code on the C64x+, C674x, and the C66x. You cannot go in the left direction, meaning you can't run C64x+ object code on the C64x.
C64x -> C64x+ -> C674x -> C66x
Keep in mind that just because it runs on the other architecture doesn't mean that it runs efficiently on that architecture. It won't take advantage of any of the new features on the upward architecture.
Regards,
Dan
Some more information on C6x core compatibility in the family:
http://processors.wiki.ti.com/index.php/File:C674xCore.JPG
Say I have a library that is built for C64x+, but with one version of (DSP) BIOS. Can I link it to executable for C66x with a different version (SYS) BIOS?
Thanks!
Does the functions in your library call into BIOS APIs. If yes, you will have to migrate the APIs to equivalent SYSBIOS APIs.
If the libraries are OS independent like TI`s standard DSP libraries such as DSPLIB, IMGLIB , then you can continue to use them as is if you are linking with COFF version of SYSBIOS libraries on C66x. However if you are linking with ELF binary version of SYSBIOS, you will have to rebuild that library in ELF format. All TI supported libraries we are already available in COFF and ELF format. If this is your custom library, the following wiki will help you migrate your code
http://processors.wiki.ti.com/index.php/C6000_EABI_Migration
Hope this helps. Let us know if you have any questions regarding this issue.
Regards,
Rahul