You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Eyck Jentzsch d7772b5b05 Merge branch 'master' of https://git.minres.com/VP/RISCV-VP.git 4 months ago
.settings Adapted generated code to support translation block linking 2 years ago
cmake cleanup 4 months ago
dbt-core@715ffe5e74 update submodule pointers 4 months ago
etc Updated submodules 9 months ago
external [WIP] integrate tcc via conan pkg 6 months ago
html Back-ported DVCon turorial changes 1 year ago
platform update submodule pointers 4 months ago
riscv@edeff7add8 update submodule pointers 4 months ago
scc@01458535fa update submodule pointers 4 months ago
.clang-format Added clang-format formatting 3 years ago
.cproject Moved dbt-core and riscv submodules 9 months ago
.gitignore [WIP] implement basic infrastructure 6 months ago
.gitmodules Reorganized repo layout 1 year ago
.project Adapted to latest changes in SCC and DBT_RISE(-RISCV) repos 10 months ago
CMakeLists.txt modernize build system and cleanup dependencies 4 months ago
LICENSE Initial commit 3 years ago
README.md „README.md“ ändern 6 months ago
build.sh Moved to cmake4eclipse builder 2 years ago
conanfile.txt [WIP] implement basic infrastructure 6 months ago
cycles.txt Made plugin call configurable 2 years ago
system.json Changed name to get consistent 1 year ago

README.md

RISCV-VP

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
  • setup conan to use the minres repo:
    conan remote add minres https://api.bintray.com/conan/minres/conan-repo
    conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
  • checkout source from git
  • start an out-of-source build:
    cd RISCV-VP
    mkdir build
    cd build
    cmake ..
    cmake --build .
  • if you encounter issues when linking wrt. c++11 symbols you might have run into GCC ABI incompatibility introduced from GCC 5.0 onwards. You can fix this by adding '-s compiler.libcxx=libstdc++11' to the conan call or changing compiler.libcxx to
compiler.libcxx=libstdc++11

in $HOME/.conan/profiles/default

Detailed Setup steps

prepare Ubuntu 18.04

    sudo apt-get install -y git python-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
    pip 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

    # configure conan
    conan remote add minres https://api.bintray.com/conan/minres/conan-repo
    conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
    conan profile new default --detect
    # clone and build DBT-RISE-RISCV
    git clone --recursive https://git.minres.com/VP/RISCV-VP.git
    cd RISCV-VP/
    git checkout develop
    git submodule update --recursive
    mkdir build;cd build
    MAKE_FLAGS="-j4" cmake ..
    make -j4