Hi Expert,
When port the code in F2803x to F280049 CLA core, if keep the fixed-point function, could it worked in CLA or is there any library support the fixed-point calculation running in CLA?
Thanks!
Rayna
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 Expert,
When port the code in F2803x to F280049 CLA core, if keep the fixed-point function, could it worked in CLA or is there any library support the fixed-point calculation running in CLA?
Thanks!
Rayna
Rayna,
The compiler limitations are listed in the C2000 Compiler Guide ( http://www.ti.com/lit/spru514 ). Refer to the CLA compiler section of the guide. Specifically C Language Implementation and CLA Language Restrictions.
Fixed point is supported, but due to the architecture of the CLA, it is going to be poor performance compared to the C28x. Most of the CLA opcodes are floating point instructions, with a few to do integer math (ADD, SUB, CMP, LSL, LSR); the architecture does not have an integer multiply instruction.
Also refer to the CLA Software Development Guide. Specifically section 6 - Comparison to C28x+FPU
https://software-dl.ti.com/C2000/docs/cla_software_dev_guide/cla_fpu_comparison.html
Regards
Lori