OpenCores
URL https://opencores.org/ocsvn/wdsp/wdsp/trunk

Subversion Repositories wdsp

[/] [wdsp/] [trunk/] [sw/] [matlab-scripts/] [fft/] [twiddlegen_rc.m] - Blame information for rev 9

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 parrado
function twiddlegen_rc(N,tbits)
2
%   twiddlegen_rc(N,tbits)
3
%       Thi s function generates all the roms needed for an
4
%       FFT  of N points.  Twiddle factors are tbits wide.
5
%
6
%       This program uses:
7
%       romgen_rc.m
8
%            |-frac2bin.m
9
%           |-writeb in.m
10
%
11
 
12
numpoints=N;
13
rnum=1;
14
while numpoints>4
15
    romgen_rc(numpoints,N,tbits,rnum);
16
    rnum=rnum+1;
17
    numpoints=numpoints/4;
18
end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.