mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-09-03 07:13:12 +02:00
altera: add support for RBF (only tested with SRAM)
This commit is contained in:
+6
-4
@@ -1,18 +1,20 @@
|
||||
#ifndef ALTERA_HPP
|
||||
#define ALTERA_HPP
|
||||
|
||||
#include "bitparser.hpp"
|
||||
#include <string>
|
||||
|
||||
#include "device.hpp"
|
||||
#include "jtag.hpp"
|
||||
#include "svf_jtag.hpp"
|
||||
|
||||
class Altera: public Device {
|
||||
public:
|
||||
Altera(Jtag *jtag, std::string filename, bool verbose);
|
||||
Altera(Jtag *jtag, const std::string &filename, bool verbose);
|
||||
~Altera();
|
||||
|
||||
void program(unsigned int offset = 0);
|
||||
int idCode();
|
||||
void programMem();
|
||||
void program(unsigned int offset = 0) override;
|
||||
int idCode() override;
|
||||
void reset() override;
|
||||
private:
|
||||
SVF_jtag _svf;
|
||||
|
||||
Reference in New Issue
Block a user