Hardware
Open-source FPGA toolchain runs legacy Xilinx designs in the browser
An open implementation flow enables designers to compile Spartan-3E and Spartan-6 devices from HDL to bitstream entirely in WebAssembly, matching ISE output byte-for-byte.
A new open-source implementation toolchain addresses a persistent gap in FPGA design: how to work with legacy Xilinx Spartan-generation devices now that the official ISE 14.7 software has been discontinued. The solution compiles HDL designs to programmable bitstreams in a web browser using open tools.
The Challenge#
Spartan-3E and Spartan-6 FPGAs—popular in embedded systems and research projects—are locked to ISE 14.7, which no longer receives updates or support. Designers faced limited options for maintaining or extending these designs. The open-source alternatives, such as Yosys and nextpnr, initially lacked the architectural information needed to target these specific device families.
The Solution#
The flow combines Yosys and nextpnr compiled to WebAssembly, enabling the entire compilation process to run directly in a browser without external tools. The system uses nextpnr's Himbaechel framework to add support for Spartan-3E (XC3S100E through XC3S1200E) and Spartan-6 (XC6SLX16, XC6SLX45) variants.
The technical foundation rests on careful reverse-engineering: researchers studied ISE's documented XDL and bitgen command-line tools through systematic black-box testing. They performed codeword-batched experiments to map how device configuration bits correspond to hardware features, building a comprehensive bit database. Critically, the router and bitstream writer accept only switches whose behavior has been experimentally measured, rejecting unsupported features—a conservative approach that ensures reliability.
Verification Against ISE#
The toolchain achieves byte-identical bitstream output to ISE for the same placed-and-routed designs, with ISE's design rule checker (DRC) passing cleanly. This level of compatibility validation is rare in open-source FPGA tools and demonstrates the accuracy of the reverse-engineered device models.
Performance Gains#
When tested on 67 open-source designs targeting the XC3S1200E, the new flow showed measurable improvements compared to ISE across different optimization strategies. For area-focused builds (45 designs compared), it used 15% fewer logic slices and achieved 14% shorter critical paths. Speed-optimized designs saw 21% slice reduction and 8% faster paths. Fast-optimized runs used 20% fewer slices, though paths were 12% longer. Notably, ISE's XST compiler failed to process 15 of the test designs entirely.

