resources: Added riscv-tests

This is also the initial commit that includes the README.md file and the
Makefile
412 files changed
tree: 3351353aee5c6d4ede3396cff6506e07e0b1afee
  1. src/
  2. Makefile
  3. README.md
README.md

gem5 Resources

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.

Resource: RISCV Tests

Origin: https://github.com/riscv/riscv-tests.git

Revision: 19bfdab48c2a6da4a2c67d5779757da7b073811d

Local: src/riscv-tests

Dependencies

The RISCV Tests requires the following dependencies:

RISC-V GNU Compiler Toolchain

Prerequisites

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

Installation

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.

Compilation

make riscv-tests

The output of this compilation can be found at dist/current/test-progs/riscv-tests/

Licencing

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.

  • riscv-tests : src/riscv-tests/LICENSE.