Abekta

Nothing human is alien to me

User Tools

Site Tools


GHDL

GNU Hardware Description Language, an open-source version of VHDL.

Installation Ubuntu 18.04

sudo apt update
sudo apt install -y git make gnat zlib1g-dev
git clone https://github.com/ghdl/ghdl
cd ghdl
./configure --prefix=/usr/local
make
sudo make install
echo "$0: All done!"

Hello world

--  Hello world program
use std.textio.all; -- Imports the standard textio package.
 
--  Defines a design entity, without any ports.
entity hello_world is
end hello_world;
 
architecture behaviour of hello_world is
begin
  process
    variable l : line;
  begin
    write (l, String'("Hello world!"));
    writeline (output, l);
    wait;
  end process;
end behaviour;
soft/ghdl.txt · Last modified: 2023/03/13 08:56 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki