From bec5e4f35c1034a86df96a70f3d922222130c890 Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Wed, 18 Nov 2020 08:15:15 +0100 Subject: [PATCH] add xc7s25 support --- README.md | 4 ++-- src/part.hpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b6529c3..735524e 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ __Supported (tested) FPGA:__ * Lattice [ECP5 (25F, 5G 85F, CrossLink-NX (LIFCL-40)](https://www.latticesemi.com/en/Products/FPGAandCPLD/CrossLink-NX) (SRAM and Flash) * Xilinx Artix 7 [xc7a35ti, xc7a100t, xc7a200t](https://www.xilinx.com/products/silicon-devices/fpga/artix-7.html) (memory and spi flash) * Xilinx Spartan 6 [xc6slx45](https://www.xilinx.com/products/silicon-devices/fpga/spartan-6.html) (memory) -* Xilinx Spartan 7 [xc7s15, xc7s50](https://www.xilinx.com/products/silicon-devices/fpga/spartan-7.html) (memory (all) and spi flash (xc7s50)) +* Xilinx Spartan 7 [xc7s15, xc7s25, xc7s50](https://www.xilinx.com/products/silicon-devices/fpga/spartan-7.html) (memory (all) and spi flash (xc7s50)) * Intel Cyclone IV CE [EP4CE22](https://www.intel.com/content/www/us/en/products/programmable/fpga/cyclone-iv/features.html) (memory. See note below) * Intel Cyclone V E [5CEA2](https://www.intel.com/content/www/us/en/products/programmable/fpga/cyclone-v.html) * Intel Cyclone 10 LP [10CL025](https://www.intel.com/content/www/us/en/products/programmable/fpga/cyclone-10.html) @@ -472,4 +472,4 @@ __bin file load__ openFPGALoader -b ice40_generic /somewhere/*.bin ``` -Since it's a direct access to the flash (SPI) the *-b* option is required. \ No newline at end of file +Since it's a direct access to the flash (SPI) the *-b* option is required. diff --git a/src/part.hpp b/src/part.hpp index 26e7be9..d4502ad 100644 --- a/src/part.hpp +++ b/src/part.hpp @@ -19,6 +19,7 @@ static std::map fpga_list = { {0x44008093, {"xilinx", "spartan6", "xc6slx45"}}, {0x03620093, {"xilinx", "spartan7", "xc7s15ftgb196-1"}}, + {0x037c4093, {"xilinx", "spartan7", "xc7s25"}}, {0x0362f093, {"xilinx", "spartan7", "xc7s50"}}, {0x020f30dd, {"altera", "cyclone 10 LP", "10CL025"}},