mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-09-01 10:39:51 +02:00
initial commit
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
#include <iostream>
|
||||
#include <stdexcept>
|
||||
|
||||
#include "device.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
Device::Device(FtdiJtag *jtag, enum prog_mode mode, string filename):
|
||||
_filename(filename), _mode(mode)
|
||||
{
|
||||
_jtag = jtag;
|
||||
}
|
||||
|
||||
int Device::idCode()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void Device::program()
|
||||
{
|
||||
throw std::runtime_error("Not implemented");
|
||||
}
|
||||
void Device::reset()
|
||||
{
|
||||
throw std::runtime_error("Not implemented");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user