Go to file
2022-11-05 21:09:36 +01:00
.settings updates submodules to actual versions 2022-11-05 21:09:36 +01:00
cmake cleanup 2020-05-30 14:18:28 +02:00
dbt-rise-core@061b78825a updates submodules to actual versions 2022-11-05 21:09:36 +01:00
dbt-rise-riscv@a16bf4f375 updates submodules to actual versions 2022-11-05 21:09:36 +01:00
etc update project settings 2020-12-21 07:02:36 +00:00
external updates submodules to actual versions 2022-11-05 21:09:36 +01:00
html Back-ported DVCon turorial changes 2018-11-12 19:36:44 +01:00
platform updates submodules to actual versions 2022-11-05 21:09:36 +01:00
scc@8785c03bd8 updates submodules to actual versions 2022-11-05 21:09:36 +01:00
.clang-format Added clang-format formatting 2017-09-25 22:29:21 +02:00
.cproject updates submodules to actual versions 2022-11-05 21:09:36 +01:00
.gitignore updates submodules to actual versions 2022-11-05 21:09:36 +01:00
.gitmodules changed submodule references 2022-04-09 12:31:54 +02:00
.project update project settings 2020-12-21 07:02:36 +00:00
build.sh Moved to cmake4eclipse builder 2018-04-06 01:44:07 +02:00
CMakeLists.txt updates submodules to actual versions 2022-11-05 21:09:36 +01:00
cycles.txt Made plugin call configurable 2018-04-24 23:12:07 +02:00
Jenkinsfile update Jenkinsfile 2021-09-18 16:39:06 +02:00
LICENSE Initial commit 2017-08-27 13:04:48 +02:00
README.md updates submodules to actual versions 2022-11-05 21:09:36 +01:00
system.json updates submodules to actual versions 2022-11-05 21:09:36 +01:00

HIFIVE1-VP

An instruction set simulator based on DBT-RISE implementing the RISC-V ISA. The project is hosted at https://github.com/Minres/HIFIVE1-VP.

HIFIVE1-VP README

This is work in progress, so use at your own risk. Goal is to implement an open-source ISS which can easily embedded e.g. into SystemC Virtual Prototypes. It uses code generation to allow easy extension and adaptation of the used instruction. Please see also https://github.com/Minres/DBT-RISE-RISCV The RISC-V ISS reaches about 65MIPS running on a decent Intel Processor.

HIFIVE1-VP uses libGIS (https://github.com/vsergeev/libGIS) under MIT license

Setup steps

prepare Ubuntu 18.04/20.04

sudo apt-get install -y git python3-pip build-essential cmake libloki-dev zlib1g-dev libncurses5-dev \	
    libboost-dev libboost-program-options-dev libboost-system-dev libboost-thread-dev llvm-dev llvm-doc
pip3 install --user conan

prepare Fedora 28

#prepare system
dnf install @development-tools gcc-c++ boost-devel zlib-devel loki-lib-devel cmake python2 python3 llvm-devel llvm-static
#install conan
pip3 install --user conan
export PATH=${PATH}:$HOME/.local/bin

Build the ISS

# checkout source from git: 
git clone --recursive https://github.com/Minres/HIFIVE1-VP.git
# build ISS:
cd HIFIVE1-VP
cmake -S . -B build
cmake --build build -j8

Build the ISS

build/platform/src/riscv-vp <elf file> -v4 -m 500ms