
Regenerating your design libraries 19
AutoRefresh builds only the files needed by the loading simulation, and
then only refreshes files for design units that have changed, leaving the rest
of the library files untouched.
The binary details
AutoRefresh regenerates the binaries for PE (.psm) and EE (.asm) that are
stored in the ModelSim libraries. For example, if a module is changed and
recompiled on PE, the next time an EE simulator tries to use that library,
ModelSim automatically regenerates the necessary .asm files.
One library can contain the code for both formats. For example, for each
design unit in a "work" library, there can be an EE and PE version co-
existing. In fact if you run a PE-compiled design on EE (5.2e and later), it
will auto-refresh itself when you invoke vsim. The library format that EE
needs is generated "on the fly" from the PE format. After that point, both
formats exist in the library and no more format conversion will occur.
Why two different formats? The EE compiler has several performance
optimizations that aren’t in the PE compiler. Consequently, the generated
code for EE has to be different.
Kommentare zu diesen Handbüchern