Examples and tests for the SystemC-Components https://www.minres.com/#opensource
Go to file
2022-12-17 19:50:42 +01:00
cmake update SCC to latest 2021-06-01 18:33:41 +02:00
contrib fixes AXI test 2022-10-02 18:20:00 +02:00
scc@a4a047537e updates scc 2022-12-17 19:50:42 +01:00
src adds AXI4 pin level test and moves all tests to automatic discovery 2022-10-03 11:08:39 +02:00
tests enables io-redirector 2022-12-11 21:54:42 +01:00
.clang-format Added clang format 2017-09-25 22:27:07 +02:00
.cproject updates scc 2022-10-25 11:22:03 +02:00
.gitignore fixes AXI test 2022-10-02 18:20:00 +02: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 updates catch2 taest 2022-10-02 21:40:19 +02:00
LICENSE Initial commit 2017-09-17 15:44:06 +02:00
Modulefile update SCC to latest 2021-06-01 18:33:41 +02:00
README.md Correction of readme.md 2021-07-05 12:37:19 +02:00

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"