资源描述:
《太原理工大学DSP课件课程设计.ppt》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、DSP课程设计设计题目正弦信号发生器的设计有限冲击响应FIR滤波器的设计无限冲击响应IIR滤波器的设计FFT的DSP实现设计报告封皮设计题目班级姓名同组人设计报告内容一、设计目的二、设计内容三、设计原理四、总体方案设计五、主要参数六、源程序七、实验结果及分析八、设计总结求一个角度的正弦值取泰勒级数的前5项,得近似计算式:例:求一个角度的正弦值.mmregs.defstart.defsin_start,d_x,d_sinxSTACK:.usect"STACK",10start:STM#STACK+10,SPLD#d_x,D
2、PST#6487H,d_xCALLsin_startend:Bendsin_start:.defsin_startd_coeff.usect"coeff",4.datatable:.word01C7H;C1=1/(8*9).word030BH;C2=1/(6*7).word0666H;C3=1/(4*5).word1556H;C4=1/(2*3)d_x.usect"sin_vars",1d_squr_x.usect"sin_vars",1d_temp.usect"sin_vars",1d_sinx.usect"sin
3、_vars",1c_l.usect"sin_vars",1.textSSBXFRCTSTM#d_coeff,AR5RPT#3MVPD#table,*AR5+STM#d_coeff,AR3STM#d_x,AR2STM#c_l,AR4ST#7FFFH,c_lSQUR*AR2+,A;A=x^2STA,*AR2;(AR2)=x^2
4、
5、LD*AR4,B;B=1MASR*AR2+,*AR3+,B,A;A=1-x^2/72,T=x^2MPYAA;A=T*A=x^2(1-x^2/72)STHA,*AR2;(d_temp)=x
6、^2(1-x^2/72)MASR*AR2-,*AR3+,B,A;A=1-X^2/42(1-X^2/72),T=x^2(1-x^2/72)MPYA*AR2+;B=x^2(1-x^2/42(1-x^2/72))STB,*AR2;(d_temp)=x^2(1-x^2/42(1-x^2/72))
7、
8、LD*AR4,B;B=1MASR*AR2-,*AR3+,B,A;A=1-x^2/20(1-x^2/42(1-x^2/72))MPYA*AR2+;B=x^2(1-x^2/20(1-x^2/42(1-x^2/72)))STB,*AR2;(d
9、_temp)=B
10、
11、LD*AR4,B;B=1MASR*AR2-,*AR3+,B,A;A=1-x^2/6(1-x^2/20(1-x^2/42(1-x^2/72)))MPYAd_x;B=x(1-x^2/6(1-x^2/20(1-x^2/42(1-x^2/72))))STHB,d_sinx;sin(theta)RET.endMEMORY{PAGE0:EPROM:org=0E000H,len=1000HVECS:org=0FF80H,len=0080HPAGE1:SPRAM:org=0060H,len=0020HDA
12、RAM:org=0080H,len=0010H}SECTIONS{.text:>EPROMPAGE0.data:>EPROMPAGE0STACK:>SPRAMPAGE1sin_vars:>DARAMPAGE1coeff:>DARAMPAGE1.vectors:>VECSPAGE0}