User guide
19-9
Using the VCS / SystemC Cosimulation Interface
-cpp path_to_the_compiler
Specifies the location of the C compiler. If you omit -cpp
path_to_the_compiler, the environment finds the
following compilers as defaults:
-Linux : g++
-SunOS : CC (native Sun compiler)
Note:
-See the VCS Release Notes for more details on supported
compiler versions.
-You can override the default compilers in your environment
by supplying a path to the g++ compiler. For example:
-cpp /usr/bin/g++
-port port_mapping_file
Specifies a port mapping file. See “Using a Port Mapping File”
on page 19-26.
-Mdir=directory_path
Works the same way that the -Mdir VCS compile-time option.
If you are using the -Mdir option with VCS, you should use
the -Mdir option with syscan to redirect the syscan output
to the same location that VCS uses.
-help|-h
Displays the command line syntax, options, and example
command lines.
-v
Displays the version number.