User guide

19-25
Using the VCS / SystemC Cosimulation Interface
Using GNU Compilers on SUN Solaris
On Solaris the default compiler is Sun Forte CC. You can specify a
different compiler with -cpp and -cc compile-time options. The
interface supports the gcc 3.3.6 compiler.
If you use the -cpp g++ option on the interface analysis command
line, you must also use it on every command line that compiles C++
source:
vlogan -cpp g++ display.v -sc_model display
syscsim -cpp g++ -sysc main.cpp a.cpp display=display1
If you use a full path to a C++ compiler, you have to supply the path
to the cc compiler on the command line that builds the simulation as
well:
vlogan -cpp /usr/bin/g++ display.v -sc_model display
syscsim -cc /usr/bin/gcc -cpp /usr/bin/g++ -sysc main.cpp
a.cpp
Using GNU Compilers on Linux
On Linux the default compiler is gcc. You can specify a different
compiler with the -cpp and -cc compile-time options. The interface
supports the gcc 3.3.6 compiler.