How to use tmu of CCS in Matlab? How to use sincos_rts block in simulink?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Srinivaskarthik potluri
le 8 Août 2019
Commenté : Venkatesh Chilapur
le 12 Août 2019
How to use tmu of CCS in Matlab? How to use sincos_rts block in simulink?
0 commentaires
Réponse acceptée
Venkatesh Chilapur
le 9 Août 2019
Hi,
If your hardware supports it, turn on the TMU support (--tmu_support=tmu0 and --fp_mode=relaxed) in addition to FPU support (--fpu_support=fpu32) and then call the sin(), cos()- what the compiler does in this case is replace those calls with TMU instructions.
You can add them under C Compiler under Toolchain details in ‘Code Generation’ tab. please refer below fig.
Also, FastRTS is included in the build using the Linker option in Build configuration as shown below:
Regards,
Venkatesh C
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur C Code Generation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!