參考資訊:
https://github.com/ghdl/ghdl
$ sudo apt-get install gnat
$ cd
$ git clone https://github.com/ghdl/ghdl --recursive
$ cd ghdl
$ ./configure
$ make -j4
$ sudo make install
$ ghdl --version
GHDL 5.0.0-dev (4.1.0.r466.gea6a2fb29) [Dunoon edition]
Compiled with GNAT Version: 12.2.0
static elaboration, mcode JIT code generator
Written by Tristan Gingold.
Copyright (C) 2003 - 2024 Tristan Gingold.
GHDL is free software, covered by the GNU General Public License. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.