-
SystemC Download: SystemC
-
SystemC-AMS Download: SystemC-AMS
- choose a directory to extract the archives to
cdinto systemc folder./configuremakemake installcdinto systemc-ams folder./configure --with-layout=unix CXXFLAGS="-DSC_INCLUDE_EXTRA_STD_HEADERS" --with-systemc=/path/to/systemc/folder(for some systems./configure --with-systemc=/path/to/systemc/folderis enough)makemake install
-
Add to
.*rcfile of the shell you are using (e.g.bashrc) in your home:export SYSTEMC=/directory/of/systemcexport SYSTEMCAMS=/directory/of/systemc-amsexport LD_LIBRARY_PATH=$SYSTEMC/lib-linux64:$SYSTEMC/lib:$SYSTEMC/lib64:$SYSTEMCAMS/lib-linux64
- Use
./createProject.sh projectNameto create a new project folder with all files from the blank project.
cdto your project base folder (withCMakeLists.txt):cmake .- if compilation in the next step fails dues to some weird error (like errors with
std::...gets) ,you can try different CXXFLAGS with./cmakeVoid.sh./cmakeNormalClang.sh./cmakeVoidClang.sh
- if compilation in the next step fails dues to some weird error (like errors with
make- executable binary is
./bin/run