Releases and sources¶
Contents of this Page
Package managers of many popular distributions provide pre-built packages of GHDL. This is the case for apt (Debian/Ubuntu), dnf (Fedora/CentOS) or pacman (Arch Linux). Since GHDL supports three different backends and two library sets (ieee or openieee), at least six packages with different features might be available in each package manager. See differences between backends in Building GHDL from Sources.
Assets from nightly GHDL builds are available at github.com/ghdl/ghdl/releases/nightly. These are mostly meant to be used in Continuous Integration (CI) workflows. Precisely, setup-ghdl-ci allows to easily setup nightly assets in GitHub Actions workflows.
Furthermore, assets from stable builds are available for a larger set of platforms:
Pre-built packages of older releases
All the following procedures will retrieve the latest development version of GHDL, i.e., the master branch at github.com/ghdl/ghdl. We do our best to keep it stable, but bugs can seldom be published. See HINT boxes below for instructions to get older releases.
GHDL can be downloaded as a zip-file or tarball from GitHub. See the following table, to choose your desired format/version:
To download a specific version of GHDL, use this alternative URL, where
GHDL can be downloaded (cloned) with
git clone from GitHub. GitHub offers
the transfer protocols HTTPS and SSH. You should use SSH if you have a GitHub
account and have already uploaded an OpenSSH public key to GitHub, otherwise
use HTTPS if you have no account or you want to use login credentials.
|Protocol||GitHub Repository URL|
git checkout -b stable <tag> after
git clone, to checkout a specific version of GHDL.
Command line instructions to clone GHDL with HTTPS protocol:
cd GitRoot git clone "https://github.com/ghdl/ghdl.git" ghdl cd ghdl git remote rename origin github
Command line instructions to clone GHDL with SSH protocol:
cd GitRoot git clone "ssh://email@example.com:ghdl/ghdl.git" ghdl cd ghdl git remote rename origin github
Executing the following instructions in Windows Command Prompt (cmd.exe) won’t function or will result in errors! All Windows command line instructions are intended for Windows PowerShell, if not marked otherwise. Windows PowerShell can be installed or upgraded to v5.1 by installing the Windows Management Framework.