GNSS-SDR  0.0.21
An Open Source GNSS Software Defined Receiver
gps_l2_m_pcps_acquisition_fpga.h
Go to the documentation of this file.
1 /*!
2  * \file gps_l2_m_pcps_acquisition_fpga.h
3  * \brief Adapts an FPGA-offloaded PCPS acquisition block
4  * to an AcquisitionInterface for GPS L2 M signals
5  * \authors <ul>
6  * <li> Javier Arribas, 2019. jarribas(at)cttc.es
7  * </ul>
8  *
9  * -----------------------------------------------------------------------------
10  *
11  * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
12  * This file is part of GNSS-SDR.
13  *
14  * Copyright (C) 2010-2022 (see AUTHORS file for a list of contributors)
15  * SPDX-License-Identifier: GPL-3.0-or-later
16  *
17  * -----------------------------------------------------------------------------
18  */
19 
20 #ifndef GNSS_SDR_GPS_L2_M_PCPS_ACQUISITION_FPGA_H
21 #define GNSS_SDR_GPS_L2_M_PCPS_ACQUISITION_FPGA_H
22 
24 
25 /** \addtogroup Acquisition
26  * \{ */
27 /** \addtogroup Acq_adapters
28  * \{ */
29 
30 /*!
31  * \brief This class adapts a PCPS acquisition block off-loaded on an FPGA
32  * to an AcquisitionInterface for GPS L2 M signals
33  */
35 {
36 public:
38  const ConfigurationInterface* configuration,
39  const std::string& role,
40  unsigned int in_streams,
41  unsigned int out_streams);
42 
43  /*!
44  * \brief Returns "GPS_L2_M_PCPS_Acquisition_FPGA"
45  */
46  inline std::string implementation() override
47  {
48  return "GPS_L2_M_PCPS_Acquisition_FPGA";
49  }
50 
51 private:
52  static const uint32_t DEFAULT_FPGA_BLK_EXP = 13; // default block exponent
53  void generate_gps_l2c_m_prn_codes();
54 };
55 
56 
57 /** \} */
58 /** \} */
59 #endif // GNSS_SDR_GPS_L2_M_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 abstract class represents an interface to configuration parameters.
std::string implementation() override
Returns "GPS_L2_M_PCPS_Acquisition_FPGA".
This class adapts a PCPS acquisition block off-loaded on an FPGA to an AcquisitionInterface for GPS L...