
18 Start Here for ModelSim EE/SE
Regenerating your design libraries
Regenerating methods
Explicit refresh
You can easily regenerate your design libraries with -refresh. You must
use the vcom compiler with the -refresh option to update the VHDL design
units in a library, and vlog with the -refresh option to update Verilog
design units. By default, the work library is updated; use -work <library>
to update a different library. For example, if you have a library named
mylib that contains both VHDL and Verilog design units you would use
both of these commands:
vcom -work mylib -refresh
vlog -work mylib -refresh
Rebuild libraries without source code
An important feature of -refresh is that it rebuilds the library image without
using source code. This means that models delivered as compiled libraries
without source code can be rebuilt for a specific release of ModelSim (4.6
and later only). In general, this works for moving forwards or backwards on
a release. Moving backwards on a release may not work if the models used
compiler switches or directives (Verilog only) that do not exist in the older
release.
Note: As in the example above, you will need to use vcom for VHDL
and vlog for Verilog design units. Also, you don’t need to regenerate the
std, ieee, vital22b, and verilog libraries. Also, you cannot use the
-refresh option to update libraries that were built before the 4.6 release.
AutoRefreshing
ModelSim 5.3 library files can be used by either 5.3 simulator type (PE or
EE) with the help of AutoRefresh. AutoRefresh works during simulation
loading to build the library files needed by the current simulator type.
Comentários a estes Manuais