/vp_tutorial

A set of tutorial demos of virtual prototyping covering SysML, SystemC,-TLM,-AMS, ISS

Primary LanguageC++MIT LicenseMIT

vp_tutorial

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.

Usage

  1. This tool is available at github vp_tutorial
  2. We assume you have a UNIX style system, e.g. OSX or Linux.
  3. GCC version 4.9, CMake version 2.8, SystemC 2.3.0, SystemC-AMS 2.0 or higher are required.
  4. Set environment variables for SysremC and SystemC-AMS
export SYSTEMC_BASE = PathToInstallationSystemC/systemc-2.3.0
export SYSTEMCAMS_BASE = PathToInstallationSystemCAMS/systemc_ams
  1. Make a directory builddir in the top-level directory:
> mkdir builddir
  1. Go to builddir and build it:
> cd builddir
> cmake ..
> make
  1. In case you want to setup debug level:
> camke .. -DDEBUG_LEVEL=1
  1. Go to folder vp_tutorial\bin to execute demos :
> cd ..
> cd bin
> ./tlm_demo1