"TMS320C55x DSP Library DSPLIB Programmer's Reference"
"TMS320C55x DSP Library DSPLIB Programmer's Reference"
"TMS320C55x DSP Library DSPLIB Programmer's Reference"
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
dlmsImplementation NotesSpecial debugging consideration: This function is implemented as amacro that invokes different correlation routines according to the typeselected. As a consequence the corr symbol is not defined. Instead thecorr_raw, corr_bias, corr_unbias symbols are defined.Correlation is implemented using time-domain techniquesBenchmarks(preliminary)Cycles Raw: 2 times faster than C54xUnbias: 2.14 times faster than C54xBias: 2.1 times faster than C54xCode size(in bytes)Raw: 318Unbias: 417Bias: 356dlmsFunctionAdaptive Delayed LMS Filterushort oflag = dlms (DATA *x, DATA *h, DATA *r, DATA *des, DATA *dbuffer,DATA step, ushort nh, ushort nx)(defined in dlms.asm)Argumentsx[nx]h[nh]r[nx]des[nx]dbuffer[nh+2]Pointer to input vector of size nxPointer to filter coefficient vector of size nh. h is stored in reversed order : h(n–1), ... h(0) whereh[n] is at the lowest memory address.Memory alignment: h is a circular buffer and must startin a k-bit boundary(that is, the k LSBs of the startingaddress must be zeros) where k = log2(nh)Pointer to output data vector of size nx. r can be equalto x.Pointer to expected output arrayPointer to the delay buffer structure.The delay buffer is a structure comprised of an indexregister and a circular buffer of length nh + 1. The indexregister is the index into the circular buffer of the oldestdata sample.Function Descriptions4-31