Siliconize StudioPut a trained model, or a plain Python function, on an FPGA without leaving VS Code. Siliconize Studio converts it to hardware, checks that the hardware still computes what the Python computes, shows you the circuit, and loads it onto your board when you press the button.
Where to find it. Click the Siliconize icon in the activity bar: the Hardware view lists your Python functions and model files, each with its actions. In any Python file the Prepare for FPGA button (a chip) sits in the editor's title bar; View hardware is in the menu next to it. The Siliconize entry in the status bar opens the sidebar. What you get:
All screenshots on this page are from the extension running in VS Code. Put a trained model on an FPGA1. Right-click the model file and choose Import model. Supported files: ONNX (
You are asked for three things:
2. Read the report. The model is now an ordinary Python module of integer arithmetic that you can read, run and test. The report shows the accuracy of the original floating-point model, the accuracy of the integer model that becomes hardware, how often the two agree, and the layers that were converted.
3. Press Prepare for FPGA. This builds the design for the board selected in the status bar, runs the verification, and opens the hardware view. Nothing is sent to a board. The results arrive in the side panel as they finish.
4. Look at the hardware. The schematic is the model as it will exist in the chip, grouped by the Python lines it was made from: here the two dense layers, the final argmax, and the control logic. Each block says how many lookup tables (LUT), carry cells and flip-flops (FF) it costs. On the right: the board, the verification steps with a tick for each one that passed, and the Load onto FPGA button, which is enabled only now that the build and every verification step have passed.
Double-click a block to open it. Inside the first layer are its four multipliers, the loop that sums each row, and the clamp, each still named after the Python expression it implements. Clicking a block jumps to its line in the source.
5. Press Load onto FPGA. You type the serial port of your board (ports are never scanned for), and the first time for each board and port you confirm the load.
The design is loaded, and the same test vectors that were used in simulation are then sent through the board and compared with the Python model. The result is added to the verification list as a fourth tick. From here, Insert call snippet writes the Python code that calls your FPGA, and Try it lets you call it by hand.
This last screenshot was taken with the built-in simulated board (type Not every model fits every chip. The cell counts in the schematic and the utilization figures in the side panel tell you how large a design is before you load it. Two kinds of file are refused on purpose. Pickle files ( From a Python functionThe same flow works for hardware you write yourself. A function with typed arguments is a design:
CodeLens. Above every top-level function:
Compiling is always your decision. Nothing compiles while you type or when you save. An edit only marks the last result as stale. Diagnostics. Whatever cannot become hardware is reported at the line that caused it, like any other problem in VS Code.
The Verilog beside the source. Siliconize: Open generated Verilog beside the source opens the generated Verilog-2001, read-only. Put the cursor on a Python line and the Verilog made from it is highlighted, and the other way round.
Try it. A small panel to call the function with your own values, or with a batch of random ones, and compare the result with Python. It runs in simulation; once a design has been loaded from the hardware view, it can also call the FPGA.
Prepare for FPGA then works exactly as for a model: build, verify, hardware view, Load onto FPGA. The hardware viewOne panel, three views of the same design. In all of them, clicking a part takes you to the Python line it came from, and moving the cursor in the source highlights the matching hardware. SchematicWhat will exist in the chip, after synthesis. Blocks are grouped by the Python line they were made from, so a
design of thousands of cells still reads like your program. Double-click a block to go inside it (the
breadcrumb leads back up), or press its
Dataflow / FSMWhat the compiler understood, before synthesis: every operation with its type and Python line, and the schedule that says which operations run in which clock cycle. Loops are drawn as loops, with their iterations laid out along the cycle axis, so you can see where the latency of a design comes from.
DeviceWhere the design sits in the chip after place and route: logic cells, carry chains, block RAM, DSP and I/O on the real grid of the device, with the share of each resource that is used. This view needs a place-and-route tool for the device (see Requirements); without one the panel still shows the resource estimate.
ThemesThe view follows your VS Code color theme: light, dark and high contrast.
Requirements
That is all you install by hand. The first time you use a command, the extension offers to create a private
virtual environment in its own storage and to install the Optional tools. Siliconize: Toolchain check (doctor) lists every feature, whether it is ready, and what it needs. The open-source tools (a simulator, synthesis, place and route, board loaders) are installed into the private environment with one click from that panel.
Vendor tools. The tools of the FPGA vendors are used when they are already installed and on your CommandsAll commands are in the Command Palette under Siliconize.
Import model is also in the Explorer context menu of model files. There is no command, menu entry or CodeLens that loads a board. Settings
SafetyAn FPGA board is real hardware, so the extension is deliberately careful with it.
PrivacySiliconize Studio has no telemetry and uses no cloud service. Your code and your models are compiled on your own computer by a local process that the extension starts. The network is used only when you agree to an install, which downloads packages with pip. Links
LicenseApache License 2.0. See LICENSE. Copyright 2026 Hussain Khan and contributors. DisclaimerSiliconize Studio and siliconize are provided "as is", without warranty of any kind. Passing verification is strong evidence, not a guarantee: tests cover a finite set of inputs, and tools have bugs. Loading a design onto hardware is at your own risk. Wrong pin assignments, I/O standards or voltages can damage a board, the circuits attached to it, or your computer, so check the constraints against your board's documentation before you load anything. Do not use generated designs where a failure could cause injury or damage without your own independent review and testing. The full text is in the siliconize disclaimer. |