How to Install and Uninstall ghdl Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 15,2024

1. Install "ghdl" package

Please follow the instructions below to install ghdl on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install ghdl

2. Uninstall "ghdl" package

This guide covers the steps necessary to uninstall ghdl on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove ghdl $ sudo apt autoclean && sudo apt autoremove

3. Information about the ghdl package on Ubuntu 21.04 (Hirsute Hippo)

Package: ghdl
Architecture: amd64
Version: 1.0.0+dfsg-1
Priority: optional
Section: universe/electronics
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Electronics Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 10
Depends: ghdl-common (= 1.0.0+dfsg-1), ghdl-mcode | ghdl-gcc | ghdl-llvm
Suggests: gtkwave
Filename: pool/universe/g/ghdl/ghdl_1.0.0+dfsg-1_amd64.deb
Size: 1724
MD5sum: 7e27f8d8008b01b17919dfc63f38ffb7
SHA1: 26a20be5fe5753c51915a07a3c8892145d239df9
SHA256: 3b4da85ad603fcb43985d018db7133bae6812eea38d516fad4015fc05e0862f4
SHA512: 948ccfa8d48ad3af272e0615beb89045abfa764b38ec85b891e1f00a3031776c39c48a825b2e9c0a5267396750260faf7f3e5a650b944fd87a6c294252156a80
Homepage: https://github.com/ghdl/ghdl
Description-en: VHDL compiler/simulator
GHDL is a compiler and simulator for VHDL, a Hardware Description Language.
GHDL is not an interpreter: it allows you to analyse and elaborate sources to
generate machine code from your design. Native program execution is the only
way for high speed simulation.
.
GHDL offers three machine code generation backends: one based on GCC, one
using the LLVM compiler suite and a GHDL specific one called mcode. These are
available in the ghdl-gcc, ghdl-llvm and ghdl-mcode packages respectively.
Both the GCC and LLVM backends create highly optimized code for excellent
simulation performance while simulations compiled with the GCC backend also
allow coverage testing using gcov. The mcode backend creates less performant
code but makes up for it with much faster compilation. It is therefore
preferable for smaller projects without large or long running simulations.
.
Multiple backends can be installed at the same time and selected by either
invoking the desired GHDL directly (as ghdl-gcc, ghdl-llvm or ghdl-mcode) or
by providing a GHDL_BACKEND environment variable (containing gcc, llvm or
mcode) while invoking ghdl.
.
This package is a dependency package that will make sure at least one backend
is installed.
Description-md5: 898aa78eff5e5684d36c1b7162717375