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

This class implements a Parallel Code Phase Search Acquisition that uses the FPGA. More...

#include <pcps_acquisition_fpga.h>

Public Member Functions

 ~pcps_acquisition_fpga ()=default
 Destructor.
void set_gnss_synchro (Gnss_Synchro *p_gnss_synchro)
 Set acquisition/tracking common Gnss_Synchro object pointer to exchange synchronization data between acquisition and tracking blocks.
uint32_t mag () const
 Returns the maximum peak of grid search.
void init ()
 Initializes acquisition algorithm.
void set_local_code ()
 Sets local code for PCPS acquisition algorithm.
void set_active (bool active)
 Starts acquisition algorithm, turning from standby mode to active mode.
void set_channel (uint32_t channel)
 Set acquisition channel unique ID.
void set_channel_fsm (std::weak_ptr< ChannelFsm > channel_fsm)
 Set channel fsm associated to this acquisition instance.
void set_doppler_center (int32_t doppler_center)
 Set Doppler center frequency for the grid search. It will refresh the Doppler grid.
void reset_acquisition ()
 This function triggers a HW reset of the FPGA PL.
void stop_acquisition ()
 stop the acquisition and the other FPGA modules.

Friends

pcps_acquisition_fpga_sptr pcps_make_acquisition_fpga (Acq_Conf_Fpga *conf, uint32_t acq_buff_num, std::vector< std::pair< uint32_t, uint32_t > > &downsampling_filter_specs, uint32_t &max_FFT_size)

Detailed Description

This class implements a Parallel Code Phase Search Acquisition that uses the FPGA.

Check An Open Source Galileo E1 Software Receiver, Algorithm 1, for a pseudocode description of this implementation.

Definition at line 58 of file pcps_acquisition_fpga.h.

Constructor & Destructor Documentation

◆ ~pcps_acquisition_fpga()

pcps_acquisition_fpga::~pcps_acquisition_fpga ( )
default

Destructor.

Member Function Documentation

◆ init()

void pcps_acquisition_fpga::init ( )

Initializes acquisition algorithm.

◆ mag()

uint32_t pcps_acquisition_fpga::mag ( ) const
inline

Returns the maximum peak of grid search.

Definition at line 79 of file pcps_acquisition_fpga.h.

◆ reset_acquisition()

void pcps_acquisition_fpga::reset_acquisition ( )

This function triggers a HW reset of the FPGA PL.

◆ set_active()

void pcps_acquisition_fpga::set_active ( bool active)

Starts acquisition algorithm, turning from standby mode to active mode.

Parameters
active- bool that activates/deactivates the block.

◆ set_channel()

void pcps_acquisition_fpga::set_channel ( uint32_t channel)
inline

Set acquisition channel unique ID.

Parameters
channel- receiver channel.

Definition at line 105 of file pcps_acquisition_fpga.h.

◆ set_channel_fsm()

void pcps_acquisition_fpga::set_channel_fsm ( std::weak_ptr< ChannelFsm > channel_fsm)
inline

Set channel fsm associated to this acquisition instance.

Definition at line 113 of file pcps_acquisition_fpga.h.

◆ set_doppler_center()

void pcps_acquisition_fpga::set_doppler_center ( int32_t doppler_center)

Set Doppler center frequency for the grid search. It will refresh the Doppler grid.

Parameters
doppler_center- Frequency center of the search grid [Hz].

◆ set_gnss_synchro()

void pcps_acquisition_fpga::set_gnss_synchro ( Gnss_Synchro * p_gnss_synchro)
inline

Set acquisition/tracking common Gnss_Synchro object pointer to exchange synchronization data between acquisition and tracking blocks.

Parameters
p_gnss_synchroSatellite information shared by the processing blocks.

Definition at line 71 of file pcps_acquisition_fpga.h.

◆ set_local_code()

void pcps_acquisition_fpga::set_local_code ( )

Sets local code for PCPS acquisition algorithm.

◆ stop_acquisition()

void pcps_acquisition_fpga::stop_acquisition ( )

stop the acquisition and the other FPGA modules.


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