Spartan FPGA Unlock — Recovering Your Own Bitstream
Spartan FPGA unlock is the process of reading back the configuration bitstream from a Xilinx (now AMD) Spartan-series FPGA when the original design files have been lost, corrupted, or are otherwise unavailable. Success depends heavily on which Spartan sub-family is involved, whether readback-disable or AES encryption was enabled, and the physical condition of the device. Our engineers routinely recover bitstreams from Spartan-3, Spartan-3A/AN, Spartan-3E, and Spartan-6 parts, with Spartan-7 feasibility evaluated on a case-by-case basis.
Why Would You Need a Spartan FPGA Unlock?

The most common scenario is legacy equipment maintenance. A Spartan-3 or Spartan-6 FPGA sits on a production board that has been running for 8–15 years. The original VHDL/Verilog source was lost in an office move, a contractor departure, or a failed hard drive. The board still works, but you need to clone it for spares, migrate to a newer platform, or simply archive the IP you own.
Other legitimate cases include:
- Recovering a bitstream from a prototype when the design repository was never properly version-controlled.
- Verifying that a contract manufacturer programmed the correct firmware into a production run.
- Extracting configuration data for failure analysis after a field return.
Authorization is required for every Spartan FPGA unlock engagement. We verify proof of ownership or written authorization from the IP holder before work begins. For details on our legal and ethical framework, see our trust and authorization policy.
How Spartan FPGA Security Works — Sub-Family Breakdown
Xilinx Spartan FPGAs span multiple generations, and each generation handles configuration security differently. Understanding these mechanisms is essential to estimating whether a Spartan FPGA unlock is feasible for your specific part.
Spartan-3 / 3E / 3A / 3AN (90 nm, 2003–2008)
These devices use a single security bit that disables JTAG readback. There is no AES bitstream encryption. When the security bit is set, standard readback through Xilinx iMPACT returns all zeros. However, because there is no cryptographic protection, side-channel and physical techniques can bypass the readback-disable flag with high reliability. Our success rate on Spartan-3 family parts exceeds 90%, assuming the device is not physically damaged.
The Spartan-3AN is a special case: it integrates on-chip non-volatile configuration storage (an internal SPI flash). The bitstream persists in the die-level flash, which means recovery does not depend on an external configuration PROM being present.
Spartan-6 (45 nm, 2009–2015)
Spartan-6 introduced optional AES-256 bitstream encryption alongside the readback-disable security bit. The feasibility of a Spartan-6 unlock depends entirely on which protections were actually enabled:
| Protection State | Readback Disable | AES-256 Encryption | Recovery Feasibility |
|---|---|---|---|
| No protection | Off | Off | Trivial — standard JTAG readback |
| Readback only | On | Off | High (85–95%) — bypass techniques available |
| Encryption only | Off | On | Moderate — key recovery adds cost and time |
| Full protection | On | On | Case-by-case — requires advanced analysis |
Most Spartan-6 designs in the field use readback-disable without encryption, because many designers relied on the security bit alone. This is the most common configuration our lab encounters, and it remains recoverable through proven non-invasive and semi-invasive methods.
Spartan-7 (28 nm, 2015–present)
Spartan-7 shares the 7-series security architecture with Artix-7 and Kintex-7. It supports AES-256 encryption with HMAC/SHA-256 authentication, plus eFUSE-based key storage and readback-disable. When AES + authentication are both active, bitstream recovery is extremely difficult. When only readback-disable is set (no encryption), recovery remains possible but requires more effort than Spartan-6 equivalents. We assess each Spartan-7 case individually before quoting.
Our Spartan FPGA Unlock Process
Step 1 — Feasibility assessment. You send us the device part number (e.g., XC6SLX25-2FTG256C), a photo of the board, and proof of ownership. Within 2–3 business days, we report whether recovery is feasible and at what confidence level.
Step 2 — Device preparation. If the FPGA is soldered to a board, we may need the entire PCB assembly or we can work with a desoldered part. For Spartan-3AN devices with internal flash, a bare chip is sufficient. For externally configured parts (SPI/BPI PROM), we first attempt to read the external configuration memory — sometimes the bitstream sits there unencrypted even when FPGA readback is disabled.
Step 3 — Bitstream extraction. Depending on the protection level, our engineers apply JTAG-based readback, side-channel analysis, or semi-invasive techniques. The raw bitstream is captured and verified against the device’s frame structure.
Step 4 — Verification and delivery. We load the recovered bitstream onto a blank Spartan device of the same part number and verify functional equivalence. You receive the .bit/.bin file, a configuration report, and (optionally) a partial netlist reconstruction.
What Can Go Wrong
Honest assessment of failure modes matters more than marketing promises:
- Physical damage: If the die has been cracked, delaminated, or subjected to severe ESD, recovery may be impossible regardless of security settings.
- eFUSE-based keys (Spartan-7): If AES keys are burned into eFUSEs and the encrypted bitstream cannot be intercepted during boot, decryption without the key is computationally infeasible with current methods.
- Partial bitstream corruption: Volatile FPGAs lose their configuration at power-off. If the external PROM is corrupted and the board no longer boots, we may recover a partial bitstream with gaps.
- Battery-backed SRAM keys: Spartan-6 can store AES keys in battery-backed RAM. If the battery has died, the key is gone — but so is the encryption barrier, which may actually simplify recovery.
Cost and Lead Time for Spartan FPGA Unlock

| Spartan Sub-Family | Typical Cost Range (USD) | Lead Time (Working Days) | Notes |
|---|---|---|---|
| Spartan-3 / 3E / 3A | $800 – $2,000 | 5 – 8 | No encryption; readback-disable bypass well-established |
| Spartan-3AN | $1,000 – $2,500 | 5 – 10 | Internal flash adds extraction step |
| Spartan-6 (no AES) | $1,200 – $3,000 | 7 – 12 | Most common case; high success rate |
| Spartan-6 (AES enabled) | $3,000 – $6,000+ | 10 – 20 | Key recovery adds significant effort |
| Spartan-7 (readback only) | $2,500 – $5,000 | 10 – 15 | 7-series architecture; case-by-case |
| Spartan-7 (AES + auth) | Quoted after assessment | 15 – 25+ | May not be feasible — honest upfront evaluation |
Pricing depends on package type (BGA vs. QFP affects handling), protection level, and whether we need to desolder the part. Rush service (≤5 days) is available for Spartan-3 family parts at a 40–60% surcharge.
How Spartan Compares to Other FPGA and MCU Unlocks
FPGA unlock differs fundamentally from microcontroller flash readout. An MCU stores firmware in persistent flash; an FPGA’s “firmware” is a bitstream that configures logic fabric. The bitstream is not executable code — it is a configuration map. This distinction affects both the extraction technique and the deliverable format.
If your project involves Altera/Intel devices rather than Xilinx, our Cyclone FPGA unlock service covers Cyclone II through Cyclone V with similar feasibility tiers. For mixed designs that pair a Spartan FPGA with a microcontroller, we often handle both in a single engagement — for example, recovering a Spartan-6 bitstream alongside an STM32L5 firmware extraction or an AT90 flash readout.
Deliverable Formats
- .bit / .bin file: Raw configuration bitstream, ready to program via JTAG or load into an external PROM.
- .mcs / .hex: Formatted for SPI or BPI configuration PROMs (Spartan-3AN, Spartan-6 with external flash).
- Partial netlist (optional): If you need to understand or modify the design, we can reconstruct a gate-level netlist from the bitstream using bitstream-to-netlist tools. This adds 3–5 working days and is quoted separately.
- Configuration report: Documents the device part number, package, security settings found, and verification results.
Frequently Asked Questions
Can you recover the original VHDL or Verilog source from a Spartan FPGA?
No. Bitstream recovery yields a configuration file equivalent to the compiled output, not the human-readable source code. We can reconstruct a gate-level netlist, but it will not have meaningful signal names or architectural hierarchy. Think of it as recovering a compiled binary, not the C source.
Is Spartan FPGA unlock legal?
Yes, when performed on devices you own or are authorized to access. Common legal bases include recovering your own lost IP, maintaining legacy equipment you purchased, and failure analysis. We require proof of ownership or written authorization before starting work. Unauthorized extraction of third-party proprietary designs is something we do not perform.
Do you need the whole PCB or just the FPGA chip?
For externally configured Spartan FPGAs (Spartan-3, 3E, 3A, 6, 7), sending the complete board is preferred — the bitstream may reside in an external SPI/BPI PROM that we can read directly. For Spartan-3AN with internal flash, the bare chip is sufficient. If desoldering is needed, we handle it in-house with BGA rework stations.
What if the Spartan FPGA is obsolete and I cannot buy replacements?
Bitstream recovery is often the first step toward migrating the design to a current-production part. Once we extract the bitstream and optionally reconstruct the netlist, you or your design house can re-target it to a pin-compatible or functionally equivalent device such as a Spartan-7 or Artix-7.
How does Spartan-6 AES key storage affect recovery?
Spartan-6 stores AES-256 keys in battery-backed SRAM or eFUSEs. Battery-backed keys are volatile — if the backup battery has failed, the key is lost but the device will no longer demand encrypted bitstreams, potentially simplifying recovery. eFUSE keys persist indefinitely, making encrypted bitstream recovery more complex. We determine the key storage method during our feasibility assessment.
Check feasibility for your project
Send the chip marking or board details and tell us what you need to recover. Add clear photos if available.
Request a feasibility reviewRelated IC Unlock Services
Our lab handles a wide range of protected devices beyond Xilinx FPGAs. If your board pairs a Spartan FPGA with a Microchip PIC or dsPIC controller, we can recover both in parallel — see our PIC12 unlock and dsPIC33C unlock pages for feasibility details on those families.
What do you need to recover?
Send the full marking or board photos, sample condition and required outcome. Ask for an NDA before sharing confidential files. Scope and sample handling are confirmed individually.
The article title is carried into the contact form. Add your own details and review the enquiry before sending.