User guide
19-15
Using the VCS / SystemC Cosimulation Interface
vcs -cc /usr/bin/gcc -cpp /usr/bin/g++ -sysc top.v dev.v
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.
SystemC Designs Containing Verilog Modules
To cosimulate a SystemC design that contains Verilog modules, you
import one or more Verilog instances into the SystemC design. Using
the VCS / SystemC Cosimulation Interface, you generate a wrapper
and include it in the SystemC design for each Verilog instance. The
ports of the created SystemC wrapper are connected to signals that
are attached to the ports of the corresponding Verilog modules.
Figure 19-2 illustrates the VCS direct kernel interface (DKI)
communication.