Technical data
Compiling and Simulating with accelerated VITAL packages
434
-
ModelSim and VITAL ModelSim EE/PLUS Reference Manual
Compiling and Simulating with accelerated VITAL packages
VCOM automatically recognizes that a VITAL function is being referenced from
the
ieee
library and generates code to call the optimized built-in routines.
Optimization occurs on two levels:
•
VITAL Level-0 optimization
This is a function-by-function optimization. It applies to all level-0
architectures, and any level-1 architectures that failed level-1 optimization.
•
VITAL Level-1 optimization
Performs global optimization on a VITAL 3.0 level-1 architecture that passes
the VITAL compliance checker. This is the default behavior.
Compiler options for VITAL optimization
Several
vcom
(p71) options control and provide feedback on VITAL
optimization:
-O0 | -O4
Lower the optimization to a minimum with
-O0
(capital oh zero). Optional. Use this to
work around bugs, increase your debugging visibility on a specific cell, or when you want
to place breakpoints on source lines that have been optimized out.
Enable optimizations with
-O4
(default).
-debugVA
Prints a confirmation if a VITAL cell was optimized, or an explanation of why it was not,
during VITAL level-1 acceleration.
Model
Sim
VITAL built-ins will be updated in step with new releases of the
VITAL packages.