Technical data
vmake
88
-
ModelSim Command Reference ModelSim EE/PLUS Reference Manual
vmake
The
vmake
utility allows you to use a UNIX or Windows MAKE program to
maintain libraries. The
vmake
utility is run on a compiled design library, and
outputs a makefile that can be used to reconstruct the library.The resulting
makefile can then be run with a version of MAKE (not supplied with Model
Sim
);
a MAKE program is included with Microsoft’s Visual C/C++, as well as many
other program development environments.
After running the
vmake
utility, MAKE will recompile only the design units (and
their dependencies) that have changed.
Vmake
only needs to be run once, then
you can simply run MAKE to rebuild your design. If you add new design units or
delete old ones, you should re-run
vmake
to generate a new makefile.
This command must be invoked from either the UNIX or the Windows/DOS
prompt.
Syntax
vmake
[-help] [<library_name>] [><makefile>]
Arguments
-help
Displays the command’s options and arguments. Optional.
<library_name>
Specifies the library name; if none is specified, then
work
is assumed. Optional.
><makefile>
Specifies the makefile name. Optional.
Examples
To produce a makefile for the work library:
vmake >makefile
You can also run
vmake
on libraries other than
work
:
vmake mylib >mylib.mak
To rebuild
mylib,
specify its makefile when you run MAKE:
make -f mylib.mak