21.07.2015 Views

"TMS320C55x DSP Library DSPLIB Programmer's Reference"

"TMS320C55x DSP Library DSPLIB Programmer's Reference"

"TMS320C55x DSP Library DSPLIB Programmer's Reference"

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

cfirCFFT – NOSCALEFFT Size Cycles † Code Size (in bytes)8 139 32516 246 32532 477 32564 996 325128 2171 325256 4818 325512 10729 3251024 23808 325† Assumes all data is in on-chip dual-access RAM and that there is no bus conflict due to twiddletable reads and instruction fetches (provided linker command file reflects those conditions).cfirFunctionComplex FIR Filterushort oflag = cfir (DATA *x, DATA *h, DATA *r, DATA *dbuffer, ushort nx,ushort nh)Argumentsx[2*nx]Pointer to input vector of nx complex elements.h[2*nh] Pointer to complex coefficient vector of size nh innormal order. For example, if nh=6, then h[nh] ={h0r, h0i, h1r, h1i h2r, h2i, h3r, h3i, h4r, h4i, h5r, h5i}where h0 resides at the lowest memory address inthe array.This array must be located in internal memory sinceit is accessed by the C55x coefficient bus.r[2*nx]Pointer to output vector of nx complex elements.In-place computation (r = x) is allowed.Function Descriptions4-17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!