Skip to content

Instantly share code, notes, and snippets.

@brabect1
Last active November 22, 2015 19:31
Show Gist options
  • Save brabect1/49d3dbd740c7d7f19fa4 to your computer and use it in GitHub Desktop.
Save brabect1/49d3dbd740c7d7f19fa4 to your computer and use it in GitHub Desktop.
Experiments with GHDL (Ubuntu 14.04)

Installation

apt-get install libc-dev libz-dev
apt-get install libgnat-4.8

Install from http://sourceforge.net/p/ghdl-updates/wiki/Debian%20Instructions/

wget http://downloads.sourceforge.net/project/ghdl-updates/Builds/ghdl-0.33/debian/ghdl_0.33-1ubuntu1_amd64.deb
sudo dpkg -i ghdl_0.33-1ubuntu1_amd64.deb

Test with which ghdl

Quick Start

Some links to get you going ... *** TBD *** expand into an example

ghdl -i --ieee=synopsys --warn-no-vital-generic --workdir=simu --work=work example.vhd
ghdl -m --ieee=synopsys --warn-no-vital-generic --workdir=simu --work=work hello_world
./hello_world
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment