34 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
b6e22e863a updates dbt-rise-tgc submodule 2024-09-23 10:06:10 +02:00
aad4a27516 updates dbt-rise submodules 2024-09-23 09:30:33 +02:00
e6b34cfad9 updates submodule, Jenkins displays available isa after building 2024-08-21 12:09:41 +02:00
3fb45df48c updates submodule 2024-08-21 11:05:01 +02:00
3489fd1516 updates submodule 2024-08-17 23:22:14 +02:00
8d199ba7ca changes c++ back to 14 2024-08-17 23:20:29 +02:00
30dd1044b0 updates submodule 2024-08-17 11:20:03 +02:00
d27cbcc05b adds TGC5F to testing 2024-08-17 09:22:33 +02:00
020a4d793f updates submodules 2024-08-17 09:22:03 +02:00
ed08913f26 updates submodules 2024-08-04 18:42:54 +02:00
17773cf9b1 updates tgc 2024-08-02 11:59:10 +02:00
ae71682920 updates TGC impl 2024-08-02 10:33:29 +02:00
5cfbbbc9ca updates dbt-rise-tgc to fix fcsr presence 2024-08-02 08:59:48 +02:00
7d71ebca30 update submodules 2024-08-01 11:02:45 +02:00
7 changed files with 52 additions and 10 deletions

1
.gitignore vendored
View File

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

View File

@ -16,7 +16,7 @@ if(CMAKE_PROJECT_NAME STREQUAL "TGC-ISS")
option(WITH_LLVM "Build LLVM backend" OFF)
option(WITH_ASMJIT "Build ASMJIT backend" OFF)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
@ -85,7 +85,7 @@ if(CMAKE_PROJECT_NAME STREQUAL "TGC-ISS")
spdlog/1.9.2
boost/1.75.0
gsl-lite/0.37.0
elfio/3.8
elfio/3.11
lz4/1.9.3
yaml-cpp/0.7.0
jsoncpp/1.9.5
@ -213,7 +213,7 @@ if(CMAKE_PROJECT_NAME STREQUAL "TGC-ISS")
FetchContent_Declare(
riscvfw
GIT_REPOSITORY https://git.minres.com/Firmware/Firmwares.git
GIT_TAG main
GIT_TAG develop
GIT_SHALLOW OFF
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"
}
]
}

10
Jenkinsfile vendored
View File

@ -36,20 +36,22 @@ pipeline {
stage("Generate cores and build TGC-ISS"){
steps {
sh '''
for core in TGC5A TGC5B TGC5D TGC5E; do
for core in TGC5A TGC5B TGC5D TGC5E TGC5F RV32GC; 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
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
TGC-GEN/scripts/generate_iss.sh -o dbt-rise-tgc/ -c $core -b ${backend} TGC-GEN/CoreDSL/${core}.core_desc
done
done
'''
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 --build build -j'
sh 'build/dbt-rise-tgc/tgc-sim --isa ?'
}
}
}
@ -67,7 +69,7 @@ pipeline {
axes {
axis {
name 'CORE'
values 'TGC5A', 'TGC5B','TGC5C', 'TGC5D', 'TGC5E'
values 'TGC5A', 'TGC5B', 'TGC5C', 'TGC5D', 'TGC5E', 'TGC5F', 'RV32GC'
}
axis {
name 'BACKEND'
@ -89,7 +91,7 @@ pipeline {
axes {
axis {
name 'CORE'
values 'TGC6B', 'TGC6C', 'TGC6D', 'TGC6E'
values 'TGC6B', 'TGC6C', 'TGC6D', 'TGC6E', 'RV64GC'
}
axis {
name 'BACKEND'

2
scc

Submodule scc updated: 137d3a823b...7960982947