Motorola DSP56000 Manual page 582

24-bit digital signal processor
Hide thumbs Also See for DSP56000:
Table of Contents

Advertisement

; Main program to call the rfft-56b macro
;
Argument list
;
; Latest modifying date - 4-March-92
reset
equ 0
start
equ $40
points
equ 512
binlogsz
equ 9
idata
equ $000
odata
equ $400
bergtable
equ $600
twiddle
equ $800
bergsincos
points,odata ;generate normal order twiddle factors with size of points/4
opt
org
jmp
org
movep #0,x:$fffe
bergorder
points/4,bergtable,odata
norm2berg
points/4,bergtable,twiddle
order
bergorder
points/2,bergtable,odata
rifft
points,binlogsz,idata,odata,twiddle,bergtable
end
;
bergsincos
macro points,coef
bergsincos
ident 1,2
;
;
sincos -
macro to generate sine and cosine coefficient
;
lookup tables for Decimation in Time FFT
;
twiddle factors.
;
;
points -
number of points (2 - 32768, power of 2)
;
coef
-
base address of sine/cosine table
;
negative cosine value in X memory
;
negative sine value in Y memory
;
;
pi
equ
freq
equ
org
B - 20
BENCHMARK PROGRAMS
mex
p:reset
start
p:start
;0 wait states
;generates bergland table for twiddle factor
;converting twiddle factor from normal order to bergland
;table for final output
3.141592654
2.0*pi/@cvf(points)
y:coef
BENCHMARK PROGRAMS
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dsp56k

Table of Contents