⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 54dsplib_errata.html

📁 Tmas320vc5402的dsp程序
💻 HTML
字号:
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="Microsoft Word 97">
<TITLE>C54x DSPLIB Errata Page</TITLE>
<META NAME="Template" CONTENT="C:\MSOFFICE\OFFICE\html.dot">
</HEAD>
<BODY LINK="#0000ff" VLINK="#800080">

<B><FONT SIZE=5><P ALIGN="CENTER">C54x DSPLIB Errata Page</P>
</FONT><U><FONT SIZE=4><P>&nbsp;</P>
<P>Bug#1: ARCT2</P><DIR>
<DIR>

</U></FONT><P>Description:</P>
</B><P>This function would not return to the correct address if a calculation was performed in quadrant 1.</P>
<B><P>Solution:</P>
</B><P>The following section of code had a "frame" instruction wrongly inserted. This led to the function returning wrongly.</P>
<P>QUADRANT1:</P>
<P>&#9;sth&#9;a, *AR_Z+</P>
<P>&#9;banz&#9;LOOP, *AR_N-</P>
<P>&#9;frame&#9;#FSZ&#9;&#9;&#9;/**** BUG ***/</P>
<P>&#9;b&#9;DONE</P>
<P>&#9;nop</P>
<P>In version 1.1, the "frame #FSZ" instruction is replaced with a "NOP".</P>
<P>&nbsp;</P></DIR>
</DIR>

<B><U><FONT SIZE=4><P>Bug#2: CBREV</P>
</B></U></FONT><P>&nbsp;<B>Description:</P><DIR>
<DIR>

</B><P>This function would bit reverse wrongly if out-of-place processing was performed.</P></DIR>
</DIR>

<B><P>Solution:</P><DIR>
<DIR>

</B><P>The following section of code had a "ssbx sxm" instruction wrongly inserted. This led to the function sign extending the addresses and resulting in wrong reversal.</P>
<P>_cbrev</P>
<P>&#9;ssbx&#9;frct</P>
<P>&#9;ssbx&#9;sxm</P>
<P>In version 1.1, the "ssbx sxm" instruction is removed.</P>
<P>&nbsp;</P></DIR>
</DIR>

<B><U><FONT SIZE=4><P>Bug#3: LOG_10</P>
</B></U></FONT><FONT SIZE=2><P>&nbsp;</P>
</FONT><B><P>Description:</P>
</B><P>This function would return wrong results if used for far mode operation.</P>
<P>&nbsp; <B>Solution:</P><DIR>
<DIR>

</B><P>The number of elements, NX, was wrongly read during far mode calls because the stack offset was omitted in the LD instruction used, this can be seen below:</P>
<P>&nbsp;</P>
<P>**initialization for Logarithm calculation </P>
<P>&nbsp;</P></DIR>
</DIR>

<P>&#9;ST&#9;#04000h,CST_4000</P><DIR>
<DIR>

<P>&#9;.</P></DIR>
</DIR>

<P>&#9;&#9;.</P>
<P>&#9;&#9;.</P>
<P>&#9;STL&#9;A, x_ptr</P>
<P>&nbsp;&#9;LD&#9;*SP(17), A&#9;&#9;&#9;/**** BUG ***/</P>
<P>&nbsp;&#9;In version 1.1, the LD instruction above is replaced with the following instruction:</P>
<P>&nbsp;&#9;LD&#9;*SP(17+OFFSET), A</P>
<P>&nbsp;</P>
<B><U><FONT SIZE=4><P>Bug#4: RFFT</P>
<P>&nbsp;</P>
</U></FONT><P>Description:</P>
</B><P>This function would return wrong results under numerous conditions.</P>
<P>&nbsp; <B>Solution:</P><DIR>
<DIR>

</B><P>The unpack routine used at the end of the cfft function calls was wrong.</P></DIR>
</DIR>

<P>In version 1.1, a new unpack routine has been written.</P>
<P>&nbsp;</P>
<B><U><FONT SIZE=4><P>Bug#5: RIFFT</P>
</U></FONT><P>Description:</P>
</B><P>This function would return wrong results under numerous conditions.</P>
<P>&nbsp; <B>Solution:</P><DIR>
<DIR>

</B><P>The unpacki routine used at the end of the cifft function calls was wrong and also called wrongly.</P>
<P>In version 1.1, a new unpacki function has been written. Unpacki is called before the cifft function calls. (See examples directory for rifft usage example) </P>
<P>&nbsp;</P></DIR>
</DIR>

<B><U><FONT SIZE=4><P>New Functions:</P>
</B></U><P>1. CFFT32 - </FONT>32-bit fixed point complex forward FFT implementation</P>
<FONT SIZE=4><P>2. CIFFT32 - </FONT>32-bit fixed point complex inverse FFT implementation</P></BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -