Skip to content

Fliqqr/shift-riscv

Repository files navigation

Technical Documentation

This section provides detailed instructions on how to configure, build, and run the project. The project is designed for simulation and testing in a RISC-V environment using Rust, FreeRTOS, and the Hardisc fault injection framework.

Prerequisites

Before building or running the project, ensure the following software and toolchains are installed and properly configured:

Configuration and Setup

  1. Open the provided Makefile in the project files and update the following paths:
  • MODELSIM - Set to the installation path of ModelSim.
  • HARDISC - Set to the path where Hardisc is cloned and built.
  1. Set Rust to use the nightly toolchain: rustup default nightly

  2. Install the RISC-V target for Rust: rustup target add riscv32imac-unknown-none-elf

  3. Download the FreeRTOS-Kernel submodule: git submodule update --init --recursive

Compilation and Simulation

  1. To compile the project: make

    (The compiled binary and object dump can be found in the /target folder.)

  2. To run the simulation: make sim

About

Software implement fault tolerance for RISC-V platform in Rust. Source code for bachelor thesis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors