mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 09:59:03 +02:00
xilinx: fpga model must be used for spiOverJtag bistream selection
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ void Xilinx::program_spi(unsigned int offset)
|
||||
{
|
||||
// DATA_DIR is defined at compile time.
|
||||
std::string bitname = DATA_DIR "/openFPGALoader/spiOverJtag_";
|
||||
bitname += fpga_list[idCode()].family + ".bit";
|
||||
bitname += fpga_list[idCode()].model + ".bit";
|
||||
|
||||
/* first: load spi over jtag */
|
||||
BitParser bitfile(bitname, _verbose);
|
||||
|
||||
Reference in New Issue
Block a user