20 Commits

Author SHA1 Message Date
4a74a73bee updates CMakeLists.txt and dbt-rise-tgc submodule 2025-03-14 19:45:21 +01:00
e192c71104 updates submodules and adds cmake presets 2025-03-14 07:15:21 +01:00
140c2d67b1 updates dbt-rise-tgc 2025-02-13 13:41:38 +01:00
7d41bb9525 updates submodules 2025-02-12 20:45:47 +01:00
b2f87e8fad updates dbt-rise-core and scc 2025-02-03 20:53:59 +01:00
27b23dce8d Merge branch 'develop' of https://git.minres.com/TGFS/TGC-ISS.git into develop 2025-02-03 20:52:52 +01:00
2ff133732d forces clean build in Jenkins 2025-01-11 12:03:55 +01:00
dee78d1279 updates scc 2025-01-08 14:45:21 +01:00
dfad138010 update submodules 2024-12-28 13:11:41 +01:00
de4a6124e6 updates SCC 2024-12-23 20:15:32 +01:00
d063650904 updates scc 2024-12-23 16:49:25 +01:00
8eed85377b updates dbt-rise-tgc 2024-12-06 15:51:12 +01:00
fabceb7a93 updates submodules 2024-12-06 13:40:30 +01:00
88ad16ec94 updates submodules 2024-11-14 17:27:50 +01:00
abef96d93d lowers CXX standard and elfio version 2024-11-14 17:26:37 +01:00
478d1d4ac5 includes GC cores into Jenkins 2024-09-30 09:51:56 +02:00
5f43bb9c0f updates submodules 2024-09-30 08:48:31 +02:00
d9706c58f9 updates submodules 2024-09-27 20:10:53 +02:00
45b55d5c24 updates submodule 2024-09-24 08:42:33 +02:00
bacc9a8296 updates elfio and c++ version 2024-09-24 08:42:17 +02:00
7 changed files with 50 additions and 9 deletions

1
.gitignore vendored
View File

@@ -22,3 +22,4 @@
/.direnv /.direnv
/TGC_C_XRB/ /TGC_C_XRB/
/.envrc.eyck /.envrc.eyck
/.cache

View File

@@ -85,7 +85,7 @@ if(CMAKE_PROJECT_NAME STREQUAL "TGC-ISS")
spdlog/1.9.2 spdlog/1.9.2
boost/1.75.0 boost/1.75.0
gsl-lite/0.37.0 gsl-lite/0.37.0
elfio/3.8 elfio/3.11
lz4/1.9.3 lz4/1.9.3
yaml-cpp/0.7.0 yaml-cpp/0.7.0
jsoncpp/1.9.5 jsoncpp/1.9.5
@@ -213,7 +213,7 @@ if(CMAKE_PROJECT_NAME STREQUAL "TGC-ISS")
FetchContent_Declare( FetchContent_Declare(
riscvfw riscvfw
GIT_REPOSITORY https://git.minres.com/Firmware/Firmwares.git GIT_REPOSITORY https://git.minres.com/Firmware/Firmwares.git
GIT_TAG main GIT_TAG develop
GIT_SHALLOW OFF GIT_SHALLOW OFF
UPDATE_DISCONNECTED ON UPDATE_DISCONNECTED ON
) )

39
CMakePresets.json Normal file
View File

@@ -0,0 +1,39 @@
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "Debug",
"displayName": "Debug build",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "Release",
"displayName": "Release build",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
}
],
"buildPresets": [
{
"name": "Debug",
"description": "Debug build",
"displayName": "Debug"
}
]
}

9
Jenkinsfile vendored
View File

@@ -36,18 +36,19 @@ pipeline {
stage("Generate cores and build TGC-ISS"){ stage("Generate cores and build TGC-ISS"){
steps { steps {
sh ''' sh '''
for core in TGC5A TGC5B TGC5D TGC5E TGC5F; do for core in TGC5A TGC5B TGC5D TGC5E TGC5F RV32GC; do
for backend in interp llvm tcc asmjit; do for backend in interp llvm tcc asmjit; do
TGC-GEN/scripts/generate_iss.sh -o dbt-rise-tgc/ -c $core -b ${backend} TGC-GEN/CoreDSL/${core}.core_desc TGC-GEN/scripts/generate_iss.sh -o dbt-rise-tgc/ -c $core -b ${backend} TGC-GEN/CoreDSL/${core}.core_desc
done done
done done
for core in TGC6B TGC6C TGC6D TGC6E; do for core in TGC6B TGC6C TGC6D TGC6E RV64GC; do
for backend in interp llvm asmjit; do for backend in interp llvm asmjit; do
TGC-GEN/scripts/generate_iss.sh -o dbt-rise-tgc/ -c $core -b ${backend} TGC-GEN/CoreDSL/${core}.core_desc TGC-GEN/scripts/generate_iss.sh -o dbt-rise-tgc/ -c $core -b ${backend} TGC-GEN/CoreDSL/${core}.core_desc
done done
done done
''' '''
sh 'conan profile new default --detect --force' sh 'conan profile new default --detect --force'
sh 'rm -rf build'
sh 'cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DWITH_ASMJIT=ON -DWITH_TCC=ON -DWITH_LLVM=ON' sh 'cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DWITH_ASMJIT=ON -DWITH_TCC=ON -DWITH_LLVM=ON'
sh 'cmake --build build -j' sh 'cmake --build build -j'
sh 'build/dbt-rise-tgc/tgc-sim --isa ?' sh 'build/dbt-rise-tgc/tgc-sim --isa ?'
@@ -68,7 +69,7 @@ pipeline {
axes { axes {
axis { axis {
name 'CORE' name 'CORE'
values 'TGC5A', 'TGC5B','TGC5C', 'TGC5D', 'TGC5E' ,'TGC5F' values 'TGC5A', 'TGC5B', 'TGC5C', 'TGC5D', 'TGC5E', 'TGC5F', 'RV32GC'
} }
axis { axis {
name 'BACKEND' name 'BACKEND'
@@ -90,7 +91,7 @@ pipeline {
axes { axes {
axis { axis {
name 'CORE' name 'CORE'
values 'TGC6B', 'TGC6C', 'TGC6D', 'TGC6E' values 'TGC6B', 'TGC6C', 'TGC6D', 'TGC6E', 'RV64GC'
} }
axis { axis {
name 'BACKEND' name 'BACKEND'

2
scc

Submodule scc updated: 2c3c85ad83...7960982947