Examples and tests for the SystemC-Components https://www.minres.com/#opensource
Go to file
Mateo Rodrigo Argudo Arrieta 56be3388a3 Merge branch 'master' of https://git.minres.com/SystemC/SystemC-Components-Test 2021-11-21 18:11:19 +01:00
.settings Conan integration in CMake 2021-11-16 13:03:15 +01:00
cmake update SCC to latest 2021-06-01 18:33:41 +02:00
etc Added tests for binary database 2018-09-14 19:28:36 +02:00
examples update SCC to latest 2021-06-01 18:33:41 +02:00
scc@e266bcbeea Check if SystemC_INCLUDE_DIR is already set 2021-11-16 13:40:35 +01:00
tests added tests for further performance increasing analysis 2021-11-21 18:07:27 +01:00
.clang-format Added clang format 2017-09-25 22:27:07 +02:00
.cproject b2 and ZLIB libs from conan for CentOS7 2021-11-16 16:15:51 +01:00
.gitignore Updated source to test LevelDB and fit to latest sc-components 2018-11-04 13:43:58 +01:00
.gitmodules update SCC to latest 2021-06-01 18:33:41 +02:00
.project Updated source to test LevelDB and fit to latest sc-components 2018-11-04 13:43:58 +01:00
CMakeLists.txt b2 and ZLIB libs from conan for CentOS7 2021-11-16 16:15:51 +01:00
Jenkinsfile centos8 conan stdc++11 2021-06-02 12:13:59 +02:00
LICENSE Initial commit 2017-09-17 15:44:06 +02:00
Modulefile create Jenkins pipeline 2021-06-02 11:13:19 +02:00
README.md Correction of readme.md 2021-07-05 12:30:39 +02:00

README.md

SystemC-Components-Test

Examples and tests for the SystemC-Components

#Prerequisites:

In Console:

-Check for needed modules in ~/.bashrc
they should be available directly in the linux installation or in the Modulefile top level file in the Project. If not, install it and add it to $PATH with:

export PATH="needed-path:$PATH"

-Edit bashrc and add:

./opt/shared/modules/4.4.1/init/bash
module use /opt/shared/modules/modulefiles

at end of file. 

-Load the Modules from the top level file in the Project:

module load ./Modulefile

-Install conan with:

pip install conan

-and run this comands to run conan with the C++11 library:

conan profile new default --detect --force
conan profile update settings.compiler.libcxx=libstdc++11 default

-Add conan to $PATH

#Build: -Create folder "build" in SystemC-Components-Test project folder. -Build the project with:

cmake ..
 
-compile

make -j4   #4 means number of cores where it is compiled.

#Run: -from build folder run:

./bin/"binary-name"	#binary name: zb. "sim_performance"