30.10.2014 Views

o_195h4n6al16jb186b1b2qs7fgssa.pdf

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Output is scaled by the factor 1/N.<br />

Source File: fftoop.asm<br />

Function Profile: System resources usage:<br />

W0..W4 used, not restored<br />

plus system resources from VectorCopy, FFTComplexIP, and<br />

BitReverseComplex.<br />

DOand REPEATinstruction usage:<br />

no DOinstructions<br />

no REPEATinstructions<br />

plus DO/REPEATinstructions from VectorCopy, FFTComplexIP,<br />

and BitReverseComplex.<br />

Program words (24-bit instructions):<br />

17<br />

plus program words from VectorCopy, FFTComplexIP, and<br />

BitReverseComplex.<br />

Cycles (including C-function call and return overheads):<br />

23<br />

plus cycles from VectorCopy, FFTComplexIP, and<br />

BitReverseComplex.<br />

Note:In the description of VectorCopythe number of cycles reported<br />

includes 3 cycles of C-function calloverhead. Thus, the number of<br />

actual cycles from VectorCopyto add to FFTComplexis 3 less than<br />

whatever number is reported for a stand alone VectorCopy. In the<br />

same way, the number of actual cycles from FFTComplexIPto add to<br />

FFTComplexis 4 less than whatever number is reported for a stand<br />

alone FFTComplexIP. And those from BitReverseComplexare 2<br />

less than whatever number is reported for a stand alone FFTComplex.<br />

FFTComplex (Continued)<br />

dsPIC<br />

®<br />

Language Tools Libraries<br />

DS51456B-page 66<br />

FFTComplexIP<br />

2004 Microchip Technology Inc.<br />

Description: FFTComplexIPcomputes the Discrete Fourier Transform of a<br />

source<br />

complex vector in place..<br />

Include: dsp.h<br />

Prototype: extern fractcomplex*FFTComplexIP (<br />

int log2N,<br />

được lưu trữ trong<br />

bộ nhớ chương trình, factPageis số trang có chứa chương trình<br />

các yếu tố. Giá trị sau này có thể được tính toán bằng cách sử dụng nội tuyến<br />

hành lắp ráp psvpage ().<br />

Các yếu tố quay vòng mustbe khởi tạo với conjFlagset không.<br />

Kết quả sẽ được thu nhỏ lại bởi yếu tố 1 / N.<br />

Source File: fft.asm<br />

DSP Thư viện<br />

2004 Microchip Technology Inc DS51456B trang 67<br />

Chức năng thông tin: sử dụng nguồn tài nguyên của hệ thống:<br />

W0..W7 sử dụng, không được khôi phục<br />

W8..W13 lưu, sử dụng, phục hồi<br />

ACCA được sử dụng, không được khôi phục<br />

ACCB sử dụng, không được khôi phục<br />

CORCON lưu, sử dụng, phục hồi<br />

PSVPAG lưu, sử dụng, phục hồi (nếu<br />

hệ số P trong bộ nhớ)<br />

DOand REPEATinstruction sử dụng:<br />

2 DOinstructions cấp<br />

không REPEATinstructions<br />

Từ chương trình (hướng dẫn 24-bit):<br />

59<br />

Chu kỳ (bao gồm C-functioncall và trả các chi phí):<br />

Chuyển đổi kích thước<br />

# Nếu chu kỳ quay vòng<br />

Các yếu tố trong X-mem<br />

# Nếu chu kỳ quay vòng<br />

Các yếu tố trong P-mem<br />

32 điểm 1633 1795<br />

64 điểm 3739 4125<br />

128 điểm 8485 9383<br />

256 điểm 19.055 21.105<br />

IFFTComplex<br />

Mô tả: IFFTComplexcomputes các Inverse Discrete đổi Fourier của một<br />

nguồn vector phức tạp, và lưu trữ các kết quả ở đích đến<br />

vector phức tạp.<br />

Bao gồm: dsp.h<br />

Prototype: fractcomplex extern * IFFTComplex (<br />

int log2N,

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

Saved successfully!

Ooh no, something went wrong!