Go to file
Eyck Jentzsch eae2095faa Updated reference 2019-06-28 22:44:29 +02:00
.settings Adapted generated code to support translation block linking 2018-05-15 18:50:11 +02:00
cmake Bumped SystemC version 2019-06-15 20:21:50 +00:00
dbt-core@dd900f0105 Merge branch 'master' of https://git.minres.com/VP/RISCV.git 2019-06-28 22:43:24 +02:00
etc Enhanced CLI parsing to allow non-option values 2019-06-15 20:23:01 +00:00
external Merge branch 'master' of https://git.minres.com/VP/RISCV.git 2019-06-28 22:43:24 +02:00
html Back-ported DVCon turorial changes 2018-11-12 19:36:44 +01:00
platform Merge branch 'master' of https://git.minres.com/VP/RISCV.git 2019-06-28 22:43:24 +02:00
riscv@e999d95623 Updated reference 2019-06-28 22:44:29 +02:00
scc@2fd0f2c07f Merge branch 'master' of https://git.minres.com/VP/RISCV.git 2019-06-28 22:43:24 +02:00
.clang-format Added clang-format formatting 2017-09-25 22:29:21 +02:00
.cproject Fixed clint interrupt method invokation 2019-06-28 20:59:16 +02:00
.gitignore Moved to cmake4eclipse builder 2018-04-06 01:44:07 +02:00
.gitmodules Reorganized repo layout 2019-06-11 19:26:49 +00:00
.project Reorganized repo layout 2019-06-11 19:26:49 +00:00
CMakeLists.txt Cleanup dependencies 2019-06-18 19:21:51 +00:00
LICENSE Initial commit 2017-08-27 13:04:48 +02:00
README.md Updated SC-Components 2019-04-11 05:40:02 +00:00
build.sh Moved to cmake4eclipse builder 2018-04-06 01:44:07 +02:00
conanfile.txt Bumped scc 2019-06-15 20:50:42 +00:00
cycles.txt Made plugin call configurable 2018-04-24 23:12:07 +02:00
system.json Changed name to get consistent 2018-11-12 19:36:44 +01:00

README.md

DBT-RISE-RISCV

Am instruction set simulator based on DBT-RISE implementing the RISC-V ISA. The project is hosted at https://git.minres.com/DBT-RISE/DBT-RISE-RISCV .

DBT-RISE-RISCV 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 used code generation to allow easy extension and adaptation of the used instruction. The RISC-V ISS reaches about 30MIPS running on Intel Core i7-2600K.

The implementation is based on LLVM 4.0. Eclipse CDT 4.7 (Oxygen) is recommended as IDE.

DBT-RISE-RISCV uses libGIS (https://github.com/vsergeev/libGIS) as well as ELFIO (http://elfio.sourceforge.net/), both under MIT license

Planned features

  • add platform peripherals beyond programmers view to resemble E300 platform
    • ...
  • and more

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 DBT-RISE-RiscV
    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://github.com/Minres/DBT-RISE-RISCV.git
    cd DBT-RISE-RISCV/
    git checkout develop
    mkdir build;cd build
    MAKE_FLAGS="-j4" cmake ..
    make -j4