#ifndef ALTERA_HPP #define ALTERA_HPP #include "bitparser.hpp" #include "device.hpp" #include "ftdijtag.hpp" #include "svf_jtag.hpp" class Altera: public Device { public: Altera(FtdiJtag *jtag, std::string filename); ~Altera(); void program(unsigned int offset = 0); int idCode(); void reset() override; private: SVF_jtag _svf; }; #endif