updates naming
This commit is contained in:
parent
4c508e218a
commit
5883ef1e8d
|
@ -8,7 +8,7 @@ if(CMAKE_PROJECT_NAME STREQUAL "TGFS-ISS")
|
|||
###########################################################################
|
||||
# stand alone build settings
|
||||
###########################################################################
|
||||
set(CORE_NAME TGC_C CACHE STRING "The core to build the ISS for" )
|
||||
set(CORE_NAME TGC5C CACHE STRING "The core to build the ISS for" )
|
||||
option(FW_BUILD "Enable the automatic download and build of some firmware to run on the ISS" OFF)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
|
@ -150,6 +150,7 @@ if(CMAKE_PROJECT_NAME STREQUAL "TGFS-ISS")
|
|||
riscvfw
|
||||
GIT_REPOSITORY https://git.minres.com/VP/Firmwares.git
|
||||
GIT_TAG main
|
||||
UPDATE_DISCONNECTED FALSE
|
||||
)
|
||||
FetchContent_GetProperties(riscvfw)
|
||||
if(NOT riscvfw_POPULATED)
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
export TGFS_INSTALL_ROOT=`pwd`/install
|
||||
module load tools/pa/T-2022.06
|
||||
module load tools/cmake
|
||||
export SNPS_ENABLE_MEM_ON_DEMAND_IN_GENERIC_MEM=1
|
||||
export CC=$COWAREHOME/common/bin/gcc
|
||||
export CXX=$COWAREHOME/common/bin/g++
|
||||
cmake -S . -B build/PA -DCMAKE_BUILD_TYPE=Debug -DUSE_CWR_SYSTEMC=ON -DBUILD_SHARED_LIBS=ON \
|
||||
-DCODEGEN=OFF -DCMAKE_INSTALL_PREFIX=${TGFS_INSTALL_ROOT}
|
||||
cmake --build build/PA --target install -j16
|
||||
#cd dbt-rise-tgc/contrib
|
||||
# import the TGC core itself
|
||||
#pct tgc_import.tcl
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit d5763d2f36b3845b6d613997354fa62e2f6372f3
|
||||
Subproject commit 8ee3ac90f72176d0bbdfe10e43ab251f629c7d37
|
Loading…
Reference in New Issue