Matlab/Simulink For SPE Target

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Matlab/Simulink For SPE Target

跳至解决方案
1,488 次查看
scottobrien
NXP Employee
NXP Employee

Hello,

We are working on some CPU usage optimization on a couple of our Cobra55-based engine ECMs, and have some algorithms that are written in Matlab/Simulink (then C code is autogenerated) that take a long time to run and have a lot of math functions that can potentially be run more efficiently with SPE instructions, and are trying to figure out the best way to do that.  Do you know if there are any kind of Matlab/Simulink libraries or anything that can target the SPE?  Or do you know of other ways to easily use autogenerated code to target the SPE? 

Thanks,

Scott O

0 项奖励
1 解答
1,234 次查看
petrfajmon-b173
NXP Employee
NXP Employee

Hi scottobrien,

   yes, the most AMMCLIB functions for MPC577xC platform (e200z7 core) are highly assembly optimized using Signal Processing Engine (SPE1).

Best Regards,

Petr

在原帖中查看解决方案

2 回复数
1,235 次查看
petrfajmon-b173
NXP Employee
NXP Employee

Hi scottobrien,

   yes, the most AMMCLIB functions for MPC577xC platform (e200z7 core) are highly assembly optimized using Signal Processing Engine (SPE1).

Best Regards,

Petr

1,234 次查看
dumitru-daniel_
NXP Employee
NXP Employee

Hi scottobrien‌,

Perhaps you can use the AMMCLIB for mathematical computations.

Recently, i've run into a similar issue https://community.nxp.com/message/997747 

I'm not sure if the AMMCLIB for MPC5xxx is using the SPE instructions.

petrfajmon-b17364‌,

Can you confirm is the AMMCLIB uses SPE instructions?

Thank you!

Daniel

0 项奖励