Compare commits
2 Commits
1c486cf9ec
...
3f97fcc28c
Author | SHA1 | Date | |
---|---|---|---|
3f97fcc28c | |||
972eb6b001 |
@ -10,7 +10,6 @@
|
|||||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||||
</extensions>
|
</extensions>
|
||||||
</storageModule>
|
</storageModule>
|
||||||
|
54
README.md
54
README.md
@ -1,50 +1,18 @@
|
|||||||
# SystemC-Components-Test
|
# SystemC-Components-Test
|
||||||
Examples and tests for the SystemC-Components
|
Examples and tests for the SystemC-Components
|
||||||
|
|
||||||
#Prerequisites:
|
## Prerequisites:
|
||||||
|
|
||||||
In Console:
|
In Console:
|
||||||
|
|
||||||
-Check for needed modules in ~/.bashrc
|
git clone --recursive -b develop https://git.minres.com/SystemC/SystemC-Components-Test.git
|
||||||
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:
|
cd SystemC-Components-Test/
|
||||||
|
module load ./Modulefile
|
||||||
export PATH="needed-path:$PATH"
|
python3 -mvenv .venv
|
||||||
|
. .venv/bin/activate
|
||||||
-Edit bashrc and add:
|
pip3 install conan==1.59.0
|
||||||
|
cmake -S . -B build
|
||||||
./opt/shared/modules/4.4.1/init/bash
|
cmake --build build -j30
|
||||||
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"
|
|
||||||
|
|
2
scc
2
scc
@ -1 +1 @@
|
|||||||
Subproject commit e510457db91b95cc085cbd30cfadde4b06aa5c9d
|
Subproject commit 3d5f733ed40ffdbd8f9f788a5a5075fe0797498c
|
Loading…
Reference in New Issue
Block a user