Go to file
Eyck Jentzsch 460863d7a1 Merge pull request 'adds toplevel README' (!2) from develop into master
Reviewed-on: #2
2023-05-04 21:07:48 +02:00
dbt-rise-core@fa6166ae43 updates dbt-rise-core 2023-05-01 09:49:48 +02:00
dbt-rise-tgc@899939d6c6 Merge branch 'develop' 2023-05-04 20:46:03 +02:00
scc@dfb06a9080 updates submodules and Modulefile 2023-05-02 11:14:19 +02:00
.cproject updates build settings 2023-05-04 13:25:24 +02:00
.gitignore updates build system 2023-04-14 19:35:14 +02:00
.gitmodules Merge branch 'develop' 2023-05-04 20:46:03 +02:00
.project update subrepos and project name 2021-07-09 09:10:20 +02:00
CMakeLists.txt removes CoreDSL generator submodule 2023-05-04 13:07:06 +02:00
LICENSE adds LICENSE file 2023-05-04 20:40:14 +02:00
Modulefile updates submodules and Modulefile 2023-05-02 11:14:19 +02:00
README.md adds toplevel README 2023-05-04 21:06:49 +02:00

README.md

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
    
    

Accellera SystemC 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
  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

Now you may change to dbt-rise-tgc/contrib to import the core model