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