xilinx: support writing .bit file to flash

This commit is contained in:
Gwenhael Goavec-Merou
2020-09-25 18:58:31 +02:00
parent e8acec9873
commit d9bbcdf68b
3 changed files with 21 additions and 6 deletions
+2 -1
View File
@@ -10,7 +10,8 @@
class Xilinx: public Device, SPIInterface {
public:
Xilinx(Jtag *jtag, const std::string &filename, bool verbose);
Xilinx(Jtag *jtag, const std::string &filename,
bool flash_wr, bool sram_wr, bool verbose);
~Xilinx();
void program(unsigned int offset = 0) override;