This installation guide will provide users instructions on installing all of the necessary system depdendecies to utilize the Chisel HDL environment on your respective system. This includes installation of Scala, Verilator and other system packages.
- Java JDK
- git
- make
- autoconf
- g++
- flex
- bison
- perl-doc (for Verilator help menu)
The Scala and Verilator (3.922) are not included in the default package repositories. As a result, we are forced to utilize external package repositories for the Scala packages and build Verilator from source.
- Install system packages
sudo apt-get install git make autoconf g++ flex bison perl-doc
- Install SBT
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 642AC823
sudo apt-get update
sudo apt-get install sbt
- Install Verilator 3.922 from source
git clone http://git.veripool.org/git/verilator
cd verilator
git pull
git checkout verilator_3_922
unset VERILATOR_ROOT
autoconf
./configure
make
sudo make install
The Scala and Verilator (3.922) are not included in the default package repositories. As a result, we are forced to utilize external package repositories for the Scala packages and build Verilator from source.
- Install the system packages
sudo yum install git make autoconf g++ flex bison perl-doc
- Install SBT
curl https://bintray.com/sbt/rpm/rpm | sudo tee /etc/yum.repos.d/bintray-sbt-rpm.repo
sudo yum install sbt
- Install Verilator 3.922 from source
git clone http://git.veripool.org/git/verilator
cd verilator
git pull
git checkout verilator_3_922
unset VERILATOR_ROOT
autoconf
./configure
make
sudo make install
The Darwin (OSX) installation is currently tested on 10.13.6. However,
these build steps are also known to work on older versions of Darwin providing
that the necessary packages are installed. For this installation, we use the
HomeBrew package manager in order to fulfill all the necessary system
dependencies.
- Install Scala and Verilator
brew install sbt verilator
- John Leidel - Chief Scientist - Tactical Computing Labs
- Frank Conlon - Research Engineer - Tactical Computing Labs
- David Donofrio - Chief Hardware Architect - Tactical Computing Labs
- These instructions are derived from the Chisel installation guide located at: https://github.com/freechipsproject/chisel3/#installation