18 #ifndef GNSS_SDR_ACQ_CONF_FPGA_H 19 #define GNSS_SDR_ACQ_CONF_FPGA_H 22 #include <gnuradio/gr_complex.h> 40 void SetFromConfiguration(
const ConfigurationInterface *configuration,
const std::string &role, uint32_t blk_exp,
double code_chips_per_sec,
double num_chips_per_code);
42 bool ConfigureAutomaticResampler(std::vector<std::pair<uint32_t, uint32_t>> downsampling_filter_specs, uint32_t max_FFT_size,
double opt_freq);
44 bool Is_acq_config_valid(uint32_t max_FFT_size);
47 std::string device_name =
"uio0";
48 uint32_t *all_fft_codes = NULL;
50 double code_length_chips;
51 int64_t fs_in{4000000LL};
52 int64_t resampled_fs{4000000LL};
53 float doppler_step{250.0};
54 float doppler_step2{125.0};
55 uint32_t num_doppler_bins_step2{4U};
56 int32_t doppler_max{5000};
57 uint32_t downsampling_filter_num{0U};
58 uint32_t downsampling_factor{1U};
59 uint32_t downsampling_filter_delay{0U};
60 uint32_t total_block_exp{13U};
61 uint32_t excludelimit{5U};
62 uint32_t max_num_acqs{2U};
63 uint32_t fft_size{1U};
64 uint32_t code_length{16000U};
65 bool make_2_steps{
false};
66 bool enable_zero_padding{
false};
67 bool repeat_satellite{
false};
70 const std::string acquisition_device_name =
"acquisition_S00_AXI";
76 #endif // GNSS_SDR_ACQ_CONF_FPGA_H
This abstract class represents an interface to configuration parameters.
This class represents an interface to configuration parameters.