Technical data

vcom
CR-174 ModelSim Commands ModelSim EE/SE Command Reference
package. All enumeration data types in VHDL get an implicit definition for the =
operator. So while there is no explicit = operator, there is an implicit one. This implicit
declaration can be hidden by an explicit declaration of = in the same package (LRM Section
10.3). However, if another version of the = operator is declared in a different package than
that containing the enumeration declaration, and both operators become visible through use
clauses, neither can be used without explicit naming, i.e.,
ARITHMETIC.=(left, right)
To eliminate that inconvenience, the VCOM command has the -explicit option
that allows the explicit = operator to hide the implicit one. Allowing the explicit
declaration to hide the implicit declaration is what most VHDL users expect.
vcom -work mylib -refresh
The -work option specifies mylib as the library to regenerate. -refresh rebuilds the library
image without using source code, allowing models delivered as compiled libraries without
source code to be rebuilt for a specific release of ModelSim (4.6 and later only).
If your library contains Verilog design units be sure to regenerate the library with
vlog
(CR-199) and -refresh as well.
See "Regenerating your design libraries"
(2-41) for more information.