23 #ifndef GNSS_SDR_FPGA_SWITCH_H 24 #define GNSS_SDR_FPGA_SWITCH_H 57 const std::string SWITCH_DEVICE_NAME = std::string(
"AXIS_Switch_v1_0_0");
58 static const size_t FPGA_PAGE_SIZE = 0x1000;
59 static const uint32_t TEST_REGISTER_TRACK_WRITEVAL = 0x55AA;
60 static const uint32_t MAX_LENGTH_DEVICEIO_NAME = 50;
63 unsigned fpga_switch_test_register(
unsigned writeval);
64 void close_device(
void);
66 volatile unsigned* d_map_base;
67 int d_device_descriptor;
73 #endif // GNSS_SDR_FPGA_SWITCH_H Fpga_Switch(void)
Constructor.
void set_switch_position(int32_t switch_position)
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_Switch()
Destructor.