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