25 #ifndef GNSS_SDR_FPGA_DYNAMIC_BIT_SELECTION_H 26 #define GNSS_SDR_FPGA_DYNAMIC_BIT_SELECTION_H 56 static const size_t FPGA_PAGE_SIZE = 0x10000;
58 static const uint32_t Num_bits_ADC = 12;
59 static const uint32_t Num_bits_FPGA = 4;
60 static const uint32_t shift_out_bits_default = Num_bits_ADC - Num_bits_FPGA;
61 static const uint32_t shift_out_bits_min = 0;
62 static const uint32_t shift_out_bit_max = Num_bits_ADC - Num_bits_FPGA;
65 static const uint32_t Power_Threshold_High = 15000;
66 static const uint32_t Power_Threshold_Low = 6000;
68 void close_devices(
void);
70 uint32_t shift_out_bits_band1;
71 uint32_t shift_out_bits_band2;
73 volatile unsigned* d_map_base1;
74 int d_device_descriptor1;
76 volatile unsigned* d_map_base2;
77 int d_device_descriptor2;
80 #endif // GNSS_SDR_FPGA_DYNAMIC_BIT_SELECTION_H Fpga_dynamic_bit_selection(const std::string &device_name1, const std::string &device_name2)
Constructor.
void bit_selection(void)
This function configures the switch in th eFPGA.
Class that controls the switch in the FPGA, which connects the FPGA acquisition and multicorrelator m...
~Fpga_dynamic_bit_selection()
Destructor.