Chisel Bootcamp
Jonathan Bachrach
EECS UC Berkeley
March 11, 2015
Goals for Bootcamp
1
get you started with Chisel
get a basic working knowledge of Chisel
learn how to think in Chisel
know where to get more information
Bootcamp Chisel Installation
2
-Install VirtualBox
-File->Import appliance, chisel-vm.ova
-Start
-Login (username: chisel-bootcamp, password: chisel)
-GTKWave, Emacs, etc. all installed
Development Tool Installation
3
MacOSX:
Install XCODE, including console tools.
Linux:
To prepare your Linux platform for Chisel, you will need to install the
following packages:
g++
openjdk-7-jre
using
sudo apt-get install
Getting the Chisel Tutorial
4
git clone https://github.com/ucb-bar/chisel-tutorial.git
cd chisel-tutorial
Chisel Tutorial Contents
5
chisel-tutorial/
Makefile
examples/
# Contains chisel examples
Makefile
build.sbt # Contains project description
FullAdder.scala ...
problems/
# Contains skeletal files for tutorial problems
Makefile
build.sbt # Contains project description
Accumulator.scala ...
solutions/ # Contains solutions to problems
Makefile
build.sbt # Contains project description
Counter.scala ...
Test It
cd $TUT_DIR
make
6
If your system is set up correctly, you should see a messsage [success]
followed by the total time of the run, and date and time of completion.
Get This
7
chisel.eecs.berkeley.edu/chisel-bootcamp.pdf