Supported CMSIS Library Functions for ARM Cortex-A Processors
The Embedded Coder® Support Package for ARM® Cortex®-A Processors provides a Code Replacement Library (CRL) ARM Cortex-A CMSIS to generate calls to CMSIS-DSP library optimized for ARM Cortex-A processors.
For more information on CMSIS-DSP library, see https://github.com/ARM-software/CMSIS-DSP.
Operation | CMSIS Function | Supported Data Types | Input Specifications | Replaced MATLAB® Function, Operator or Simulink® Block |
---|---|---|---|---|
Elementwise real addition |
|
|
Note To get the code replacement for elementwise real addition, both inputs must be of the same datatype. | plus |
Elementwise real subtraction |
|
|
Note To get the code replacement for elementwise real subtraction, both inputs must be of the same datatype. | minus |
Elementwise real multiplication |
|
|
Note To get the code replacement for elementwise real multiplication:
| times |
Real absolute |
|
|
| abs |
Real dot product |
|
|
| dot |
Vector log real |
|
|
| log |
Vector exponential real |
|
|
| exp |
Note
ARM Cortex-A CMSIS CRL supports both 32 bit and 64 bit ARM Cortex-A architectures.
Only 64 bit ARM Cortex-A architectures support the
half
data type.If you encounter situations where the ARM Cortex-A CMSIS CRL does not provide code replacements due to the input vector length being below the threshold, you can enable CMSIS function generation for all input lengths. To do this, set the environment variable
DISABLE_ARMCORTEXA_CMSIS_CRL_THRESHOLDS
to true using the following command:setenv('DISABLE_ARMCORTEXA_CMSIS_CRL_THRESHOLDS',true)