Technical data

log
ModelSim EE/PLUS Reference Manual Simulator Command Reference
-
325
log
The
log
command creates a log file 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
(p260)
and
add
wave
(p271)
commands are automatically recorded in the log file.
If no port mode is specified, the log file contains data for all items in the selected
region whose names match the item name specification.
The log file 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 log file is to include data for ports of mode IN whose names match the
specification. Optional.
-out
Specifies that the log file is to include data for ports of mode OUT whose names match the
specification. Optional.
-inout
Specifies that the log file 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.