GNSS-SDR  0.0.19
An Open Source GNSS Software Defined Receiver
Public Member Functions | List of all members
GalileoE5aPcpsAcquisitionFpga Class Reference

This class adapts a PCPS acquisition block off-loaded on an FPGA to an AcquisitionInterface for Galileo E5a signals. More...

#include <galileo_e5a_pcps_acquisition_fpga.h>

Inheritance diagram for GalileoE5aPcpsAcquisitionFpga:
AcquisitionInterface GNSSBlockInterface

Public Member Functions

 GalileoE5aPcpsAcquisitionFpga (const ConfigurationInterface *configuration, const std::string &role, unsigned int in_streams, unsigned int out_streams)
 Constructor. More...
 
 ~GalileoE5aPcpsAcquisitionFpga ()=default
 Destructor. More...
 
std::string role () override
 Role. More...
 
std::string implementation () override
 Returns "Galileo_E5a_Pcps_Acquisition_Fpga". More...
 
size_t item_size () override
 Returns size of lv_16sc_t. More...
 
void connect (gr::top_block_sptr top_block) override
 Connect. More...
 
void disconnect (gr::top_block_sptr top_block) override
 Disconnect. More...
 
gr::basic_block_sptr get_left_block () override
 Get left block. More...
 
gr::basic_block_sptr get_right_block () override
 Get right block. More...
 
void set_gnss_synchro (Gnss_Synchro *p_gnss_synchro) override
 Set acquisition/tracking common Gnss_Synchro object pointer to efficiently exchange synchronization data between acquisition and tracking blocks. More...
 
void set_channel (unsigned int channel) override
 Set acquisition channel unique ID. More...
 
void set_channel_fsm (std::weak_ptr< ChannelFsm > channel_fsm) override
 Set channel fsm associated to this acquisition instance. More...
 
void set_threshold (float threshold) override
 Set statistics threshold of PCPS algorithm. More...
 
void set_doppler_max (unsigned int doppler_max) override
 Set maximum Doppler off grid search. More...
 
void set_doppler_step (unsigned int doppler_step) override
 Set Doppler steps for the grid search. More...
 
void set_doppler_center (int doppler_center) override
 Set Doppler center for the grid search. More...
 
void init () override
 Initializes acquisition algorithm. More...
 
void set_local_code () override
 Sets local Galileo E5a code for PCPS acquisition algorithm. More...
 
signed int mag () override
 Returns the maximum peak of grid search. More...
 
void reset () override
 Restart acquisition algorithm. More...
 
void set_state (int state) override
 If set to 1, ensures that acquisition starts at the first available sample. More...
 
void set_single_doppler_flag (unsigned int single_doppler_flag)
 This function is only used in the unit tests. More...
 
void stop_acquisition () override
 Stop running acquisition. More...
 
void set_resampler_latency (uint32_t latency_samples __attribute__((unused))) override
 Set resampler latency. More...
 
- Public Member Functions inherited from AcquisitionInterface
virtual void set_doppler_center (int doppler_center __attribute__((unused)))
 
virtual void set_resampler_latency (uint32_t latency_samples)=0
 
- Public Member Functions inherited from GNSSBlockInterface
virtual gr::basic_block_sptr get_left_block (int RF_channel)
 
virtual gr::basic_block_sptr get_right_block (int RF_channel)
 
virtual void start ()
 Start the flow of samples if needed. More...
 

Detailed Description

This class adapts a PCPS acquisition block off-loaded on an FPGA to an AcquisitionInterface for Galileo E5a signals.

Definition at line 43 of file galileo_e5a_pcps_acquisition_fpga.h.

Constructor & Destructor Documentation

◆ GalileoE5aPcpsAcquisitionFpga()

GalileoE5aPcpsAcquisitionFpga::GalileoE5aPcpsAcquisitionFpga ( const ConfigurationInterface configuration,
const std::string &  role,
unsigned int  in_streams,
unsigned int  out_streams 
)

Constructor.

◆ ~GalileoE5aPcpsAcquisitionFpga()

GalileoE5aPcpsAcquisitionFpga::~GalileoE5aPcpsAcquisitionFpga ( )
default

Destructor.

Member Function Documentation

◆ connect()

void GalileoE5aPcpsAcquisitionFpga::connect ( gr::top_block_sptr  top_block)
overridevirtual

Connect.

Implements GNSSBlockInterface.

◆ disconnect()

void GalileoE5aPcpsAcquisitionFpga::disconnect ( gr::top_block_sptr  top_block)
overridevirtual

Disconnect.

Implements GNSSBlockInterface.

◆ get_left_block()

gr::basic_block_sptr GalileoE5aPcpsAcquisitionFpga::get_left_block ( )
overridevirtual

Get left block.

Implements GNSSBlockInterface.

◆ get_right_block()

gr::basic_block_sptr GalileoE5aPcpsAcquisitionFpga::get_right_block ( )
overridevirtual

Get right block.

Implements GNSSBlockInterface.

◆ implementation()

std::string GalileoE5aPcpsAcquisitionFpga::implementation ( )
inlineoverridevirtual

Returns "Galileo_E5a_Pcps_Acquisition_Fpga".

Implements GNSSBlockInterface.

Definition at line 71 of file galileo_e5a_pcps_acquisition_fpga.h.

◆ init()

void GalileoE5aPcpsAcquisitionFpga::init ( )
overridevirtual

Initializes acquisition algorithm.

Implements AcquisitionInterface.

◆ item_size()

size_t GalileoE5aPcpsAcquisitionFpga::item_size ( )
inlineoverridevirtual

Returns size of lv_16sc_t.

Implements GNSSBlockInterface.

Definition at line 79 of file galileo_e5a_pcps_acquisition_fpga.h.

◆ mag()

signed int GalileoE5aPcpsAcquisitionFpga::mag ( )
overridevirtual

Returns the maximum peak of grid search.

Implements AcquisitionInterface.

◆ reset()

void GalileoE5aPcpsAcquisitionFpga::reset ( )
overridevirtual

Restart acquisition algorithm.

Implements AcquisitionInterface.

◆ role()

std::string GalileoE5aPcpsAcquisitionFpga::role ( )
inlineoverridevirtual

Role.

Implements GNSSBlockInterface.

Definition at line 63 of file galileo_e5a_pcps_acquisition_fpga.h.

◆ set_channel()

void GalileoE5aPcpsAcquisitionFpga::set_channel ( unsigned int  channel)
inlineoverridevirtual

Set acquisition channel unique ID.

Implements AcquisitionInterface.

Definition at line 114 of file galileo_e5a_pcps_acquisition_fpga.h.

◆ set_channel_fsm()

void GalileoE5aPcpsAcquisitionFpga::set_channel_fsm ( std::weak_ptr< ChannelFsm channel_fsm)
inlineoverridevirtual

Set channel fsm associated to this acquisition instance.

Implements AcquisitionInterface.

Definition at line 123 of file galileo_e5a_pcps_acquisition_fpga.h.

◆ set_doppler_center()

void GalileoE5aPcpsAcquisitionFpga::set_doppler_center ( int  doppler_center)
override

Set Doppler center for the grid search.

◆ set_doppler_max()

void GalileoE5aPcpsAcquisitionFpga::set_doppler_max ( unsigned int  doppler_max)
overridevirtual

Set maximum Doppler off grid search.

Implements AcquisitionInterface.

◆ set_doppler_step()

void GalileoE5aPcpsAcquisitionFpga::set_doppler_step ( unsigned int  doppler_step)
overridevirtual

Set Doppler steps for the grid search.

Implements AcquisitionInterface.

◆ set_gnss_synchro()

void GalileoE5aPcpsAcquisitionFpga::set_gnss_synchro ( Gnss_Synchro p_gnss_synchro)
overridevirtual

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

Implements AcquisitionInterface.

◆ set_local_code()

void GalileoE5aPcpsAcquisitionFpga::set_local_code ( )
overridevirtual

Sets local Galileo E5a code for PCPS acquisition algorithm.

Implements AcquisitionInterface.

◆ set_resampler_latency()

void GalileoE5aPcpsAcquisitionFpga::set_resampler_latency ( uint32_t latency_samples   __attribute__(unused))
inlineoverride

Set resampler latency.

Definition at line 189 of file galileo_e5a_pcps_acquisition_fpga.h.

◆ set_single_doppler_flag()

void GalileoE5aPcpsAcquisitionFpga::set_single_doppler_flag ( unsigned int  single_doppler_flag)

This function is only used in the unit tests.

◆ set_state()

void GalileoE5aPcpsAcquisitionFpga::set_state ( int  state)
overridevirtual

If set to 1, ensures that acquisition starts at the first available sample.

Parameters
state- int=1 forces start of acquisition

Implements AcquisitionInterface.

◆ set_threshold()

void GalileoE5aPcpsAcquisitionFpga::set_threshold ( float  threshold)
overridevirtual

Set statistics threshold of PCPS algorithm.

Implements AcquisitionInterface.

◆ stop_acquisition()

void GalileoE5aPcpsAcquisitionFpga::stop_acquisition ( )
overridevirtual

Stop running acquisition.

Implements AcquisitionInterface.


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