DBT-RISE-TGC/contrib/pa
Eyck Jentzsch 82c26acfc8 does some cleanup of the directory structure 2023-10-21 17:26:09 +02:00
..
.gitignore does some cleanup of the directory structure 2023-10-21 17:26:09 +02:00
README.md does some cleanup of the directory structure 2023-10-21 17:26:09 +02:00
build.tcl does some cleanup of the directory structure 2023-10-21 17:26:09 +02:00
hello.dis does some cleanup of the directory structure 2023-10-21 17:26:09 +02:00
hello.elf does some cleanup of the directory structure 2023-10-21 17:26:09 +02:00
minres.png does some cleanup of the directory structure 2023-10-21 17:26:09 +02:00
tgc_import.cc does some cleanup of the directory structure 2023-10-21 17:26:09 +02:00
tgc_import.tcl does some cleanup of the directory structure 2023-10-21 17:26:09 +02:00
tgc_import_tb.tcl does some cleanup of the directory structure 2023-10-21 17:26:09 +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/pa
# 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/pa
# import the TGC core itself
pct tgc_import_tb.tcl