22 #ifndef GNSS_SDR_FPGA_DYNAMIC_BIT_SELECTION_H 23 #define GNSS_SDR_FPGA_DYNAMIC_BIT_SELECTION_H 59 static const size_t FPGA_PAGE_SIZE = 0x10000;
61 static const uint32_t Num_bits_ADC = 12;
62 static const uint32_t Num_bits_FPGA = 4;
63 static const uint32_t shift_out_bits_default = Num_bits_ADC - Num_bits_FPGA;
64 static const uint32_t shift_out_bits_min = 0;
65 static const uint32_t shift_out_bit_max = Num_bits_ADC - Num_bits_FPGA;
68 static const uint32_t Power_Threshold_High = 9000;
69 static const uint32_t Power_Threshold_Low = 3000;
71 void close_devices(
void);
73 uint32_t shift_out_bits_band1;
74 uint32_t shift_out_bits_band2;
76 volatile unsigned* d_map_base1;
77 int d_device_descriptor1;
79 volatile unsigned* d_map_base2;
80 int d_device_descriptor2;
86 #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.