This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TMDSDSK6713:无限循环

Guru**** 661510 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1196422/tmdsdsk6713-infinite-loop

器件型号:TMDSDSK6713

大家好、

您能在下面的查询中提供帮助吗?  

一位客户编写了一个本应在无限循环中运行的 DSP 代码、但是在调试期间它只运行一次。 您能检查一下吗?

#include
#include
#include
#include


int i;
int 计数= 0;
int px = 0;

浮点 W0[8];

int L=4;
int N=6;

双信号[8]={1、2、3、4、5、6、7、8};
double h[4]={2、1、0、3};

float buffer1[6];


int main()


W0[count]=0;

buffer1[px]=信号[count];

for (i=0;<L;i++))


w0[count]=w0[count]+(h[i]*buffer1[(px-L+1+i)%N]);



count=count++;
Px=(px+1)%N;


返回0;

提前感谢。

此致、

Marvin

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Marvin、您好!

    我看不到无限循环在代码中的位置。 请您澄清一下吗?

    同时、我将在我们的编译器团队中循环以获得进一步的帮助。

    此致、

    _________