Multi-platform nightly builds of open source FPGA tools
  • C 60.6%
  • Shell 39.3%
  • Python 0.1%
Find a file
2020-08-31 09:49:03 +10:00
build-data #28 chmod +x build-data/yosys-config 2020-06-16 13:40:03 +10:00
scripts #25 don't check avy any more 2020-08-30 19:17:26 +10:00
.gitattributes #13 add new tool to README, fix case in test script, change gitattributes again 2020-07-27 22:05:13 +10:00
.gitignore fix up tests 2020-07-18 18:05:38 +10:00
_travis.yml try using azure pipelines to build bba, disable travis 2020-05-03 18:46:04 +10:00
appveyor.yml fetch tags 2020-04-27 22:08:56 +10:00
azure-pipelines.yml #25 re-enable dfu-util now sourceforge is alive again 2020-08-30 18:00:41 +10:00
build.sh #25 try full build 2020-08-04 22:12:02 +10:00
build_bba.sh #25 try stripping binaries, add alternative compression methods 2020-07-12 16:49:28 +10:00
clean.sh fix icebox path for nextpnr-ice40 build, build nextpnr in separate dirs for ice40/ecp5, change version string of end package, rm upstream sources on clean.sh 2020-04-26 14:39:06 +10:00
HACKING.md initial import dumping scripts from xobs/toolchain-icestorm and xobs/toolchain-nextpnr-ice40 (not yet integrated) 2020-04-25 11:04:47 +10:00
LICENSE initial import dumping scripts from xobs/toolchain-icestorm and xobs/toolchain-nextpnr-ice40 (not yet integrated) 2020-04-25 11:04:47 +10:00
README.md #25 disable avy for now 2020-08-30 15:34:50 +10:00

FPGA-Toolchain

Build Status Discord

Introduction

Multi-platform nightly builds of open source FPGA tools.

Currently included:

  • Yosys: RTL synthesis with extensive Verilog 2005 support
  • GHDL Yosys Plugin: experimental VHDL synthesis, built in to Yosys for your convenience!
  • GHDL: CLI tool supporting the Yosys plugin
  • SymbiYosys: Yosys-based formal hardware verification
  • Boolector: Engine for SymbiYosys
  • Yices2: Engine for SymbiYosys
  • Z3: Engine for SymbiYosys
  • Project Trellis: Tools for working with Lattice ECP5 bitstreams
  • Project IceStorm: Tools for working with Lattice ICE40 bitstreams
  • nextpnr: Timing-driven place and route for both ICE40 and ECP5 architectures
  • dfu-util: Device Firmware Upgrade Utilities
  • ecpprog: A basic driver for FTDI based JTAG probes, to program ECP5 FPGAs
  • openFPGALoader: Universal utility for programming FPGA

These tools are under active development (as are these build scripts), so please be prepared for things to break from time to time. In most cases you should be able to roll back to an older version while you wait for a fix.

Builds run at 0400 UTC daily from the master branch of each project.

Installation

  1. Download an archive matching your OS from the releases page.
  2. Extract the archive to a location of your choice
  3. Add the bin folder to your PATH.
  4. (optional, not needed on Windows) If you would like to use the experimental GHDL Yosys plugin for VHDL, you will need to set the GHDL_PREFIX environment variable. e.g. export GHDL_PREFIX=<install_dir>/fpga-toolchain/lib/ghdl

Windows users that prefer to use WSL can download fpga-toolchain-linux* to build under WSL and then use the native tools from fpga-toolchain-progtools-windows* to program their boards (since USB devices are not currently accessible in the WSL environment).

If you see errors about missing libraries (.so/.dll/.dylib) please report them in an issue here.

Getting Help

If you run into issues with these tools, please consider reporting an issue to the authors of the tools - we are just compiling them here! If you think your issue relates to the way we have compiled them then it is more appropriate to open a GitHub issue here.

If you aren't sure where to report your issue or don't feel it fits on GitHub, you can also try sending a message in the #open-tool-forge channel on 1BitSquared's Discord server or 1BitSquared's Forum.

For portable WASM builds of these tools, check out YoWASP. Also check out nMigen for a powerful python-based approach to hardware description.

Credits

This is built on the work done by Sean Cross (xobs) for fomu-toolchain, which was built on the original work by FPGAWars:

Development

Build:

bash build.sh linux_x86_64

Clean:

bash clean.sh linux_x86_64

Target architectures:

  • linux_x86_64
  • windows_amd64
  • darwin

Final packages will be deployed in the _packages/build_ARCH/ directories.

NOTE: libftdi1.a and libusb-1.0.a files have been generated for Linux using the Tools-system scripts to allow static linking without a dependency on libudev (which is part of systemd and doesn't make for very portable binaries).

License

Licensed under a GPL v3 and Creative Commons Attribution-ShareAlike 4.0 International License.