![]() |
GNSS-SDR
0.0.19
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 nsamples, uint32_t doppler_max, uint32_t nsamples_total, int64_t fs_in, uint32_t select_queue, uint32_t *all_fft_codes, uint32_t excludelimit) | |
| Constructor. More... | |
| ~Fpga_Acquisition ()=default | |
| Destructor. More... | |
| bool | set_local_code (uint32_t PRN) |
| Select the code with the chosen PRN. More... | |
| void | set_doppler_sweep (uint32_t num_sweeps, uint32_t doppler_step, int32_t doppler_min) |
| Configure the doppler sweep parameters in the FPGA. More... | |
| void | run_acquisition () |
| Run the acquisition process in the FPGA. More... | |
| 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. More... | |
| void | set_doppler_max (uint32_t doppler_max) |
| Set maximum Doppler grid search. More... | |
| void | set_doppler_step (uint32_t doppler_step) |
| Set Doppler steps for the grid search. More... | |
| void | reset_acquisition () |
| Reset the FPGA PL. More... | |
| void | stop_acquisition () |
| stop the acquisition and the FPGA modules. More... | |
| void | read_fpga_total_scale_factor (uint32_t *total_scale_factor, uint32_t *fw_scale_factor) |
| Read the scaling factor that has been used by the FFT-IFFT. More... | |
| void | set_block_exp (uint32_t total_block_exp) |
| Set the block exponent of the FFT in the FPGA. More... | |
| void | write_local_code (void) |
| Write the PRN code in the FPGA. More... | |
| void | configure_acquisition (void) |
| Write the acquisition parameters into the FPGA. More... | |
| void | open_device () |
| Open the device driver. More... | |
| void | close_device () |
| Close the device driver. More... | |
Class that implements carrier wipe-off and correlators.
Definition at line 37 of file fpga_acquisition.h.
| Fpga_Acquisition::Fpga_Acquisition | ( | std::string | device_name, |
| uint32_t | nsamples, | ||
| uint32_t | doppler_max, | ||
| uint32_t | nsamples_total, | ||
| int64_t | fs_in, | ||
| uint32_t | select_queue, | ||
| uint32_t * | all_fft_codes, | ||
| uint32_t | excludelimit | ||
| ) |
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::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::read_fpga_total_scale_factor | ( | uint32_t * | total_scale_factor, |
| uint32_t * | fw_scale_factor | ||
| ) |
Read the scaling factor that has been used by the FFT-IFFT.
| 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.
|
inline |
Set maximum Doppler grid search.
| doppler_max | - Maximum Doppler shift considered in the grid search [Hz]. |
Definition at line 89 of file fpga_acquisition.h.
|
inline |
Set Doppler steps for the grid search.
| doppler_step | - Frequency bin of the search grid [Hz]. |
Definition at line 98 of file fpga_acquisition.h.
| 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.
1.8.14