User guide
C-8
Compile-Time Options
vcs design.v -Mlib=/design/dir1 -Mlib=/design/dir2
Or you can specify more than one directory with this option, using
a colon (:) as a delimiter between them, for example:
vcs design.v -Mlib=/design/dir1:/design/dir2
-Mloadlist=value
Directly invokes the linker to link programs if value is Yes.
-Mmakefile=filename
Names the generated makefile (default is makefile).
-Mmakeprogram=program
Specifies the make program that analyzes dependencies,
compiles what needs compiling, links, builds, and performs the
necessary steps to produce the executable file that you run to
simulate your design with VCS.
Commonly used make programs include the make program that
comes with your operating system and gmake from the GNU
foundation. The make program from your operating system is the
default make program.
If you are including options for the make program then include the
entire argument in quotation marks. Also you can shorten this
option to -Mmakep.
The following example shows how to include the -j option to the
gmake program to specify parallel compilation:
-Mmakep="gmake -j 4"
In this example the 4 argument to the -j option for gmake
specifies using four CPUs for parallel compilation. You can also
use the VCS -jnumber_of_CPUs compile-time option to do this.
-Mrelative_path
Use this option if your linker has a limitation on the length of the
linker line in the make file. If you specify a relative path with the