Technical data
log
ModelSim EE/SE Command Reference ModelSim Commands CR-93
log
The log command creates a logfile containing simulation data for all HDL items
whose names match the provided specifications. Items (VHDL variables, and
Verilog nets and registers) that are displayed using the add list
(CR-22) and add
wave
(CR-33) commands are automatically recorded in the logfile.
If no port mode is specified, the logfile contains data for all items in the selected
region whose names match the item name specification.
The logfile is the source of data for the List and Wave output windows. An item
that has been logged and is subsequently added to the List or Wave window will
have its complete history back to the start of logging available for listing and
waving.
Syntax
log
[-recursive] [-in] [-out] [-inout] [-ports]
[-internal] [-howmany] <item_name>
Arguments
-recursive
Specifies that the scope of the search is to descend recursively into subregions.
Optional; if omitted, the search is limited to the selected region.
-in
Specifies that the logfile is to include data for ports of mode IN whose names
match the specification. Optional.
-out
Specifies that the logfile is to include data for ports of mode OUT whose names
match the specification. Optional.
-inout
Specifies that the logfile is to include data for ports of mode INOUT whose names
match the specification. Optional.
-ports
Specifies that the scope of the search is to include all port. Optional.
-internal
Specifies that the logfile is to include data for internal items whose names match
the specification. Optional.