[LLVMdev] LLVM and VHDL simulation
Dio Gratia
diogratia at gmail.com
Mon Nov 5 14:08:38 PST 2012
Baggett Jonas <Jonas.Baggett <at> hefr.ch> writes:
>
> Hi,
>
> I am wondering if someone knows about a VHDL simulator (maybe still in early
developpement) that use LLVM in
> its compilation process.
http://github.com/nickg/nvc
NVC is a GPLv3 VHDL compiler and simulator
See these posts for more information:
http://www.doof.me.uk/2011/11/05/writing-a-vhdl-compiler/
http://www.doof.me.uk/2012/04/15/vhdl-compiler-improvements/
To build from a Git clone:
./autogen.sh
mkdir build && cd build
../configure
make
make install
To use a specific version of LLVM add
--with-llvm=/path/to/llvm-config
to the configure command. LLVM 3.0 or later is required.
To run the regression tests:
make check
Note you may need to install additional Ruby libraries:
gem install colorize getopt
To recompile the standard libraries:
make -C lib clean
make bootstrap
Note this happens automatically when installing.
More information about the llvm-dev
mailing list