11.07.2015 Views

section 7 - Index of

section 7 - Index of

section 7 - Index of

SHOW MORE
SHOW LESS

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

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

,; Main program to call the rfft-56b macroArgument list,; Latest modifying date - 4-March-92resetstartpointsbinlogszidataodatabergtabletwiddlebergsincosequ 0equ $40equ 512equ 9equ $000equ $400equ $600equ $800points,odata ;generate normal order twiddle factors with size <strong>of</strong> points/4optorgjmpmexp:resetstartbergordernorm2bergorderbergorderrifftorg p:startmovep #O,x:$fffe ;0 wait statespoints/4,bergtable,odata ;generates bergland table for twiddle factorpoints/4,bergtable, twiddle ;converting twiddle factor from normal order to berglandpoints/2,bergtable,odata ;table for final outputpoints,binlogsz,idata,odata,twiddle,bergtableendbergsincosbergsincossincos -points -coef -macro points,coefident 1,2macro to generate sine and cosine coefficientlookup tables for Decimation in lime FFTtwiddle factors.number <strong>of</strong> points (2 - 32768, power <strong>of</strong> 2)base address <strong>of</strong> sine/cosine tablenegative cosine value in X memorynegative sine value in Y memorypifreqequ 3.141592654equ 2.0*pi/@cvf(points)Figure 8-5 Real Input FFT Based on Glenn Bergland Algorithm (Sheet 2 <strong>of</strong> 8)

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

Saved successfully!

Ooh no, something went wrong!