Examples and tests for the SystemC-Components https://www.minres.com/#opensource
Go to file
Mateo Argudo 27ecf48ac0 Merge branch 'develop' 2021-07-23 13:49:10 +02:00
.settings update SCC to latest 2021-06-01 18:33:41 +02: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@2a11251ae6 update SCC to latest 2021-06-01 18:33:41 +02:00
tests Merge branch 'develop' 2021-07-23 13:49:10 +02:00
.clang-format Added clang format 2017-09-25 22:27:07 +02:00
.cproject update SCC to latest 2021-06-01 18:33:41 +02: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 update SCC to latest 2021-06-01 18:33:41 +02: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:37:19 +02:00
conanfile.txt create Jenkins pipeline 2021-06-02 11:13:19 +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"