DBT-RISE-TGC/contrib
Eyck Jentzsch 3a86f4f9de does some cleanup of generated files 2023-10-21 17:19:24 +02:00
..
instr does some cleanup of generated files 2023-10-21 17:19:24 +02:00
.gitignore adds logo to imported instance 2023-05-02 08:17:17 +02:00
README.md update import script to initialize broker 2023-05-02 07:58:48 +02:00
build.tcl update import script to initialize broker 2023-05-02 07:58:48 +02:00
hello.dis fixes core_complex wrt. tlm quantum and DMI 2023-05-02 11:13:25 +02:00
hello.elf fixes core_complex wrt. tlm quantum and DMI 2023-05-02 11:13:25 +02:00
minres.png adds logo to imported instance 2023-05-02 08:17:17 +02:00
tgc_import.cc add install target and PA compatibility 2021-08-16 17:02:31 +02:00
tgc_import.tcl adds logo to imported instance 2023-05-02 08:17:17 +02:00
tgc_import_tb.tcl changes time handling at sockets 2023-05-06 19:57:29 +02:00

README.md

Notes

  • requires conan version 1.59
  • requires decent cmake version 3.23

Setup for tcsh:

git clone --recursive -b develop https://git.minres.com/TGFS/TGC-ISS.git
cd TGC-ISS/
setenv TGFS_INSTALL_ROOT `pwd`/install
setenv COWAREHOME <your SNPS PA installation>
setenv SNPSLMD_LICENSE_FILE <your SNPS PA license file>
source $COWAREHOME/SLS/linux/setup.csh pae
setenv SNPS_ENABLE_MEM_ON_DEMAND_IN_GENERIC_MEM 1
setenv PATH $COWAREHOME/common/bin/:${PATH}
setenv CC  $COWAREHOME/SLS/linux/common/bin/gcc
setenv CXX $COWAREHOME/SLS/linux/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_tb.tcl

Setup for bash:

git clone --recursive -b develop https://git.minres.com/TGFS/TGC-ISS.git
cd TGC-ISS/
export TGFS_INSTALL_ROOT `pwd`/install
module load tools/pa/T-2022.06
export SNPS_ENABLE_MEM_ON_DEMAND_IN_GENERIC_MEM=1
export CC=$COWAREHOME/SLS/linux/common/bin/gcc
export CXX=$COWAREHOME/SLS/linux/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_tb.tcl