openFPGALoader/xilinx.hpp

21 lines
337 B
C++
Raw Normal View History

2019-09-26 18:29:20 +02:00
#ifndef XILINX_HPP
#define XILINX_HPP
#include "bitparser.hpp"
#include "device.hpp"
#include "ftdijtag.hpp"
class Xilinx: public Device {
public:
Xilinx(FtdiJtag *jtag, std::string filename);
2019-09-26 18:29:20 +02:00
~Xilinx();
void program(unsigned int offset = 0) override;
2019-09-26 18:29:20 +02:00
int idCode();
void reset();
2019-09-26 18:29:20 +02:00
private:
BitParser _bitfile;
};
#endif