DSP-课程设计报告

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

1DSPFIR1232012311904252015.06.022014.06.19FIRFIRCSSCCSsimulator,DSPFIRMATLABMATLABFDATOOLCCSDSPDSPFIRCCSDSP:FIRMATLABCCS1.....................................................................42.................................................................43......................................................43.1...................................................43.2FIR.................................................53.3.........................................................53.4.........................................................64.FIR........................................................74.1FIR.......................................................74.2.................................................74.31z.................................................75.FIRMATLAB.................................................86.FIRDSP...................................................106.1CCS......................................................106.2CCS........................................................136.....................................................167...............................................................16................................................................178...................................................................1741DSPDSPFIRMATHLABCCS2.0212FIR3FIRDSP4FIRFs=8000hzWp=1500HzWs=2000Hz0.010.1N=3733.1aibiszy(n)x(n)2.1.1x(n)y(n)aibiN3.2FIR2.1.1ai0FIR2.2.12.2.1zFIR2.2.2FIR1FIRh(n)h(n)h(n)=h(N-1-n)h(n)=-h(N-1-n)FIR3.3120)()()(110ninyainxbnyMiiNii)()(10Niiinxbny)()()(10NiiizbzXzYzH345123.4f(0)w(t)x(t)4FIR4.1FIRFIR4.2h(n)hd(n)hd(n)h(n)4.31zFIRx(n)ny(n)n-x(n)-y(n)1NFIRNN10)()(NnnznhzH)(jdeHdeeHnhenheHjnjddjnndjd)(21)()()()(nhd)(nhd)(nw)(nhd)()()(nwnhnhdjezjzHeH|)()(2FIRNFIRNNBK5FIRmatlabMATLABMATLABToolboxFIRfir1FIRFIRb=fir1(nWn)b=fir1(nWnftypeb=fir1(nWnWindow)b=fir1(nWnftypeWindow)nWnftypeftype=highftype=stopWindowWindowBoxcarHanningBartlettBlackmanKasierchebwinHammingfir2FIRb=fir2nfmb=fir2nfmWindowb=fir2nfmnptb=fir2nfmnptWindowb=fir2nfmnptlapb=fir2nfmnpttlapWindownfmWindowHammingnptfir2lapfir2CCSMATLAB1FIRindata.dat3001000Hz2500Hz2MATLABindata.datCCSmatlabx=wavread('D:\matlab\work\XINZAO.wav');%y=fft(x,1024);plot(abs(y(1:1000)));%100x1=round(1024*x);fid=fopen('indata.dat','w');%datfprintf(fid,'1651100E21000\n');fprintf(fid,'%d\n',x1);%6FIRDSPCCSTMS320DSPwindows6.1CCS6.1.1FIRDSP1NFIRNN231NFIRNNDSPbnLxnbnxnL=L+1234BKFIRDSPNFIRh(n)NbnindataxnSTM#-1,AR0RPTZA,#;ACCMAC*AR2+0%,*AR3+0%,ASTHA,*(yn);MVKD*(yn),*AR5+bnxnACCACCindataMVDD*AR4+,*AR2+0%,outdata6.1.2MATLABDSPFIR,DSPMATLAB(FDATOOL),FIR,CCS,MATLABDSPFIR,MATLABDSPCCSIDEfiledatadataAddressindata6.1.3ViewGraphTime/frequencygraphpropertydialog2GraphPropertyDialogDisplayTypeFFTMagnitudeStartAddressoutdata6.2CCS346.2.2FIR56354671gelcpucpugeldspcpu218DSPMathlabFIRmatlabFIRFIRFIRmathlabFIRFIRFIR[1]DSP2012[2].MATLAB6.5.[M].:,2004[3],,.---.[M].:,2006[4].20051.fir.asm.titleFIR.ASM.mmregs.defstart.bssyn,1xn.usectxn,37hn.usecthn,37indata.usectindata,300outdata.usectoutdata,256.datafir_coff:.word-10*1024/10000,-36*1024/10000.word0*1024/10000,65*1024/10000.word32*1024/10000,-88*1024/10000.word-93*1024/10000,90*1024/10000.word184*1024/10000,-47*1024/10000.word-297*1024/10000,-71*1024/10000.word417*1024/10000,316*1024/10000.word-524*1024/10000,-848*1024/10000.word598*1024/10000,3108*1024/10000.word4375*1024/10000.word3108*1024/10000,598*1024/10000.word-848*1024/10000,-524*1024/10000.word316*1024/10000,417*1024/10000.word-71*1024/10000,-297*1024/10000.word-47*1024/10000,184*1024/10000.word90*1024/10000,-93*1024/10000.word-88*1024/10000,32*1024/10000.word65*1024/10000,0*1024/10000.word-36*1024/10000,-10*1024/10000.textstart:ssbxfrct;stm#hn,ar1;rpt#36;mvpdfir_coff,*ar1+;stm#-1,ar0stm#outdata,ar5stm#indata,ar4stm#xn+36,ar2rpt#36;mvdd*ar4+,*ar2+0%;stm#xn+36,ar2;stm#hn+36,ar3stm#37,bk;37stm#255,brc;256stm#-1,ar0rptbloop-1;rptza,#36;mac*ar2+0%,*ar3+0%,astha,*(yn);mvkd*(yn),*ar5+mvdd*ar4+,*ar2+0%;loop:nopbloop.end2fir.cmdMEMORY{PAGE0:PARAM:org=00E0hlen=1000hPAGE1:SPRAMorg=0060hlen=0020hDARAM:org=0080hlen=1380h}SECTIONS{.text:PARAMPAGE0.data:PARAMPAGE0.bss:SPRAMPAGE1xn:align(64){}DARAMPAGE1hn:align(64){}DARAMPAGE1indata:DARAMPAGE1outdata:DARAMPAGE1}

1 / 19
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功