Skip to content

synthgui 0.1.1 for Linux

Choose a tag to compare

@jrrk2 jrrk2 released this 24 Oct 15:02
· 101 commits to main since this release

synthgui for Linux, version 0.1.1: the Qt front end for the open FPGA flow (Verilator mapper, nextpnr-himbaechel, prjxray bitstream, openFPGALoader), with the tools bundled.

Download: synthgui-0.1.1-linux-x86_64.tar.gz, unpack anywhere and run bin/synthgui. Keep the folder together: synthgui finds the tools, chip databases and example projects relative to bin/. README-Linux.txt in the tarball has everything below in full.

Requires: Ubuntu 24.04 (x86-64), or a distribution built on it. On anything else, build from source (scripts/build-deps.sh, then cmake; see README.md).

  • Qt (6.10) is bundled in lib/ and plugins/, so Ubuntu's own Qt 6.4 is not used. Also inside: verilator (verilator_bin), nextpnr-himbaechel with the xc7a50t and xc7vx485t chip databases, fasm2netlist (tileverilog, lvs_equiv, without z3), prjxray's xc7frames2bit, OpenSTA, openFPGALoader, and the Artix-7 and Virtex-7 parts of prjxray-db.
  • No Python and no Perl: the converters between the tools are built into synthgui, as on macOS and Windows.
  • The remaining shared libraries (Boost 1.83, Tcl 8.6, libusb, libftdi, hidapi and the X11/xcb libraries Qt's xcb plugin loads) come from Ubuntu. A desktop install has most of them; README-Linux.txt gives the one apt install line for the rest.
  • Headless batch runs: QT_QPA_PLATFORM=offscreen bin/synthgui --project projects/sonata_johnson.json --run all.
  • Tested from the unpacked tarball: the Sonata sonata_johnson project from synthesis to UF2, with Qt and its platform plugin confirmed loading from the bundle. From the same build, the VC707 johnson project from synthesis to bitstream. Not yet tried on a clean Ubuntu 24.04 install.

Before programming a board over JTAG (once per PC): install openFPGALoader's udev rule, shipped in the tarball:

sudo cp 99-openfpgaloader.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules && sudo udevadm trigger
sudo usermod -a -G plugdev $USER     # then log out and back in

The Sonata can also be programmed by copying the UF2 the UF2 step writes to its SONATA drive. The Program (SONATA drive) step copies to the macOS path /Volumes/SONATA; on Linux point it at /media/$USER/SONATA, or copy the file by hand.

Known issue: the OpenSTA step reports fmax = inf on designs with carry chains (cell names in nextpnr's SDF and in the STA netlist do not match). Use nextpnr's own timing report meanwhile.

SHA-256: 8d2466d59c78a1fbf9dabb4e53d10759e2625791970a3be828ab3dc9281a19e8

Built from commit 55cb944 (scripts/package-linux.sh) with the submodules at the commits recorded there.