SPRADM6 December 2024 AM62D-Q1
The MATHLIB library contains several low-level functions for mathematical operations such as trigonometric, power and exponent which are implemented on the C7x DSP. This library is included in the FREERTOS-SDK of AM62D. Instructions to reproduce and run these modules are included in the documentation folder of the library. Table 2-6 shows performance results for some of the frequently used mathematical functions in MATHLIB library.
Function | Data Type | Data Size | EVM Cycles | Cycle/Sample |
|---|---|---|---|---|
Sine | Float | 1024 | 1161 | 1.133 |
Cos | Float | 1024 | 1418 | 1.384 |
Tan | Float | 1024 | 4752 | 4.640 |
Division | Float | 1024 | 353 | 0.344 |
Square Root | Float | 1024 | 611 | 0.596 |