Go to file
Eyck-Alexander Jentzsch 73c9934708
Some checks failed
Run architectural test suite on backends / Build ISS, Setup TGC-COMPLIANCE, Run tests on backends (push) Failing after 6m37s
Adds Jenkinsfile
2024-05-22 14:05:29 +02:00
.gitea/workflows disables tcc in action 2024-05-11 14:56:21 +02:00
dbt-rise-core@4f6c718143 updates dbt-rise-core 2024-05-15 17:09:42 +02:00
dbt-rise-tgc@b76c5bf0d6 updates submodules 2024-05-11 15:27:08 +02:00
scc@0bdd2db84d updates submodules 2024-03-19 11:28:34 +01:00
scripts adds asmjit to test script 2023-12-14 14:28:17 +01:00
.clang-format updates submodules 2023-10-29 17:11:25 +01:00
.cproject updates dbt-rise-core 2024-05-15 17:09:42 +02:00
.envrc updates environment setup 2023-10-29 18:57:09 +01:00
.gitignore updates dbt-rise-tgc and updates build system 2024-04-16 14:47:58 +02:00
.gitmodules Merge branch 'develop' 2023-05-04 20:46:03 +02:00
.project updates dbt-rise-tgc 2023-05-04 21:59:59 +02:00
build.sh updates naming 2023-09-04 12:48:55 +02:00
CMakeLists.txt updates dbt-rise-core 2024-05-15 17:09:42 +02:00
Jenkinsfile Adds Jenkinsfile 2024-05-22 14:05:29 +02:00
LICENSE adds LICENSE file 2023-05-04 20:40:14 +02:00
Modulefile moves riscv toolchain to riscv64-unknown-elf 2023-12-02 09:23:30 +01:00
README.md updates submodules and README.md 2023-05-31 11:57:19 +02:00
requirements.txt updates project configuration 2023-09-30 22:11:48 +02:00

TGC-ISS

The ISS for the cores of The Good Folk Series (TGFS) of MINRES.

This ISS is based in DBT-RISE, a library to allow rapid ISS creation.

Quick start

  • you need to have a C++14 capable compiler, make or ninja, python, and cmake installed

common setup

  • install conan.io (see also http://docs.conan.io/en/latest/installation.html):

    
    pip3 install --user conan==1.59
    
    

    Another option is to use a Python VENV to isolate the used models from the system. In case of please run:

    
    python -mvenv .venv
    source .venv/bin/activate
    pip3 install conan==1.59
    
    

    Using conan for the first time you need to create a profile:

    
    conan profile create default --detect
    
    
  • checkout source from git

    
    git clone --recursive -b develop https://git.minres.com/TGFS/TGC-ISS.git
    
    

Standalone (C++) build

  • start an out-of-source build:

    
    cd TGC-ISS
    cmake -S . -B build/Debug
    cmake --build build/Debug -j10
    
    

Synopsys Platform Architect build

Assuming environment for Platform Architect is properly set up.


  cd TGC-ISS/
  export TGFS_INSTALL_ROOT=`pwd`/install
  export SNPS_ENABLE_MEM_ON_DEMAND_IN_GENERIC_MEM=1
  source $COWAREHOME/SLS/linux/setup.sh pae
  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 -DCMAKE_INSTALL_PREFIX=${TGFS_INSTALL_ROOT}
  cmake --build build/PA --target install -j16

The Synopsys PA installation requirements may vary on your system. Now you may change to the directory dbt-rise-tgc/contrib to import the core model


cd dbt-rise-tgc/contrib
pct tgc_import.tcl