DBT-RISE-TGC/contrib
Eyck Jentzsch d70489cbb8 update import script to initialize broker 2023-05-02 07:58:48 +02:00
..
.gitignore update import script to initialize broker 2023-05-02 07:58:48 +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.elf improved testbench import; added prebuild FW for testing 2023-04-24 08:44:12 -07:00
tgc_import.cc add install target and PA compatibility 2021-08-16 17:02:31 +02:00
tgc_import.tcl update import script to initialize broker 2023-05-02 07:58:48 +02:00
tgc_import_tb.tcl update import script to initialize broker 2023-05-02 07:58:48 +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