User guide

19-43
Using the VCS / SystemC Cosimulation Interface
Using a Customized SystemC Installation
You can install the OSCI SystemC simulator and instruct VCS to use
it for Verilog/SystemC cosimulation. To do so you need to:
Obtain OSCI SystemC version from www.systemc.org
Set the SYSTEMC environment variable to the OSCI SystemC
installation path, as shown below:
% setenv SYSTEMC /net/user/download/systemc-2.0.1
Replace following SystemC files
$SYSTEMC/src/systemc/kernel/sc_simcontext.cpp
$SYSTEMC/src/systemc/kernel/sc_simcontext.h
with following VCS files:
$VCS_HOME/etc/systemc-2.0.1/sc_simcontext.cpp and
$VCS_HOME/etc/systemc-2.0.1/sc_simcontext.h
Follow the installation instructions provided by OSCI (see
$SYSTEMC/INSTALL file) and build a SystemC library. Use
../configure i686-pc-linux-gnu call for 32-bit linux
installation, and ../configure call for 32-bit solaris installation.