SPT FFT adaptive scaling example

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SPT FFT adaptive scaling example

884 次查看
markthompson170
Contributor III

Hi

I'm looking for an example of FFT adaptive scaling in the SPT (R274) ?

I have searched through SW32R37-RSDK-RTM-1.0.0 release and there seems to be no examples included.

The UI in the S32 DS does not seem to generate code that will assemble without errors.

This code works for non-adaptive FFT.

    win .caddr .real .cmplx_win .shift4 0x200 0x8000, 0x8800, WIN_ADDR_1024_UNIF, 4, 1, .mod0, 2
    rdx4 .real  .no_win .no_repeat .qext .noovs .round0 .shift8 0x200 0x8800, 0x9000, 1, 1, TWI_ADDR_512_UNIF, 0
    rdx4 .cmplx .no_win .no_repeat .qext .noovs .round1 .nosft  0x200 0x9000, 0x8800, 1, 1, TWI_ADDR_512_UNIF, 0
    rdx4 .cmplx .no_win .no_repeat .qext .noovs .round2 .nosft  0x200 0x8800, 0x9000, 1, 1, TWI_ADDR_512_UNIF, 0
    rdx4 .cmplx .no_win .no_repeat .qext .noovs .round3 .nosft  0x200 0x9000, 0x8800, 1, 1, TWI_ADDR_512_UNIF, 0
    rdx2 .cmplx         .no_repeat .qext .noovs .round4 .nosft  .nosplit  0x200 0x8800, 0x8C00, TWI_ADDR_512_UNIF,1, 1

My best guess at adaptive as generated by the S32 Design Studio (will not assemble)

Errors are all the same - No version of the instruction rdx4 matches ........

    win .caddr .real .cmplx_win .shift4 0x200 0x8000, 0x8800, WIN_ADDR_1024_UNIF, 4, 1, .mod0, 2
    rdx4.adptv .immed .real  .no_win .no_repeat .qext .noovs .round0 .15down .bits_0_5 WR_47 0x200 0x8800, 0x9000, TWI_ADDR_512_UNIF, 1, 1, .mod0, 0
    rdx4.adptv .immed .cmplx .no_win .no_repeat .qext .noovs .round1 .15down .bits_0_5 WR_47 0x200 0x9000, 0x8800, TWI_ADDR_512_UNIF, 1, 1, .mod0, 0
    rdx4.adptv .immed .cmplx .no_win .no_repeat .qext .noovs .round2 .15down .bits_0_5 WR_47 0x200 0x8800, 0x9000, TWI_ADDR_512_UNIF, 1, 1, .mod0, 0
    rdx4.adptv .immed .cmplx .no_win .no_repeat .qext .noovs .round3 .15down .bits_0_5 WR_47 0x200 0x9000, 0x8800, TWI_ADDR_512_UNIF, 1, 1, .mod0, 0
    rdx2.adptv .cmplx     .qext    .noovs .round4 .no_repeat .nosplit nosft    .15down    .bits_0_5  WR_47    0x200  0x8800,   0x9000,  TWI_ADDR_512_UNIF, 1, 1

//  rdx2.adptv  in_dattyp quad_ext tw_ovs fft_rnd repeat     real_fft shft_val adptv_shft adptv_ofst adptv_wr vec_sz src_add, dest_add, mult_coef_add,    src_add_inc, dest_add_inc

Thanks

标记 (4)
0 项奖励
0 回复数