User guide

19-44
Using the VCS / SystemC Cosimulation Interface
Set the SYSTEMC_OVERRIDE environment variable to the user
defined OSCI SystemC library installation path, as shown below:
% setenv SYSTEMC_OVERRIDE /net/user/systemc-2.0.1
Header files must exist in the $SYSTEMC_OVERRIDE/include
directory and the library file libsystemc.a in
$SYSTEMC_OVERRIDE/lib-linux/, and the
$SYSTEMC_OVERRIDE/lib-gccsparcos5/ directories.
Note:
- VcsSystemC 2.0.1 is binary compatible with OSCI SystemC
2.0.1.
- VcsSystemC 2.1 is binary compatible with OSCI SystemC
2.1 Beta as of October 2004, but not compatible with OSCI
SystemC 2.1.v1.
- VcsSystemC 2.2 is binary compatible with OSCI SystemC
2.2 Beta as of 5th June 2006.
Compatibility with OSCI SystemC 2.0.1 and SystemC 2.1
The built-in SystemC simulator is binary compatible with the OSCI
SystemC 2.0.1 simulator. That means that you can link the object files
(*.{o,a,so}) compiled with the OSCI SystemC 2.0.1 simulator to a
simv executable.
The -sysc=<version> option accepts 2.0.1 as its valid argument.
Any value other than this is considered invalid and in that case, VCS
displays the following error message:
syscan timer.cpp:timer -sysc=2.2
Error: SystemC version 2.2 is not supported.