xilinx: allows Flash write for Xilinx Spartan3 targets

This commit is contained in:
Gwenhael Goavec-Merou 2025-09-20 17:31:32 +02:00
parent 1ccc2a0d5b
commit 6df4bce1fd
1 changed files with 0 additions and 3 deletions

View File

@ -365,9 +365,6 @@ Xilinx::Xilinx(Jtag *jtag, const std::string &filename,
_ircode_map = ircode_mapping.at("virtexusp");
} else if (family.substr(0, 8) == "spartan3") {
_fpga_family = SPARTAN3_FAMILY;
if (_mode != Device::MEM_MODE) {
throw std::runtime_error("Error: Only load to mem is supported");
}
} else if (family == "xcf") {
_fpga_family = XCF_FAMILY;
if (_mode == Device::MEM_MODE) {