
When the FFT completes the transform of the input block, it asserts source_valid and outputs the
complex transform domain data block in natural order. The FFT function asserts source_sop to
indicate the first output sample.
Figure 3-5: FFT Streaming Data Flow Output Flow Control
clk
source_real
source_imag
exponent_out
source_ready
source_valid
source_sop
source_eop
X
r
[0] X
r
[1]
X
r
[2]
X
r
[3]
X
r
[5]
X
r
[6]
X
r
[7] X
r
[8]
X
r
[10]
X
r
[11]
X
r
[12]
X
r
[9]
X
i
[0]
X
i
[1] X
i
[2]
X
i
[3]
X
i
[5] X
i
[6] X
i
[7] X
i
[8] X
i
[11]
X
i
[12]
EXP0
X
i
[4]
X
i
[9]
X
r
[4]
X
i
[10]
After N data transfers, the FFT asserts source_eop to indicate the end of the output data block
Enabling the Streaming FFT
1. You must assert the sink_valid signal for the FFT to assert source_valid (and a valid data output).
2. To extract the final frames of data from the FFT, you need to provide several frames where the
sink_valid signal is asserted and apply the sink_sop and sink_eop signals in accordance with the
Avalon-ST specification.
Variable Streaming
The variable streaming FFT allows continuous streaming of input data and produces a continuous stream
of output data similar to the streaming FFT. With the variable streaming FFT, the transform length
represents the maximum transform length. You can perform all transforms of length 2m where 6 < m <
log2(transform length) at runtime.
Changing Block Size
To change the size of the FFT on a block-by-block basis, change the value of the fftpts simultaneously
with the application of the sink_sop pulse (concurrent with the first input data sample of the block).
fftpts uses a binary representation of the size of the transform, therefore for a block with maximum
transfer size of 1,024. Table 3-2 shows the value of the fftpts signal and the equivalent transform size.
Table 3-2: fftpts and Transform Size
fftpts Transform Size
10000000000 1,024
01000000000 512
00100000000 256
00010000000 128
UG-FFT
2014.12.15
Enabling the Streaming FFT
3-7
FFT IP Core Functional Description
Altera Corporation
Send Feedback
Commenti su questo manuale