Silinx: An Open, Browser-Based HDL Design Platform for Teaching Digital Systems on FPGA Boards
Authors: Pedro Malo
Organizations: Departamento de Engenharia Electrotécnica e de Computadores (DEEC), Faculdade de Ciências e Tecnologia (FCT), Universidade NOVA de Lisboa, Portugal
Many digital systems courses teach on FPGA boards whose vendor tool is no longer maintained: the Digilent Basys2 and Nexys2 (Xilinx Spartan-3E) and Nexys3 and Atlys (Spartan-6) need Xilinx ISE 14.7, discontinued since 2013 and hard to install on the computers and tablets students use today. The author presents Silinx, a free (AGPL-3.0) HDL design platform for teaching that keeps ISE's Project Navigator workflow but runs in a web browser with nothing to install. A module can be written in VHDL or Verilog, in C or C++ through Silinx HLS, which is compatible with AMD's Vitis HLS and passes all 73 of its introductory examples, or drawn as a schematic, an ASM chart, a state diagram, a Boolean function with its Karnaugh map, or a Petri net, from which its HDL is generated. Designs are checked with explanations written for beginners, simulated, run on an emulated board, built, and programmed onto a real board over WebUSB. The implementation flow is open and runs in the browser: Yosys and nextpnr compiled to WebAssembly, with Silinx's own device data, timing model and bitstream writer for the Spartan-3E and Spartan-6, built by black-box observation of ISE's documented tools; Lattice iCE40 boards use the existing open iCE40 tools, and further families are planned. ISE is the oracle: Silinx's bitstreams are byte-identical to those ISE writes for the same placed and routed design, and pass ISE's design rule check. Against ISE at the same optimization goal, the open flow uses 15% fewer slices with 14% shorter critical paths when optimizing for area, and 21% fewer slices with 8% shorter critical paths when optimizing for speed (geometric means over 45 open-source designs built by both flows). The author also describes how the platform was developed with AI coding agents under test-first project rules.
Figures & tables
Fig. 1: Silinx in the browser, on the traffic example (a pedestrian crossing on a Basys2). (a) The controller drawn as a state diagram, from which its HDL is generated; the Design pane lists one row per module, with badges for its drawing first and its generated HDL last. (b) The whole design on a drawing of the Basys2, wired by its constraints file (switches, buttons, LEDs, seven-segment display), on the compiled engine. Screenshots of the public site, release 15.23.0.
Fig. 2: The open implementation flow for the Spartan-3E and Spartan-6. Every stage runs in the browser (in Web Workers) or in Node.js; no Xilinx tool is used. The iCE40 uses Yosys, nextpnr-ice40 and icepack.
Area
Speed
Fast
ISE (XST) setting
Area, 2
Speed, 2
Speed, 1
Logic LUTs
−16%
−21%
−19%
Flip-flops
+5%
−9%
−4%
Slices
−15%
−21%
−20%
As few LUTs or fewer
30/45
33/45
26/45
Critical path
−14%
−8%
+12%
TABLE I: Silinx vs. ISE per optimization goal on the XC3S1200E: geometric means of the ratios Silinx/ISE over the 45 designs built by both flows (critical path: over those timed by both). Negative: Silinx smaller, faster or quicker.
Area
Speed
Fast
Design
L
CP
L
CP
L
CP
vtr-mkPktMerge
0.06
0.64
0.06
0.80
0.06
0.85
light8080
0.37
0.78
0.36
0.83
0.37
0.78
epfl-adder
0.57
0.13
0.39
0.86
0.25
1.23
epfl-priority
0.46
1.82
0.51
0.41
0.42
2.07
epfl-voter
0.65
0.81
0.56
0.84
0.56
0.96
TABLE II: Selected designs: ratios Silinx/ISE of logic LUTs (L) and critical path (CP) at each goal.
The author describes an open implementation flow, from HDL to a programmable bitstream, for the Xilinx Spartan-3E (XC3S100E to XC3S1200E) and Spartan-6 (XC6SLX16, XC6SLX45), devices that only the discontinued ISE 14.7 supports. The flow runs unchanged in a web browser or in Node.js: Yosys and nextpnr compiled to WebAssembly, with nextpnr's Himbaechel framework given Spartan-3E and Spartan-6 architectures generated from Silinx's own device descriptions, bit database and timing model, and Silinx's own bitstream writer. The bit database was built by black-box observation of ISE's documented XDL and bitgen tools, using codeword-batched experiments; the router is given only switches whose bits were measured, and the writer refuses a feature it has not measured. ISE is the oracle: for the same placed and routed design, the bitstream is byte-identical to the one bitgen writes and ISE's DRC is clean. Placement and routing were first done by an in-house annealer and PathFinder router, which nextpnr replaced once it matched them. On 67 open-source designs for the XC3S1200E, compared with ISE at the same optimisation goal (45 designs built by both), the flow uses 15% fewer slices and has 14% shorter critical paths at goal Area, 21% fewer slices and 8% shorter paths at Speed, and 20% fewer slices but 12% longer paths at Fast (geometric means). XST cannot read 15 of the designs. The flow is published as the npm package silinx-fpga (Apache-2.0).
Pedro Malo
Departamento de Engenharia Electrotécnica e de Computadores (DEEC), Faculdade de Ciências e Tecnologia (FCT), Universidade NOVA de Lisboa, Portugal
Existing LLM-based EDA agents are often isolated task-specific systems. This leads to repeated engineering effort and limited reuse of successful design and debugging strategies. We present LEGO, a unified skill-based platform for front-end design generation. It decomposes the digital front-end flow into six independent steps and represents every agent capability as a standardized composable circuit skill within a plug-and-play architecture. To build this skill library, we survey more than 100 papers, select 11 representative open-source projects, and extract 42 executable circuit skills within a six-step finite state machine formulation. Circuit Skill Builder automates skill extraction with linear scalability. Agent Skill RAG achieves submillisecond retrieval without relying on embedding models. Empirical evaluation on a hard subset of 41 VerilogEval v2 problems that gpt-5.2-codex fails to solve under extra-high reasoning effort shows that individual circuit skills constructed within LEGO raise Pass@1 from 0.000 to 0.805. This is an 80.5% gain over the baseline. Cross-project skill compositions also reach 0.805 Pass@1. They outperform hierarchy-verilog by 14.6% and VerilogCoder by 2.5%. They also match MAGE. These results show that modular skill composition supports both effective and flexible RTL design automation. The LEGO platform and all circuit skills are publicly available at GitHub: https://github.com/loujc/LEGO-An-LLM-Skill-Based-Front-End-Design-Generation-Platform
Jincheng Lou, Ruohan Xu, Jiecheng Ma +3
School of IC, Peking University · School of EECS, Peking University · School of Microelectronics, Xidian University +2
We introduce HighTide, an evolving AI-assisted benchmark suite. Specifically, the contributions are: (i) a diverse open-source suite spanning multiple design languages and technology nodes, (ii) Bazel-based incremental RTL-to-GDS compilation with remote caching, (iii) AI-assisted design curation through twelve agent skills covering the design lifecycle, flow optimization, tool reference, and meta-maintenance, backed by per-design decision logs that serve as long-term memory of tuning rationale across the suite, and (iv) an infrastructure with RTL compilation verification for stable releases. The suite is publicly available and designed to grow with the open-source hardware ecosystem.
Benjamin Goldblatt, Paolo Pedroso, Farhad Modaresi +2