updating components

This commit is contained in:
2024-07-05 07:55:50 +02:00
parent 982e5e9a13
commit 8abf623c63
10 changed files with 16 additions and 49 deletions

View File

@@ -12,7 +12,6 @@ Using gitpod you can run the VP in the cloud. Just visit [Gitpod.io](https://www
and follow the instructions. After the build finished you can run
```
build/src/tgc-vp -f fw/hello-world/prebuilt/hello.elf
```
@@ -20,7 +19,6 @@ build/src/tgc-vp -f fw/hello-world/prebuilt/hello.elf
or use ctest:
```
cd build
ctest
@@ -38,61 +36,39 @@ You will see on console the prints of the hello world firmware at fw/hello-world
* install conan.io (see also http://docs.conan.io/en/latest/installation.html):
```
pip3 install --user conan
pip3 install --user 'conan<2.0'
```
It is advised to use conan version 1.36 or newer. In case of an older version please run
```sh
pip3 install --user --upgrade conan
```
Installing conan for the first time you need to create a profile:
```
conan profile create default --detect
```
* checkout source from git
```sh
git clone --recursive -b develop https://github.com/Minres/TGC-VP.git
```
* start an out-of-source build:
```
cd TGC-VP
mkdir build
cd build
cmake ..
make -j 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
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.
@@ -107,8 +83,6 @@ You need to have to following installed:
* Visual Studio 2019 (community edition is sufficient) with C/C++ support
* Python 3.6 or newer
* SystemC 2.3.3 and SystemC-CCI 1.0.0. Both should be installed into the same location and the
environment variable SYSTEMC_HOME should point to it
* Conan (https://conan.io/) version 1.36 or newer. If python is installed this can be installed using pip
(see above in [Quick start](#quick-start))
@@ -117,9 +91,7 @@ You need to have to following installed:
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.