Go to file
Eyck Jentzsch 7db3720739
Update Jenkinsfile
2023-12-02 10:12:28 +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@4ccf927faa fixes compiler warning 2022-11-06 18:05:42 +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
CMakeLists.txt changes order of conan packages 2022-11-06 22:29:26 +01:00
Jenkinsfile Update Jenkinsfile 2023-12-02 10:12:28 +01: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
build.sh Fixes build script option 2023-05-06 11:07:39 +02:00
cycles.txt Made plugin call configurable 2018-04-24 23:12:07 +02:00
system.json updates submodules to actual versions 2022-11-05 21:09:36 +01:00

README.md

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