I noticed that Mathworks has simulink target for TMS C2000 and C6000... Does that mean that my TMS320C5410 EVM cannot be used by converting simulink code into TI code? I am also wondering what can I do if I want to convert Matlab code directly into TI code? Is that an option to convert Matlab code directly into TI code to work in CCS? For example, for a 40-tap FIR filter, my Matlab lab code is simply: result=conv(coeff, data); Does anybody know if it can be easily converted into TI code to work in CCS? If the above is not possible, is "simulink -> TI" the only option to go? Thanks a lot!
is there a way to convert Matlab code direct to TI TMS320C54x...?
Started by ●January 10, 2005
Reply by ●January 11, 20052005-01-11
lucy wrote:> I noticed that Mathworks has simulink target for TMS C2000 andC6000...> > Does that mean that my TMS320C5410 EVM cannot be used by convertingsimulink> code into TI code? > > I am also wondering what can I do if I want to convert Matlab codedirectly> into TI code? Is that an option to convert Matlab code directly intoTI code> to work in CCS? > > For example, for a 40-tap FIR filter, my Matlab lab code is simply: > > result=conv(coeff, data); > > Does anybody know if it can be easily converted into TI code to workin CCS?> > If the above is not possible, is "simulink -> TI" the only option togo?> > Thanks a lot!IMO, those code generators are really just toys, of interest to universities and managers. John
Reply by ●January 11, 20052005-01-11
john wrote:> lucy wrote: > > I noticed that Mathworks has simulink target for TMS C2000 and > C6000... > > > > Does that mean that my TMS320C5410 EVM cannot be used by converting > simulink > > code into TI code? > > > > I am also wondering what can I do if I want to convert Matlab code > directly > > into TI code? Is that an option to convert Matlab code directlyinto> TI code > > to work in CCS? > > > > For example, for a 40-tap FIR filter, my Matlab lab code is simply: > > > > result=conv(coeff, data); > > > > Does anybody know if it can be easily converted into TI code towork> in CCS? > > > > If the above is not possible, is "simulink -> TI" the only optionto> go? > > > > Thanks a lot! > > IMO, those code generators are really just toys, of interest to > universities and managers. > > JohnWhy? I have used simulink, the latest version generates decent code, I know the aerospace industry uses them, chances are you probably flew on planes whos engine and/or flight control code was generated from one.
Reply by ●January 12, 20052005-01-12
<bungalow_steve@yahoo.com> wrote in message news:1105495965.901748.57100@f14g2000cwb.googlegroups.com...> > john wrote: >> lucy wrote: >> > I noticed that Mathworks has simulink target for TMS C2000 and >> C6000... >> > >> > Does that mean that my TMS320C5410 EVM cannot be used by converting >> simulink >> > code into TI code? >> > >> > I am also wondering what can I do if I want to convert Matlab code >> directly >> > into TI code? Is that an option to convert Matlab code directly > into >> TI code >> > to work in CCS? >> > >> > For example, for a 40-tap FIR filter, my Matlab lab code is simply: >> > >> > result=conv(coeff, data); >> > >> > Does anybody know if it can be easily converted into TI code to > work >> in CCS? >> > >> > If the above is not possible, is "simulink -> TI" the only option > to >> go? >> > >> > Thanks a lot! >> >> IMO, those code generators are really just toys, of interest to >> universities and managers. >> >> John > > > Why? I have used simulink, the latest version generates decent code, I > know the aerospace industry uses them, chances are you probably flew on > planes whos engine and/or flight control code was generated from one. >Hi Steve, The Simulink only supports conversion Simulink code to C2000 and C6000, am I right? If I want to run it on TMS320C54X... what shall I do? thanks a lot!
Reply by ●January 12, 20052005-01-12
bungalow_steve@yahoo.com writes:> [...] > chances are you probably flew on planes whos engine and/or flight > control code was generated from one.That's scary. I hope the code was reviewed and tested just as thoroughly as that generated by a human. -- % Randy Yates % "With time with what you've learned, %% Fuquay-Varina, NC % they'll kiss the ground you walk %%% 919-577-9882 % upon." %%%% <yates@ieee.org> % '21st Century Man', *Time*, ELO http://home.earthlink.net/~yatescr
Reply by ●January 12, 20052005-01-12
lucy wrote:> > Hi Steve, > > The Simulink only supports conversion Simulink code to C2000 > > and C6000, am I right? If I want to run it on TMS320C54X... >well u can't use Simulink then.> what shall I do? >rewrite your code in CCS in C from scratch. use some maths library that are available to reduce your code-writing burden.
Reply by ●January 13, 20052005-01-13
..[SNIP].. "lucy" <losemind@yahoo.com> wrote in message news:cs2llm$6sf$1@news.Stanford.EDU...> > Hi Steve, > > The Simulink only supports conversion Simulink code to C2000 > > and C6000, am I right? If I want to run it on TMS320C54X... > > what shall I do? > > thanks a lot! > >You are correct, the Mathworks tools only support the processors you mentioned. You will need to do a manual conversion and create a C/Assembly program (or you could hire any of the fine consultants on these sites who know both Matlab and C54x C/Assembly to help you out). -Shawn