This repository contains the sources needed to compile the gem5 resources. Outlined in the following sections are build instructions for each of our gem5 resources.
dist/current/test-progs/riscv-tests/median.riscv
can be found at http://dist.gem5.org/dist/current/test-progs/riscv-tests/median.riscv.Origin: https://github.com/riscv/riscv-tests.git
Revision: 19bfdab48c2a6da4a2c67d5779757da7b073811d
Local: src/riscv-tests
The RISCV Tests requires the following dependencies:
sudo apt-get install autoconf automake autotools-dev curl python3 libmpc-dev \ libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool \ patchutils bc zlib1g-dev libexpat-dev
git clone --recursive https://github.com/riscv/riscv-gnu-toolchain cd riscv-gnu-toolchain ./configure --prefix=/opt/riscv sudo make
Ensure /opt/riscv/bin
is added to PATH.
make riscv-tests
The output of this compilation can be found at dist/current/test-progs/riscv-tests/
The Insttests require the follwing dependencies:
git clone --recursive https://github.com/riscv/riscv-gnu-toolchain cd riscv-gnu-toolchain ./configure --prefix=/opt/riscv --enable-multilib sudo make linux
Ensure /opt/riscv/bin
is appeneded to the PATH environment variable
make insttests
The output of this compilation can be found in dist/current/test-progs/insttest/bin/riscv/linux/
Each project under the src
is under a different license. Before using any compiled binary, or modifying any source, please consult the corresponding project's license.
src/riscv-tests/LICENSE
.src/insttests
.