Technical data

vsim
ModelSim EE/PLUS Reference Manual ModelSim Command Reference
-
97
Name
may be prefixed with a relative or absolute hierarchical path to select
generics in an instance-specific manner. For example,
Specifying
-G/top/u1/tpd=20ns
on the command line would only affect the
tpd
generic on the
/top/u1
instance, overriding it with a value of 20ns.
Specifying
-Gu1/tpd=20ns
affects the
tpd
generic on all instances named
u1
.
Specifying
-Gtpd=20ns
affects all generics named
tpd
.
If more than one
-G
option selects a given generic the most explicit specification
takes precedence. For example,
vsim -G/top/ram/u1/tpd_hl=10ns -Gtpd_hl=15ns top
This command sets
tpd_hl
to 10ns for the
/top/ram/u1
instance. However, all other
tpd_hl
generics on other instances will be set to 15ns.
Limitation: Composite typed generics (arrays and records) may not be set from the
command line. Generics of string type may be set, however. For example,
-Gstrgen='"This is a string"'
-noglitch
Disables VITAL glitch generation. Optional.
See "ModelSim and VITAL" (p431) for additional discussion of VITAL.
+no_glitch_msg
Suppresses VITAL glitch messages. Optional.
-std_input <filename>
Specifies the file to use for the VHDL TextIO STD_INPUT file. Optional
-std_output <filename>
Specifies the file to use for the VHDL TextIO STD_OUTPUT file. Optional
-strictvital
Exactly match the VITAL package ordering for messages and delta cycles. Optional.
Useful for eliminating delta cycle differences caused by optimizations not addressed in the
VITAL LRM. Using this will reduce simulator performance.
-vcdread <filename>
Simulates theVHDL top-level design from the specified VCD file. Optional. The VCD file
must have been created in a previous simulation using the
vcd file
command (p382) with
the
-nomap
and
-direction
options.