This repository consists of a set of tutorial examples for the lecture virtual prototyping that covers SysML, SystemC (incl. TLM and AMS extensions), instructions set simulator (ISS). Details can be found in the subfolders.
- This tool is available at github vp_tutorial
- We assume you have a UNIX style system, e.g. OSX or Linux.
- GCC version 4.9, CMake version 2.8, SystemC 2.3.0, SystemC-AMS 2.0 or higher are required.
- Set environment variables for SysremC and SystemC-AMS
export SYSTEMC_BASE = PathToInstallationSystemC/systemc-2.3.0
export SYSTEMCAMS_BASE = PathToInstallationSystemCAMS/systemc_ams
- Make a directory
builddir
in the top-level directory:
> mkdir builddir
- Go to
builddir
and build it:
> cd builddir
> cmake ..
> make
- In case you want to setup debug level:
> camke .. -DDEBUG_LEVEL=1
- Go to folder
vp_tutorial\bin
to execute demos :
> cd ..
> cd bin
> ./tlm_demo1