Installing Verilator¶
Download¶
verilator-3.847.tgz (1MB, May 11 2013)
verilator-3.846.tgz (1MB, Mar 12 2013)
verilator-3.845.tgz (1MB, Feb 05 2013)
verilator-3.846.tgz (1MB, Mar 12 2013)
verilator-3.845.tgz (1MB, Feb 05 2013)
All kits include full sources.
Distributions¶
Many Linux Distributions include Verilator, though rarely the most recent release. For example, on Ubuntu, use "apt-get install verilator". RPMs are also available for SuSE and Fedora systems. Search for Verilator at PBone.
Repository¶
Alternatively, you can get the entire development repository with:
git clone http://git.veripool.org/git/verilator # Only first time
cd verilator
git pull # Make sure we're up-to-date
git tag # See what versions exist
#git checkout HEAD # Use HEAD development version
#git checkout verilator_{version} # Switch to specified version
autoconf # Create ./configure script
Prerequisites¶
Verilator should run any system with GCC and Perl. It is developed on 64-bit SuSE 9.3 and other users report success on Redhat Linux, HPUX, Solaris, and Windows NT under Cygwin (C++ only, no SystemC), and Microsoft Visual C++.
Installation¶
- Install Verilog-Perl (Optional, for coverage analysis)
- Install SystemPerl (Optional, for coverage analysis)
- Please see the README in the Verilator kit. One build option is the standard GNU method:
#sudo apt-get install make autoconf g++ flex bison # Prerequisites unsetenv VERILATOR_ROOT # For csh; ignore error if on bash unset VERILATOR_ROOT # For bash tar xvzf verilator*.t*gz cd verilator* ./configure make make install
![[logo]](/img/veripool_small.png)