Hello,
I'll use DSPF_sp_fircirc function in dsplib_c66x_3_4_0_0.
C:\ti\dsplib_c66x_3_4_0_0\packages\ti\dsplib\src\DSPF_sp_fircirc\c66\DSPF_sp_fircirc_66_LE_ELF
It seems an unmatch result between DSPF_sp_fircirc and DSPF_sp_fircirc_cn. I saw the different value between ptr_y_i and ptr_y_cn. But the test program of DSPF_sp_fircirc_d.c got "Result Successful" because I think the following condition is wrong.
if (abs((ptr_y_i[i]) > FLT_THRES) || (abs(ptr_y_cn[i]) > FLT_THRES)) /* original - incorrect */
if ((abs(ptr_y_i[i]) > FLT_THRES) || (abs(ptr_y_cn[i]) > FLT_THRES)) /* modified - correct */
ptr_y_i
BF6A9B05 BF019F6B BF8D3E32 BFCBF7BC BF4C14CE BF5633A4 BF6A9B05 BF681BA9
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ptr_y_cn
BF4C14CE BF5633A4 BF6A9B05 BF681BA9 BF4C14CE BF5633A4 BF6A9B05 BF681BA9
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
I also think DSPF_sp_fircirc is not correct because a variable "i" is not initialized in the function. Please give me some advice.
Regards,
Kazu