这是因为你有一段时间(i
我的代码是:
void reverse_fft(compnum xin [FFT_SIZE])
{
const int LH =(FFT_SIZE >> 1);
int i,j = LH,k,flag;
compnum T;
对于(I = 1; I> 1;
}
当J = J + K;
}
}
为什么?我做了什么?
谢谢,新年快乐!
干杯,吉姆
以上来自于谷歌翻译
以下为原文
This is because you have a while(i
High-Level Synthesis cannot determine the tripcount in some cases. These cases include, for
example, those in which the variables used to determine the tripcount are:
• Input arguments, or
• Variables calculated by dynamic operation
In those cases, the loop latency might be unknown.
http://www.xilinx.com/support/documentation/sw_manuals/xilinx2013_4/ug902-vivado-high-level-synthesis.pdf (best viewed in Document Navigator).
smileworker2012 wrote:
Hello,
I want ro realize the reverse input and natural output algorithm in HLS.
However,the results are always :
And my code is:
void reverse_fft(compnum xin[FFT_SIZE]){ const int LH=(FFT_SIZE>>1); int i,j=LH,k,flag; compnum T; for(i=1;i<=FFT_SIZE-2;i++) { if(i; xin=xin[j]; xin[j]=T; } k=LH; while(i>1; } j=j+k; }} Why ?And what shoude I do?
Thank you!Happy New Year!
Cheers,
Jim
这是因为你有一段时间(i
我的代码是:
void reverse_fft(compnum xin [FFT_SIZE])
{
const int LH =(FFT_SIZE >> 1);
int i,j = LH,k,flag;
compnum T;
对于(I = 1; I> 1;
}
当J = J + K;
}
}
为什么?我做了什么?
谢谢,新年快乐!
干杯,吉姆
以上来自于谷歌翻译
以下为原文
This is because you have a while(i
High-Level Synthesis cannot determine the tripcount in some cases. These cases include, for
example, those in which the variables used to determine the tripcount are:
• Input arguments, or
• Variables calculated by dynamic operation
In those cases, the loop latency might be unknown.
http://www.xilinx.com/support/documentation/sw_manuals/xilinx2013_4/ug902-vivado-high-level-synthesis.pdf (best viewed in Document Navigator).
smileworker2012 wrote:
Hello,
I want ro realize the reverse input and natural output algorithm in HLS.
However,the results are always :
And my code is:
void reverse_fft(compnum xin[FFT_SIZE]){ const int LH=(FFT_SIZE>>1); int i,j=LH,k,flag; compnum T; for(i=1;i<=FFT_SIZE-2;i++) { if(i; xin=xin[j]; xin[j]=T; } k=LH; while(i>1; } j=j+k; }} Why ?And what shoude I do?
Thank you!Happy New Year!
Cheers,
Jim
举报