diff options
author | Wade Fife <wade.fife@ettus.com> | 2020-08-10 09:31:26 -0500 |
---|---|---|
committer | Wade Fife <wade.fife@ettus.com> | 2020-08-11 16:20:51 -0500 |
commit | 4f387c8ff0571deedc86dc459e94e555b9768282 (patch) | |
tree | 4ee19e2843b43d4c986465acab09243bec588be3 /host/lib/rfnoc | |
parent | fa2d383ff539c40945d461176c0a3c64e033467c (diff) | |
download | uhd-4f387c8ff0571deedc86dc459e94e555b9768282.tar.gz uhd-4f387c8ff0571deedc86dc459e94e555b9768282.tar.bz2 uhd-4f387c8ff0571deedc86dc459e94e555b9768282.zip |
fpga: lib: Change max FFT size to 1024
The max FFT size was 4096, but we don't currently have any devices that
can do that without modification. This is because, currently, the FFT
size must be the same as the packet size, and the largest packet
size supported by most devices is about 8000 bytes, or 2000
sc16 samples. Therefore, the largest FFT size supported without
modifying other code is 1024 samples.
This change frees up about 21% of the LUTs and 36% of the BRAM used by
axi_fft and makes the software block controller and the IP agree on the
maximum FFT size.
Diffstat (limited to 'host/lib/rfnoc')
-rw-r--r-- | host/lib/rfnoc/fft_block_control.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/rfnoc/fft_block_control.cpp b/host/lib/rfnoc/fft_block_control.cpp index 867d458ca..23ee380ac 100644 --- a/host/lib/rfnoc/fft_block_control.cpp +++ b/host/lib/rfnoc/fft_block_control.cpp @@ -22,7 +22,7 @@ constexpr int DEFAULT_FFT_SCALING = 1706; // Conservative 1/N scaling // FFT IP constraints constexpr int MIN_FFT_LENGTH = 8; -constexpr int MAX_FFT_LENGTH = 2048; +constexpr int MAX_FFT_LENGTH = 1024; const uhd::rfnoc::io_type_t DEFAULT_TYPE = uhd::rfnoc::IO_TYPE_SC16; |