![]() |
GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
|
Class that implements carrier wipe-off and correlators. More...
#include <fpga_acquisition.h>
Public Member Functions | |
| Fpga_Acquisition (std::string device_name, uint32_t select_queue, std::vector< std::pair< uint32_t, uint32_t > > &downsampling_filter_specs, uint32_t &max_FFT_size) | |
| Constructor. | |
| ~Fpga_Acquisition ()=default | |
| Destructor. | |
| void | init (uint32_t nsamples, uint32_t d_fft_size, int64_t resampled_fs, uint32_t downsampling_filter_num, uint32_t excludelimit, uint32_t *all_fft_codes) |
| Initialize acquisition parameters. | |
| bool | set_local_code (uint32_t PRN) |
| Select the code with the chosen PRN. | |
| void | set_doppler_sweep (uint32_t num_sweeps, uint32_t doppler_step, int32_t doppler_min) |
| Configure the doppler sweep parameters in the FPGA. | |
| void | run_acquisition () |
| Run the acquisition process in the FPGA. | |
| void | read_acquisition_results (uint32_t *max_index, float *firstpeak, float *secondpeak, uint64_t *initial_sample, float *power_sum, uint32_t *doppler_index, uint32_t *total_blk_exp) |
| Read the results of the acquisition process. | |
| void | reset_acquisition () |
| Reset the FPGA PL. | |
| void | stop_acquisition () |
| stop the acquisition and the FPGA modules. | |
| void | set_block_exp (uint32_t total_block_exp) |
| Set the block exponent of the FFT in the FPGA. | |
| void | write_local_code (void) |
| Write the PRN code in the FPGA. | |
| void | configure_acquisition (void) |
| Write the acquisition parameters into the FPGA. | |
| void | open_device () |
| Open the device driver. | |
| void | close_device () |
| Close the device driver. | |
Class that implements carrier wipe-off and correlators.
Definition at line 39 of file fpga_acquisition.h.
| Fpga_Acquisition::Fpga_Acquisition | ( | std::string | device_name, |
| uint32_t | select_queue, | ||
| std::vector< std::pair< uint32_t, uint32_t > > & | downsampling_filter_specs, | ||
| uint32_t & | max_FFT_size ) |
Constructor.
|
default |
Destructor.
| void Fpga_Acquisition::close_device | ( | ) |
Close the device driver.
| void Fpga_Acquisition::configure_acquisition | ( | void | ) |
Write the acquisition parameters into the FPGA.
| void Fpga_Acquisition::init | ( | uint32_t | nsamples, |
| uint32_t | d_fft_size, | ||
| int64_t | resampled_fs, | ||
| uint32_t | downsampling_filter_num, | ||
| uint32_t | excludelimit, | ||
| uint32_t * | all_fft_codes ) |
Initialize acquisition parameters.
| void Fpga_Acquisition::open_device | ( | ) |
Open the device driver.
| void Fpga_Acquisition::read_acquisition_results | ( | uint32_t * | max_index, |
| float * | firstpeak, | ||
| float * | secondpeak, | ||
| uint64_t * | initial_sample, | ||
| float * | power_sum, | ||
| uint32_t * | doppler_index, | ||
| uint32_t * | total_blk_exp ) |
Read the results of the acquisition process.
| void Fpga_Acquisition::reset_acquisition | ( | ) |
Reset the FPGA PL.
| void Fpga_Acquisition::run_acquisition | ( | ) |
Run the acquisition process in the FPGA.
| void Fpga_Acquisition::set_block_exp | ( | uint32_t | total_block_exp | ) |
Set the block exponent of the FFT in the FPGA.
| void Fpga_Acquisition::set_doppler_sweep | ( | uint32_t | num_sweeps, |
| uint32_t | doppler_step, | ||
| int32_t | doppler_min ) |
Configure the doppler sweep parameters in the FPGA.
| bool Fpga_Acquisition::set_local_code | ( | uint32_t | PRN | ) |
Select the code with the chosen PRN.
| void Fpga_Acquisition::stop_acquisition | ( | ) |
stop the acquisition and the FPGA modules.
| void Fpga_Acquisition::write_local_code | ( | void | ) |
Write the PRN code in the FPGA.