微處理器 - Lattice iCE40LP1K-CM36 (iCESugar-nano) - Build ghdl



參考資訊:
https://github.com/ghdl/ghdl

$ sudo apt-get install llvm llvm-dev clang gnat libftdi-dev

$ cd
$ git clone https://github.com/ghdl/ghdl --recursive
$ cd ghdl
$ ./configure --with-llvm-jit
$ make -j4
$ sudo make install
$ ghdl --version
    GHDL 6.0.0-dev (5.1.1.r543.g9a57e09da) [Dunoon edition]
     Compiled with GNAT Version: 12.2.0
     static elaboration, LLVM JIT code generator
    Written by Tristan Gingold.

    Copyright (C) 2003 - 2026 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.