📄 exp6.html
字号:
<html xmlns:v="urn:schemas-microsoft-com:vml"xmlns:o="urn:schemas-microsoft-com:office:office"xmlns:w="urn:schemas-microsoft-com:office:word"xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=ProgId content=Word.Document><meta name=Generator content="Microsoft Word 9"><meta name=Originator content="Microsoft Word 9"><link rel=File-List href="exp6_files/filelist.xml"><link rel=Edit-Time-Data href="exp6_files/editdata.mso"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}o\:* {behavior:url(#default#VML);}w\:* {behavior:url(#default#VML);}.shape {behavior:url(#default#VML);}</style><![endif]--><!--[if gte mso 9]><xml> <o:DocumentProperties> <o:Author>Bob</o:Author> <o:Template>Normal</o:Template> <o:LastAuthor>Bob</o:LastAuthor> <o:Revision>2</o:Revision> <o:TotalTime>1</o:TotalTime> <o:Created>2001-03-18T01:28:00Z</o:Created> <o:LastSaved>2001-03-18T01:29:00Z</o:LastSaved> <o:Pages>6</o:Pages> <o:Words>1493</o:Words> <o:Characters>8514</o:Characters> <o:Lines>70</o:Lines> <o:Paragraphs>17</o:Paragraphs> <o:CharactersWithSpaces>10455</o:CharactersWithSpaces> <o:Version>9.3821</o:Version> </o:DocumentProperties></xml><![endif]--><style><!-- /* Style Definitions */p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0pt; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";}a:link, span.MsoHyperlink {color:blue; text-decoration:underline; text-underline:single;}a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline; text-underline:single;}p {font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";}@page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;}div.Section1 {page:Section1;} /* List Definitions */@list l0 {mso-list-id:729154945; mso-list-type:hybrid; mso-list-template-ids:-1064927906 255337406 -1874820852 166378148 -1460096336 -2042347920 -1160602642 -1798123470 -1376988348 1773443384;}@list l1 {mso-list-id:965236433; mso-list-type:hybrid; mso-list-template-ids:-1320785124 -1900887094 -979365636 -301055868 2103376002 863795448 1690876008 284861232 74581044 -1933557368;}@list l2 {mso-list-id:1159879667; mso-list-type:hybrid; mso-list-template-ids:-1543499732 -970270324 1539092752 1515495238 -1367822306 -584436820 -1201237678 1816306912 -1097151422 -1920451196;}@list l3 {mso-list-id:1819497027; mso-list-type:hybrid; mso-list-template-ids:345674990 -148965260 850846980 2041102026 -480754860 1395715502 -538510148 1026463764 -811707088 2131517188;}ol {margin-bottom:0pt;}ul {margin-bottom:0pt;}--></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026"/></xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1"/> </o:shapelayout></xml><![endif]--><meta name=Template content="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot"></head><body lang=EN-US link=blue vlink=purple style='tab-interval:36.0pt'><div class=Section1><p><strong><span style='font-size:18.0pt'>Experiments for Chapter 6</span></strong></p><p style='margin-right:36.0pt;margin-left:36.0pt'><a href="exp6.zip">DownloadChapter 6 experimental software programs</a></p><p><a href="#top"><span style='font-size:7.5pt'>Back to Top</span></a> <input type=button value="go back" onclick="history.go(-1)"></p><div class=MsoNormal align=center style='text-align:center'><hr size=3 width="100%" align=center></div><p><strong><span style='font-size:13.5pt'>From C to Assembly language - IIRFilter Design Examples</span></strong></p><p style='margin-right:72.0pt;margin-left:72.0pt'>There are 5 experiments inthis chapter:</p><p style='margin-right:108.0pt;margin-left:108.0pt'>1. Experiment 6A - IIRFilter Implementation Using Floating-point C</p><p style='margin-right:108.0pt;margin-left:108.0pt'>2. Experiment 6B -Fixed-point C Implementation Using Intrinsics</p><p style='margin-right:108.0pt;margin-left:108.0pt'>3. Experiment 6C -Fixed-point C Programming Consideration</p><p style='margin-right:108.0pt;margin-left:108.0pt'>4. Experiment 6D - IIRFilter Assembly Language Implementation</p><p style='margin-right:72.0pt;margin-left:72.0pt'>There are many paths you cantake to realize algorithms to applications. Figure E6-1 shows a commonly usedsoftware development flow. In early day s, DSP development is heavilyconcentrated in stage 3 while stage 1 and 2 are skipped. With the C compiler improvingrapidly in recent years, C compilers have been widely used in stage 1 and 2 ofthe design flow. Aided by compiler optimization and special features likeintrinsics, and DSP processor speed, more and more real-time DSP applicationsare implemented using mixed C and assembly code. In the first experiment, wewill use floating-point C code to implement an IIR filter as stage 1 of FigureE6-1. Developing code in stage 1 does not require knowledge of the DSPprocessors. The second and third experiments are emphasis the use of C compileroptimization, data types, and intrinsics, as show in stage 2. The fourthexperiment is done by the assembly c ode. The stage 3 requires most of the timebecause assembly programming is more difficult than C language programming. Ingeneral, assembly code is proven to be the most efficient in digital signalprocessing algorithms, like filters involving multiplication and accumulation
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -