matlab平台下dsp代码自动生成技术研究及实现

matlab平台下dsp代码自动生成技术研究及实现

ID:43708983

大小:876.25 KB

页数:45页

时间:2019-10-13

matlab平台下dsp代码自动生成技术研究及实现_第1页
matlab平台下dsp代码自动生成技术研究及实现_第2页
matlab平台下dsp代码自动生成技术研究及实现_第3页
matlab平台下dsp代码自动生成技术研究及实现_第4页
matlab平台下dsp代码自动生成技术研究及实现_第5页
资源描述:

《matlab平台下dsp代码自动生成技术研究及实现》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

1、传统的DSP设计开发流程分为开发设计和产品实现两个环节,这样的开发流程存在许多问题,针对DSP编程难度大,耗时长的问题,给出了一种综合运用Matlab软件、CodeComposeStudio(CCS)软件及其内嵌工具和连接软件进行自动代码生成的方法。本文重点研究TMS320F2812DSP的自动代码生成方法,基于Matlab/Simulink模型的构建,完成了从概念设计、软件仿真、硬件测试全过程在软件算法仿真测试后肓接牛成面向数字信号处理(DSP)芯片的代码,有利发现系统设计的错误。DSP代码自动生成首先根据系统的设计思路在Matlab平台下搭建模型(,mdl);其次在Simulink

2、中对于算法进行仿真,在仿真中遇到问题后可反复修改参数;仿真满意后通过Matlab提供的RealTimeWorkshop生成面向CCS的工程文件代码(.prj),并进一步完成代码的编译,链接牛成DSP可执行机器码(.out),最后下载到目标DSP板上运行,完成系统的开发。在Matlab平台下代码的自动生成可以代替人工编写程序,这不仅工作者们从枯燥的编程中解放岀来,而且述大大简化了开发复杂程度,节约了时间,提高了准确率。这将在以后的生活中得到广泛的应用。关键词:DSP;Matlab/Simulink;代码自动生成;CCSAbstractTraditionalDSPdevelopment,d

3、esignandproductdesignanddevelopmentprocessisdividedintotwolinks,somanyproblemsinthedevelopmentprocess,inviewoftheDSPprogrammingisdifficultandtime-consuminglongproblem,presentsanintegrateduseofMatlabsoftware,theCodecomposerStudio(CCS)andembeddedsoftwaretoolsandtheconnectionmethodforautomaticCodeg

4、enerationsoftware.ThisarticlefocusesonautomaticcodegenerationmethodofTMS320F2812DSP,basedontheMatlab/Simulinkmodelbuilding,completedthewholeprocessfromconceptdesign,softwaresimulationandhardwaretestafterthesoftwarealgorithmsimulationtestdirectlygeneratecodefordigitalsignalprocessing(DSP)chip,inf

5、avoroftheerrorofdiscoverysystemdesign.DSPcodeautomaticallygeneratedbasedonthesystemthedesigntrainofthoughtintheMatlabplatformtobuildmodel(.mdl);SecondlyintheSimulinksimulationforthealgorithm,aftertheproblemsencounteredinthesimulationcanberepeatedlymodifiedparameters;SatisfactionafterthroughMatla

6、bsimulationtoprovidetheRealTimeWorkshopgeneratingcodeforCCSprojectfile(.pij),andfurthercompletethecodetocompile,linkgenerationDSPexecutablemachinecode(.out),finallydownloadedtothetargetrunonDSPboard,theimplementationofthesystem.CodeautomaticallygeneratedintheMatlabplatformcanreplaceartificialpro

7、gram,itnotonlyliberateworkersfromboringprogramming,butalsogreatlysimplifiesthedevelopmentcomplexity,savestime,improvestheaccuracy.Thiswillbewidelyusedinlaterlife.Keywords:DSP;Matlab/Simulink;Codeautomaticallygenerated;CCS引言-

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。