openFPGALoader/altera.hpp

20 lines
310 B
C++
Raw Normal View History

2019-09-26 18:29:20 +02:00
#ifndef ALTERA_HPP
#define ALTERA_HPP
#include "bitparser.hpp"
#include "device.hpp"
#include "ftdijtag.hpp"
class Altera: public Device {
public:
Altera(FtdiJtag *jtag, enum prog_mode mode, std::string filename);
~Altera();
void program();
int idCode();
private:
BitParser _bitfile;
};
#endif