There will not be any new features or improvements to this package. New builds are still being automatically generated for now (Linux/OS X only) but it is likely at some point something will break and the builds will stop.
I recommend taking a look at oss-cad-suite-build for a similar package which is actively maintained by YosysHQ.
A more detailed list of various alternative packagings of these tools with various advantages and disadvantages can be found here.
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.
- Download an archive matching your OS from the releases page.
- Extract the archive to a location of your choice
- Add the
bin
folder to yourPATH
:
MacOS and Linux: export PATH="<extracted_location>/fpga-toolchain/bin:$PATH"
Windows Powershell: $ENV:PATH = "<extracted_location>\fpga-toolchain\bin;" + $ENV:PATH
Windows cmd.exe: PATH=<extracted_location>\fpga-toolchain\bin;%PATH%
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).
These builds should work for macOS 10.10 or newer - please report a bug if you have issues!
If you see errors about missing libraries (.so
/.dll
/.dylib
) please report them in an issue here.
If you would like to use the experimental GHDL Yosys plugin for VHDL on Linux or MacOS, you will
need to set the GHDL_PREFIX
environment variable. e.g. export GHDL_PREFIX=<install_dir>/fpga-toolchain/lib/ghdl
. On Windows this is not necessary.
If you are using an existing Makefile set up for ghdl-yosys-plugin and see ERROR: This version of yosys is built without plugin support
you probably need to remove -m ghdl
from your yosys parameters. This is because the plugin is typically loaded from a separate file but it is provided built into yosys in this package.
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 #yosyshq
channel on 1BitSquared's Discord server.
For portable WASM builds of these tools, check out YoWASP. Also check out nMigen for a powerful python-based approach to hardware description.
This is built on the work done by Sean Cross (xobs) for fomu-toolchain, which was built on the original work by FPGAWars:
Contributions are welcome, see DEVELOPMENT.md for guidelines and technical details.
Licensed under a GPL v3 and Creative Commons Attribution-ShareAlike 4.0 International License.