Math library examples

TMU Hardware Acceleration

What is TMU?

The Trigonometric Math Unit (TMU) is a dedicated hardware accelerator that provides:

  • Fast computation of trigonometric functions

  • Exponential and logarithmic operations

  • Square root and division

  • Single-cycle or few-cycle execution for supported operations

  • Significant speedup compared to software implementations

Benefits of TMU

  • Performance: 10-100× faster than software-based implementations

  • Deterministic: Consistent execution time

  • Power Efficient: Lower energy consumption per operation

  • Real-time: Enables faster control loop execution

Examples