Go to file
Eyck Jentzsch 25b1be719e switches to FST tracing 2024-07-24 06:51:29 +02:00
.launch adds some minor (mostly cosmetic) fixes 2024-07-05 12:20:07 +02:00
.vscode checkin, builds 2024-01-29 16:54:06 +01:00
fw updating components 2024-07-05 09:56:28 +02:00
pysysc Update gitpod_install.sh 2023-11-30 10:56:40 +01:00
scc@ebfa47becc adds some minor (mostly cosmetic) fixes 2024-07-05 12:20:07 +02:00
src switches to FST tracing 2024-07-24 06:51:29 +02:00
tgc-iss adds some minor (mostly cosmetic) fixes 2024-07-05 12:20:07 +02:00
vpvper@021f845cfe adds some minor (mostly cosmetic) fixes 2024-07-05 12:20:07 +02:00
.clang-format updates submodules and does some cleanup if directory structure 2023-10-21 17:26:51 +02:00
.cproject update tracer setup 2023-11-20 17:45:27 +01:00
.envrc updating components 2024-07-05 09:56:28 +02:00
.gitignore updating components 2024-07-05 09:56:28 +02:00
.gitmodules adds bsp as submodule 2024-04-15 12:39:48 +02:00
.gitpod.Dockerfile initial commit 2022-04-11 09:22:28 +02:00
.gitpod.yml Merge branch 'develop' into main 2023-12-02 14:21:27 +01:00
.project initial commit 2022-04-11 09:22:28 +02:00
.pydevproject initial commit 2022-04-11 09:22:28 +02:00
CMakeLists.txt updating components 2024-07-05 09:56:28 +02:00
Jenkinsfile corrects upper-/lower-case 2023-12-02 14:32:05 +01:00
LICENSE initial commit 2022-04-11 09:22:28 +02:00
Modulefile switches to FST tracing 2024-07-24 06:51:29 +02:00
README.md updating components 2024-07-05 09:56:28 +02:00
requirements.txt updating components 2024-07-05 09:56:28 +02:00

README.md

TGC-VP

The Scale4Edge ecosystem VP using VP-VIBES peripherals.

This VP is based in MINRES TGC series cores and uses CoreDSL to generate the concrete ISS of a particular ISA + extensions. The generator approach makes it very flexible and adaptable. Since the CoreDSL description is used to generate RTL as well as verification artifacts it provides a comprehensive and consistent solution to develop processor cores.

Ultra Quick start

Using gitpod you can run the VP in the cloud. Just visit Gitpod.io and follow the instructions. After the build finished you can run

build/src/tgc-vp -f fw/hello-world/prebuilt/hello.elf

or use ctest:

cd build
ctest

You will see on console the prints of the hello world firmware at fw/hello-world/hello.c

Open in Gitpod

Quick start

  • you need to have a C++14 capable compiler, make, python, and cmake installed

  • install conan.io (see also http://docs.conan.io/en/latest/installation.html):

    pip3 install --user 'conan<2.0'
    

    Installing conan for the first time you need to create a profile:

    conan profile create default --detect
    
  • checkout source from git

    git clone --recursive -b develop https://github.com/Minres/TGC-VP.git 
    
  • start an out-of-source build:

    cd TGC-VP
    cmake -S . -B build
    cmake --build build -j tgc-vp
    
  • run the VP with pre-built firmware

    ctest
    

    or

    src/tgc-vp -f fw/hello-world/prebuild/hello.elf 
    

To rebuild the firmware you need to install a RISC-V toolchain like https://github.com/riscv/riscv-tools.

Windows/Visual Studio build

TGC-VP supports VS2019/MSVC 16 and has been tested only with this version

Prerequisites

You need to have to following installed:

  • Visual Studio 2019 (community edition is sufficient) with C/C++ support
  • Python 3.6 or newer
  • Conan (https://conan.io/) version 1.36 or newer. If python is installed this can be installed using pip (see above in Quick start)

build step

Create a project at the location of the git workarea. This can be done

devenv <path to checkout>

The build steps are as described in the VS documentation for CMake based projects.