Project

General

Profile

[logo] 
 
Home
News
Activity
About/Contact
Major Tools
  Dinotrace
  Verilator
  Verilog-mode
  Verilog-Perl
Other Tools
  BugVise
  CovVise
  Force-Gate-Sim
  Gspice
  IPC::Locker
  Rsvn
  SVN::S4
  Voneline
  WFH
General Info
  Papers

Installing Verilator

Installation from a Package Distribution

Verilator should run any system with GCC and Perl. It is developed on 64-bit Ubuntu and other users report success on Redhat Linux, OpenSUSE, HPUX, Solaris, and Windows NT under Cygwin (C++ only, no SystemC), and Microsoft Visual C++.

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.

Building from git

Building from the raw git sources is somewhat more work than using a tarball (below), but makes it easier to change the sources. To build from git:

#sudo apt-get install git make autoconf g++ flex bison   # First time prerequisites
git clone http://git.veripool.org/git/verilator   # Only first time

# Each build:
unsetenv VERILATOR_ROOT  # For csh; ignore error if on bash
unset VERILATOR_ROOT  # For bash
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
./configure
make
sudo make install

Building from Tarball

  • Download (sources included)

verilator-3.906.tgz (1MB, Jun 22 2017)
verilator-3.904.tgz (1MB, May 31 2017)

  • 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
sudo make install