GNSS-SDR  0.0.21
An Open Source GNSS Software Defined Receiver
galileo_e5b_pcps_acquisition_fpga.h
Go to the documentation of this file.
1 /*!
2  * \file galileo_e5b_pcps_acquisition_fpga.h
3  * \brief Adapts a PCPS acquisition block to an AcquisitionInterface for
4  * Galileo E5b data and pilot Signals for the FPGA
5  * \author Piyush Gupta, 2020. piyush04111999@gmail.com
6  * \note Code added as part of GSoC 2020 Program.
7  *
8  * -----------------------------------------------------------------------------
9  *
10  * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
11  * This file is part of GNSS-SDR.
12  *
13  * Copyright (C) 2010-2022 (see AUTHORS file for a list of contributors)
14  * SPDX-License-Identifier: GPL-3.0-or-later
15  *
16  * -----------------------------------------------------------------------------
17  */
18 
19 #ifndef GNSS_SDR_GALILEO_E5B_PCPS_ACQUISITION_FPGA_H
20 #define GNSS_SDR_GALILEO_E5B_PCPS_ACQUISITION_FPGA_H
21 
23 
24 /** \addtogroup Acquisition
25  * \{ */
26 /** \addtogroup Acq_adapters
27  * \{ */
28 
29 
30 /*!
31  * \brief This class adapts a PCPS acquisition block off-loaded on an FPGA
32  * to an AcquisitionInterface for Galileo E5b signals
33  */
35 {
36 public:
37  /*!
38  * \brief Constructor
39  */
41  const std::string& role,
42  unsigned int in_streams,
43  unsigned int out_streams);
44 
45  /*!
46  * \brief Returns "Galileo_E5b_Pcps_Acquisition_FPGA"
47  */
48  inline std::string implementation() override
49  {
50  return "Galileo_E5b_PCPS_Acquisition_FPGA";
51  }
52 
53 private:
54  static const uint32_t DEFAULT_FPGA_BLK_EXP = 13; // default block exponent
55  void generate_galileo_e5b_prn_codes();
56  bool acq_pilot_;
57  const bool acq_iq_;
58 };
59 
60 
61 /** \} */
62 /** \} */
63 #endif // GNSS_SDR_GALILEO_E5B_PCPS_ACQUISITION_FPGA_H
Shared implementation for FPGA-based PCPS acquisition adapters.
Base class providing shared logic for FPGA-based GPS PCPS acquisition adapters.
This class adapts a PCPS acquisition block off-loaded on an FPGA to an AcquisitionInterface for Galil...
std::string implementation() override
Returns "Galileo_E5b_Pcps_Acquisition_FPGA".
This abstract class represents an interface to configuration parameters.
GalileoE5bPcpsAcquisitionFpga(const ConfigurationInterface *configuration, const std::string &role, unsigned int in_streams, unsigned int out_streams)
Constructor.