fun_ofdm
1.0
802.11a Physical Layer for USRP
|
The fft_symbols block. More...
#include <fft_symbols.h>
Public Member Functions | |
fft_symbols () | |
Constructor for fft_symbols block. More... | |
virtual void | work () |
Signal processing happens here. More... | |
![]() | |
block (std::string block_name) | |
constructor More... | |
![]() | |
block_base (std::string block_name) | |
block_base constructor More... | |
Private Attributes | |
tagged_vector< 64 > | m_current_vector |
Current vector being filled. More... | |
int | m_offset |
Offset into the current vector being filled. More... | |
fft | m_ffft |
Forward FFT. More... | |
Additional Inherited Members | |
![]() | |
std::vector< tagged_sample > | input_buffer |
input_buffer contains new input items to be consumed More... | |
std::vector< tagged_vector< 64 > > | output_buffer |
output_buffer is where the output items of the block should be placed More... | |
The fft_symbols block.
Inputs tagged_samples from timing_sync block (time domain samples). Outputs tagged_vectors to channel estimator block (frequency domain samples).
This FFT Symbols aligns the input samples into symbols, chops off the cyclic prefixes, and performs a forward FFT on vectorized samples to convert them from time domain to frequency domain symbols.
Definition at line 32 of file fft_symbols.h.
fun::fft_symbols::fft_symbols | ( | ) |
Constructor for fft_symbols block.
Definition at line 21 of file fft_symbols.cpp.
|
virtual |
Signal processing happens here.
This block removes the cyclic prefix and vectorizes the samples into 64 sample symbols based on the tags marking the frame boundaries. It then performs a 64 point forward fft on each symbol to convert it from time domain to frequency domain.
Implements fun::block< tagged_sample, tagged_vector< 64 > >.
Definition at line 33 of file fft_symbols.cpp.
References fun::fft::forward(), fun::block< tagged_sample, tagged_vector< 64 > >::input_buffer, fun::LTS1, fun::LTS2, fun::LTS_START, m_current_vector, m_ffft, m_offset, fun::NONE, fun::block< tagged_sample, tagged_vector< 64 > >::output_buffer, fun::tagged_vector< N >::samples, and fun::tagged_vector< N >::tag.
|
private |
|
private |
|
private |
Offset into the current vector being filled.
Definition at line 50 of file fft_symbols.h.
Referenced by work().