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;