/*! * \file galileo_e5a_dll_pll_tracking.h * \brief Adapts a code DLL + carrier PLL * tracking block to a TrackingInterface for Galileo E5a signals * \brief Adapts a PCPS acquisition block to an AcquisitionInterface for * Galileo E5a data and pilot Signals * \author Marc Sales, 2014. marcsales92(at)gmail.com * \based on work from: * * * ------------------------------------------------------------------------- * * Copyright (C) 2010-2015 (see AUTHORS file for a list of contributors) * * GNSS-SDR is a software defined Global Navigation * Satellite Systems receiver * * This file is part of GNSS-SDR. * * GNSS-SDR is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * GNSS-SDR is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with GNSS-SDR. If not, see . * * ------------------------------------------------------------------------- */ #ifndef GNSS_SDR_GALILEO_E5A_DLL_PLL_TRACKING_FPGA_H_ #define GNSS_SDR_GALILEO_E5A_DLL_PLL_TRACKING_FPGA_H_ #include "dll_pll_veml_tracking_fpga.h" #include "tracking_interface.h" #include class ConfigurationInterface; /*! * \brief This class implements a code DLL + carrier PLL tracking loop */ class GalileoE5aDllPllTrackingFpga : public TrackingInterface { public: GalileoE5aDllPllTrackingFpga(ConfigurationInterface* configuration, const std::string& role, unsigned int in_streams, unsigned int out_streams); virtual ~GalileoE5aDllPllTrackingFpga(); inline std::string role() override { return role_; } //! Returns "Galileo_E5a_DLL_PLL_Tracking" inline std::string implementation() override { return "Galileo_E5a_DLL_PLL_Tracking"; } inline size_t item_size() override { return item_size_; } void connect(gr::top_block_sptr top_block) override; void disconnect(gr::top_block_sptr top_block) override; gr::basic_block_sptr get_left_block() override; gr::basic_block_sptr get_right_block() override; /*! * \brief Set tracking channel unique ID */ void set_channel(unsigned int channel) override; /*! * \brief Set acquisition/tracking common Gnss_Synchro object pointer * to efficiently exchange synchronization data between acquisition and tracking blocks */ void set_gnss_synchro(Gnss_Synchro* p_gnss_synchro) override; void start_tracking() override; /*! * \brief Stop running tracking */ void stop_tracking() override; private: dll_pll_veml_tracking_fpga_sptr tracking_fpga_sc; size_t item_size_; unsigned int channel_; std::string role_; unsigned int in_streams_; unsigned int out_streams_; int* d_ca_codes; int* d_data_codes; bool d_track_pilot; }; #endif /* GNSS_SDR_GALILEO_E5A_DLL_PLL_TRACKING_FPGA_H_ */