User guide
19-18
Using the VCS / SystemC Cosimulation Interface
The syntax for the vlogan command line is as follows:
vlogan -sc_model modulename file.v
[-cpp path_to_the_compiler]
[-sc_portmap port_mapping_file]
[-Mdir=directory_path] [-V]
Here:
-sc_model modulename file.v
Specifies the module name and its Verilog source file.
-cpp path_to_the_compiler
Specifies the location of the C compiler. If you omit -cpp path,
your environment will find 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++
-sc_portmap port_mapping_file
Specifies a port mapping file. See “Using a Port Mapping File” on
page 19-26.