Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase

Model Technology Inc.


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 ModelSim); a MAKE program is included with Microsoft 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

[-fullsrcpath] [-help] [<library_name>] [><makefile>]

Arguments

-fullsrcpath

Produces complete source file paths within generated makefiles. Optional. By default source file paths are relative to the directory in which compiles originally occurred. This argument makes it possible to copy and evaluate generated makefiles within directories that are different from where compiles originally occurred.

-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 

Model Technology Inc.
Model Technology Incorporated
Voice: (503) 641-1340
Fax: (503)526-5410
www.model.com
sales@model.com
Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase