1.4. Quick-start

The best way to get started with the BOOM core is to use the BOOM project template located in the main GitHub organization. There you will find the main steps to setup your environment, build, and run the BOOM core on a C++ emulator. Here is a selected set of steps from that repositories README:

Listing 1.1 Quick-Start Code
# Download the template and setup environment
git clone https://github.com/riscv-boom/boom-template.git
cd boom-template

# You may want to add the following two lines to your shell profile
export RISCV=/path/to/install/dir
export PATH=$RISCV/bin:$PATH

cd boom-template

cd verisim
make run

Note: Listing 1.1 assumes you have don’t have installed the riscv-tools toolchain. It will pull and build the toolchain for you.