Part Number: TMS320C6678
Tool/software: TI C/C++ Compiler
My question is how can i use circular addressing of C6678 through C languague??? Thanx.
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.
Part Number: TMS320C6678
Tool/software: TI C/C++ Compiler
My question is how can i use circular addressing of C6678 through C languague??? Thanx.
Thanx Cvetolin
I will read the article but it look to me it explain the circular addressing of the processor but not
how to use it through C language.
Oded
Reading the latest TMS320C6000 Optimizing Compiler v8.2.x User's Guide from May 2017 there is still no support for circular address in the C compiler.oded shahua said:Can you tell if there is already a version that include this support and if there is what version it is???
E.g. section 8.3 Register Conventions says:
For example, the compiler assumes all circular addressing-enabled registers are set for linear addressing (the AMR is used to enable circular addressing). Enabling circular addressing and then calling a C/C++ function without restoring the AMR to a default setting violates the calling convention.
And section 8.6.14 IRP and AMR Conventions says:
There are certain assumptions that the compiler makes about the IRP and AMR control registers. The assumptions should be enforced in all programs and are as follows:1. The AMR must be set to 0 upon calling or returning from a function. A function does not have to save and restore the AMR, but must ensure that the AMR is 0 before returning.
2. The AMR must be set to 0 when interrupts are enabled, or the SAVE_AMR and STORE_AMR macros should be used in all interrupts (see Section 8.7.3).