GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
Fpga_Acquisition Class Reference

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.

Detailed Description

Class that implements carrier wipe-off and correlators.

Definition at line 39 of file fpga_acquisition.h.

Constructor & Destructor Documentation

◆ Fpga_Acquisition()

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.

◆ ~Fpga_Acquisition()

Fpga_Acquisition::~Fpga_Acquisition ( )
default

Destructor.

Member Function Documentation

◆ close_device()

void Fpga_Acquisition::close_device ( )

Close the device driver.

◆ configure_acquisition()

void Fpga_Acquisition::configure_acquisition ( void )

Write the acquisition parameters into the FPGA.

◆ init()

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.

◆ open_device()

void Fpga_Acquisition::open_device ( )

Open the device driver.

◆ read_acquisition_results()

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.

◆ reset_acquisition()

void Fpga_Acquisition::reset_acquisition ( )

Reset the FPGA PL.

◆ run_acquisition()

void Fpga_Acquisition::run_acquisition ( )

Run the acquisition process in the FPGA.

◆ set_block_exp()

void Fpga_Acquisition::set_block_exp ( uint32_t total_block_exp)

Set the block exponent of the FFT in the FPGA.

◆ set_doppler_sweep()

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.

◆ set_local_code()

bool Fpga_Acquisition::set_local_code ( uint32_t PRN)

Select the code with the chosen PRN.

◆ stop_acquisition()

void Fpga_Acquisition::stop_acquisition ( )

stop the acquisition and the FPGA modules.

◆ write_local_code()

void Fpga_Acquisition::write_local_code ( void )

Write the PRN code in the FPGA.


The documentation for this class was generated from the following file: