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

This is a summary, for more information see the README in the package directory.

Installation from a Package Distribution

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
#sudo apt-get install libfl2  # Ubuntu only (ignore if gives error)
#sudo apt-get install libfl-dev  # Ubuntu only (ignore if gives error)
git clone http://git.veripool.org/git/verilator   # Only first time
## Note the URL above is not a page you can see with a browser, it's for git only

# 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 master      # Use development branch (e.g. recent bug fix)
#git checkout stable      # Use most recent release
#git checkout v{version}  # Switch to specified release version
autoconf        # Create ./configure script
./configure
make
sudo make install
# Now see "man verilator" or online verilator.pdf's for the example tutorials

For other options, including running Verilator without having to install it, see the README in the Verilator kit.

Building from Tarball

First, download the file below (sources included):

verilator-4.016.tgz (2MB, Jun 16 2019)
verilator-4.014.tgz (2MB, May 09 2019)

Then 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
# Now see "man verilator" or online verilator.pdf's for the example tutorials

Running Verilator

To run Verilator, see the example sections in the Manual-verilator.

Also see the examples/ directory that is part of the kit, and is installed (in a OS specific place often in /usr/local/share/verilator/examples).

Note if you did a "make install" above you should not have VERILATOR_ROOT set in your environment; it is built into the executable.

Announcements

To get notified of new releases, login, and click the "watch" button near the top right under News.