Y = getLatency(hdlfft)
returns the number of cycles, Y, that the object takes to
calculate the FFT of an input frame. The latency depends on the input vector size
and the FFT length.
Y = getLatency(hdlfft,N)
returns the number of cycles that an object would take to calculate the FFT of an
input frame, if it had FFT length N, and scalar input. This
function does not change the properties of the hdlfft.
Y = getLatency(hdlfft,N,V)
returns the number of cycles that an object would take to calculate the FFT of an
input frame, if it had FFT length N, and vector input of size
V. This function does not change the properties of
hdlfft.
The latency of the object varies with the FFT length and the vector size. Use the getLatency function to find the latency of a particular configuration. The latency is the number of cycles between the first valid input and the first valid output, assuming that the input is contiguous.
Create a new dsphdl.FFT object and request the latency.
FFT length, specified as an integer power of 2 from
22 to 216. Use
this argument to request the latency of an object similar to
hdlfft, but with FFT length
N.
V — Vector size power of 2 from 1 to 64
Vector size, specified as a power of 2 from 1 to 64. The vector size
cannot be greater than the FFT length. Use this argument to request the
latency of an object similar to hdlfft, but with
V-sample vector input. When you do not specify this
argument, the function assumes scalar input.
Cycles of latency that the object takes to calculate the FFT of an input
frame, returned as an integer. The latency is the number of cycles between
the first valid input and the first valid output, assuming the input is
contiguous. Each call to the object simulates one cycle.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.