|
3 months ago | |
---|---|---|
.settings | 2 years ago | |
cmake | 9 months ago | |
dbt-core@d87dfff430 | 6 months ago | |
etc | 1 year ago | |
external | 10 months ago | |
html | 2 years ago | |
platform | 6 months ago | |
riscv@18976e2ce4 | 8 months ago | |
scc@529cb29a48 | 8 months ago | |
.clang-format | 3 years ago | |
.cproject | 6 months ago | |
.gitignore | 10 months ago | |
.gitmodules | 1 year ago | |
.project | 1 year ago | |
CMakeLists.txt | 6 months ago | |
Jenkinsfile | 6 months ago | |
LICENSE | 3 years ago | |
README.md | 3 months ago | |
build.sh | 2 years ago | |
conanfile.txt | 6 months ago | |
cycles.txt | 2 years ago | |
system.json | 2 years ago |
An instruction set simulator based on DBT-RISE implementing the RISC-V ISA. The project is hosted at https://git.minres.com/VP/RISCV-VP.
RISCV-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://git.minres.com/DBT-RISE/DBT-RISE-RISCV The RISC-V ISS reaches about 65MIPS running on a decent Intel Processor.
The implementation is based on LLVM > v4.0. Eclipse CDT 4.7 (Oxygen) is recommended as IDE.
RISCV-VP uses libGIS (https://github.com/vsergeev/libGIS) as well as ELFIO (http://elfio.sourceforge.net/), both under MIT license
Quick start
pip install conan
conan profile new default --detect --force
conan profile update settings.compiler.libcxx=libstdc++11 default
conan remote add minres https://api.bintray.com/conan/minres/conan-repo
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
compiler.libcxx=libstdc++11
in $HOME/.conan/profiles/default
Detailed 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://git.minres.com/VP/HIFIVE1-VP.git
# build ISS:
cd HIFIVE1-VP
mkdir build;cd build
MAKE_FLAGS="-j4" cmake ..
make -j4