xilinx,lattice,device: add verify write into flash

This commit is contained in:
Gwenhael Goavec-Merou
2021-06-24 18:08:02 +02:00
parent b150bbdd23
commit c471d25bb5
13 changed files with 91 additions and 23 deletions
+2 -1
View File
@@ -26,7 +26,7 @@ class Device {
} prog_type_t;
Device(Jtag *jtag, std::string filename, const std::string &file_type,
int8_t verbose = false);
bool verify, int8_t verbose = false);
virtual ~Device();
virtual void program(unsigned int offset = 0) = 0;
virtual int idCode() = 0;
@@ -37,6 +37,7 @@ class Device {
std::string _filename;
std::string _file_extension;
enum prog_mode _mode;
bool _verify; /**< verify flash write */
bool _verbose;
bool _quiet;
};