text: #ifndef FPGA_H
  #define FPGA_H
  
  #include <unistd.h>
  #include <stdbool.h>
  #include <stdint.h>
  
  class FPGAFS
  {
  public:
      FPGAFS();
      ~FPGAFS();
  
      bool SynthregSet(unsigned int regadr, uint8_t value);
      uint8_t SynthregGet(unsigned int regadr);
  
  
  protected:
      bool m_bInitSuccess;
      int fd;
      void *virtual_base;
      uint32_t *uio_mem_addr=NULL;
  
  //    bool m_bIsVideoEnabled;
      bool Init();
  
  };
  
  #endif // FPGA_H
  