Control Law Accelerator (CLA)
10 - 10 C2000 Microcontroller Workshop - Control Law Accelerator
CLA Task Programming
CLA Task Programming
Can be written in C or assembly code
Assembly code will give best performance
for time-critical tasks
Writing in assembly may not be so bad!
CLA programs in floating point
Often not that much code in a task
Commonly, the user will use assembly for
critical tasks, and C for non-critical tasks
CLA C Language Implementation and Restrictions
CLA C Language Implementation
Supports C only
(no C++ or GCC extension support)
Different data type sizes than C28x CPU
No support for 64-bit integer or 64-bit floating point
CLA architecture is designed for 32-bit data types
16-bit computations incur overhead for sign-extension
Primarily used for reading and writing to 16-bit
peripheral registers